/*******************************************************************************\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
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
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