\r
import java.util.Set;\r
\r
+import org.eclipse.jface.viewers.ISelection;\r
import org.eclipse.ui.IWorkbenchPartSite;\r
import org.simantics.browsing.ui.swt.StandardPropertyPage;\r
+import org.simantics.db.ReadGraph;\r
+import org.simantics.db.exception.DatabaseException;\r
+import org.simantics.modeling.ModelingUtils;\r
\r
public class SysdynPropertyPage extends StandardPropertyPage {\r
- \r
- \r
+\r
public SysdynPropertyPage(IWorkbenchPartSite site, Set<String> set) {\r
super(site, set);\r
}\r
\r
+ @Override\r
+ protected String computeTitle(ReadGraph graph, ISelection selection) throws DatabaseException {\r
+ return ModelingUtils.computeTitle(graph, selection, MAX_SELECTION_LENGTH_TO_SHOW, true);\r
+ }\r
+\r
}\r