]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/ConfigureMonitorDialog.java
Set copyright texts for java files in the latest development branches.
[simantics/3d.git] / org.simantics.proconf.processeditor / src / org / simantics / processeditor / dialogs / ConfigureMonitorDialog.java
index c778c0e8c4260d8c3a3f080494e1fbebc7864253..5122508f26f86c2bc47d4646fb0d5a5f6d732e9b 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************\r
- * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\r
+ * Copyright (c) 2007- VTT Technical Research Centre of Finland.\r
  * All rights reserved. This program and the accompanying materials\r
  * are made available under the terms of the Eclipse Public License v1.0\r
  * which accompanies this distribution, and is available at\r
@@ -126,7 +126,7 @@ public class ConfigureMonitorDialog extends Dialog {
                 for (Resource type : types) {\r
                        IEntity t = EntityFactory.create(g, type);\r
                     String key = t.getName();\r
-                    if (key.equals("")) key = "ERROR (" + type.getResourceId(g.getSession()) + ")";\r
+                    if (key.equals("")) key = "ERROR (" + type.getResourceId() + ")";\r
                     sorter.put(key, type);\r
                 }\r
                 \r
@@ -198,7 +198,7 @@ public class ConfigureMonitorDialog extends Dialog {
         for (IEntity model : models) {\r
                \r
                        String key = model.getName();\r
-               if (key.equals("")) key = "ERROR (" + model.getResource().getResourceId(resource.getGraph().getSession()) + ")";\r
+               if (key.equals("")) key = "ERROR (" + model.getResource().getResourceId() + ")";\r
                sorter.put(key, new G3DModel(model));\r
         }\r
         \r