package org.simantics.desktop.ui.internal;
+import java.util.Collections;
+import java.util.Set;
+
+import org.simantics.project.ontology.ProjectResource;
import org.simantics.selectionview.StandardPropertyPage;
import org.simantics.ui.workbench.IPropertyPage;
import org.simantics.views.swt.ModelledView;
public class StandardModelledView extends ModelledView {
+ private static final Set<String> defaultBrowseContexts = Collections.singleton(ProjectResource.URIs.ProjectBrowseContext);
+
@Override
protected IPropertyPage getPropertyPage() {
- return new StandardPropertyPage(getSite());
+ return new StandardPropertyPage(getSite(), defaultBrowseContexts);
}
}