1 11 package org.eclipse.core.internal.registry; 12 13 20 21 public abstract class NestedRegistryModelObject extends RegistryModelObject { 22 private RegistryModelObject parent; 23 24 30 public Object getParent() { 31 return parent; 32 } 33 34 40 public void setParent(RegistryModelObject value) { 41 parent = value; 42 } 43 44 ExtensionRegistry getRegistry() { 45 return parent == null ? null : parent.getRegistry(); 46 } 47 } | Popular Tags |