]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/PropertyPage.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.diagram.profile / src / org / simantics / diagram / profile / view / PropertyPage.java
diff --git a/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/PropertyPage.java b/bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/PropertyPage.java
new file mode 100644 (file)
index 0000000..58caadc
--- /dev/null
@@ -0,0 +1,26 @@
+package org.simantics.diagram.profile.view;\r
+\r
+import java.util.Collections;\r
+import java.util.Set;\r
+\r
+import org.eclipse.ui.IWorkbenchPartSite;\r
+import org.simantics.selectionview.SelectionProcessor;\r
+import org.simantics.selectionview.StandardPropertyPage;\r
+\r
+/**\r
+ * @author Antti Villberg\r
+ */\r
+public class PropertyPage extends StandardPropertyPage {\r
+\r
+    private static final Set<String> CONTEXTS = Collections.singleton("http://www.simantics.org/Diagram-0.0/ProfilesView/SelectionView");\r
+\r
+    public PropertyPage(IWorkbenchPartSite site) {\r
+        super(site, CONTEXTS);\r
+    }\r
+\r
+    @Override\r
+    protected SelectionProcessor<?, ?> getSelectionProcessor() {\r
+        return new ProfileSelectionProcessor();\r
+    }\r
+\r
+}\r