Skip to content
Snippets Groups Projects
Commit 6a885cc8 authored by Simon Barner's avatar Simon Barner
Browse files

- Avoid usage of deprecated version of KernelModelElementUtils.getParentElement()

parent eaa3bb73
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author eder
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: 5D43FE856C34B7875FF0565CCD63F311
* @ConQAT.Rating YELLOW Hash: BE8E3D97227DDE47F53B4B956DD07B7E
*/
public class LibraryView extends ViewPart {
......@@ -141,7 +141,7 @@ public class LibraryView extends ViewPart {
for(Class<? extends EObject> clazz : editorBase.getVisibleEObjectTypes()) {
List<Prototype> composablePrototypes =
IPrototypeService.INSTANCE.getComposablePrototypes(clazz);
if(getParentElement(containerObject, ILibraryElement.class) == null) {
if(getParentElement(containerObject, ILibraryElement.class, true) == null) {
supportedBaseClasses.addAll(composablePrototypes);
} else {
supportedBaseClasses.addAll(filterOutInstanceOf(LibraryPrototype.class,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment