]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 package org.simantics.diagram.profile.view;\r
2 \r
3 import java.util.Collections;\r
4 import java.util.Set;\r
5 \r
6 import org.eclipse.ui.IWorkbenchPartSite;\r
7 import org.simantics.selectionview.SelectionProcessor;\r
8 import org.simantics.selectionview.StandardPropertyPage;\r
9 \r
10 /**\r
11  * @author Antti Villberg\r
12  */\r
13 public class PropertyPage extends StandardPropertyPage {\r
14 \r
15     private static final Set<String> CONTEXTS = Collections.singleton("http://www.simantics.org/Diagram-0.0/ProfilesView/SelectionView");\r
16 \r
17     public PropertyPage(IWorkbenchPartSite site) {\r
18         super(site, CONTEXTS);\r
19     }\r
20 \r
21     @Override\r
22     protected SelectionProcessor<?, ?> getSelectionProcessor() {\r
23         return new ProfileSelectionProcessor();\r
24     }\r
25 \r
26 }\r