diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryPrototypeProvider.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryPrototypeProvider.java index 9a71eeaa3a8b20bf1ded3e3b0d05129317a9d66b..6e74ac9c8a36bc3e00214c90a3503b713e810175 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryPrototypeProvider.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryPrototypeProvider.java @@ -25,7 +25,7 @@ import org.fortiss.tooling.kernel.extension.base.PrototypeProviderBase; import org.fortiss.tooling.kernel.extension.data.Prototype; import org.fortiss.tooling.kernel.extension.data.PrototypeCategory; import org.fortiss.tooling.kernel.model.ILibraryElement; -import org.fortiss.tooling.kernel.model.ILibraryElementReference; +import org.fortiss.tooling.kernel.model.ILibraryPackage; import org.fortiss.tooling.kernel.service.ILibraryService; /** @@ -34,7 +34,7 @@ import org.fortiss.tooling.kernel.service.ILibraryService; * @author ratiu * @author $Author: hoelzl $ * @version $Rev: 18709 $ - * @ConQAT.Rating YELLOW Hash: A8413CD1A37B7C56922144AB4641F72D + * @ConQAT.Rating YELLOW Hash: C80FA91F50ADA9FFBC25CE927814BF6C */ public class LibraryPrototypeProvider extends PrototypeProviderBase { @@ -63,7 +63,7 @@ public class LibraryPrototypeProvider extends PrototypeProviderBase { prototypes.add(prot); - String categoryName = ((ILibraryElementReference)prot.getPrototype()).getURI(); + String categoryName = ((ILibraryPackage)libElem.eContainer()).getName(); PrototypeCategory current = registerPrototypeCategory(libraryCategory, categoryName); current.add(prot); } diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java index 02d3dc55073eae20d975cdade1938e75c8bc7df1..cbf527055ccecf2509015988a4579d3d508f4052 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java @@ -51,7 +51,7 @@ import org.fortiss.tooling.kernel.service.base.EObjectAwareServiceBase; * @author ratiu * @author $Author: ratiu $ * @version $Rev: 5274 $ - * @ConQAT.Rating YELLOW Hash: C87F42DC737D4C418608861E2B0C7586 + * @ConQAT.Rating YELLOW Hash: EDFE0F8D76B0459B1F17338F61184B5B */ public class LibraryService extends EObjectAwareServiceBase<ILibraryElementHandler<EObject>> implements ILibraryService {