java.lang.Object
de.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.pf.registry.Item
- All Implemented Interfaces:
Manageable,PersistenceCapable,Shareable,RegistryContext,UserFields,XObject,Described,Map,Serializable
- Direct Known Subclasses:
Application,Argument,AttributeItem,AutoCompletorFactory,CheckBoxItem,ContentDescriptionType,CoolbarItemAdder,Directory,DTDSourceFile,EmptyViewAdapterFactory,Exclude,Executable,Expression,Extension,FileTypeItem,FilterItem,FloatingWindow,Group,ItemDescriptor,LAF,Layout,Library,Link,MainWindow,MimeTypeItem,MTGSourceFile,NavigatorFactory,ObjectItem,OptionFileBase,OptionGroup,PanelFactory,PluginDescriptor,Prerequisite,ProjectDirectory,PropertyEditor,RegistryViewEventFactory,ResourceDirectory,ResourceLibrary,Root,Separator,SourceDirectory,SourceFile,Split,Tab,ToolFactory,UIDataHandler,UIPropertyDependency,UITransferHandlerFactory,VariableDescriptionContent,ViewComponentFactory
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Node.NTypeprotected Stringstatic final Node.NType.FieldFields inherited from class de.grogra.graph.impl.Node
ADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MAX_RESOLUTION, MIME_TYPE, MIN_RESOLUTION, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELD, RESOLUTION_BIT, RESOLUTION_MASK, resolution$FIELD, USED_BITSFields inherited from interface de.grogra.util.Described
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLEFields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidactivate()protected voidfinal Itemfinal Itemprotected static voidaddPluginPrerequisite(Collection list, Class cls) voidvoidaddRequiredFiles(Collection list) final ItemaddUserItem(Item item) final ItemaddUserItemWithUniqueName(Item item, String name) final ItemaddWithUniqueName(Item item, String name, boolean human) final voidbeginXA()classForName(String name, boolean initialize) final voidcommitXA(boolean activateItems) protected ItemcreateItem(PersistenceBindings pb, String name) final voidprotected voidvoiddelete()final ObjectListderiveItems(ItemVisitor callback, Object info) protected voiddupUnmanagedFields(Node original) booleanequals(ManageableType.Field field, Object o1, Object o2) Item[]findAll(ItemCriterion c, Object info, boolean resolve) static Item[]findAll(Item root, ItemCriterion c, Object info, boolean resolve) static Item[]findAll(RegistryContext ctx, String root, ItemCriterion c, Object info, boolean resolve) findFirst(ItemCriterion c, Object info, boolean resolve) static ItemfindFirst(Item root, ItemCriterion c, Object info, boolean resolve) static ItemfindFirst(RegistryContext ctx, String root, ItemCriterion c, Object info, boolean resolve) findMax(ItemComparator c, Object info, boolean resolve) static ItemfindMax(Item root, ItemComparator c, Object info, boolean resolve) static ItemfindMax(RegistryContext ctx, String root, ItemComparator c, Object info, boolean resolve) voidforAll(ItemCriterion c, Object info, ItemVisitor cb, Object cbInfo, boolean resolve) static voidforAll(Item root, ItemCriterion c, Object info, ItemVisitor cb, Object cbInfo, boolean resolve) static voidforAll(RegistryContext ctx, String root, ItemCriterion c, Object info, ItemVisitor cb, Object cbInfo, boolean resolve) Returns the value associated withkey.final StringgetAccessor(Attribute attribute) getAccessor(String name) protected voidprotected ObjectgetDefaultDescription(String type) getDefaultValue(Node.NType.Field field) protected ObjectgetDerivedDescription(String type) final ObjectgetDescription(String type) Returns the description associated with the giventype.protected ObjectgetDescriptionImpl(String type) getFromResource(String key) final ItemgetItem(CharSequence key) final ObjectgetLock()protected Node.NTypeThis method returns theNode.NTypewhich describes the managed fields of the class of this node.protected Mapfinal Item[]getPath()final PluginDescriptorfinal RegistryReturns theRegistrywhich is linked with this instance.final ItemgetRoot()final TransactiongetUniqueName(String name, boolean human) final ObjectbooleaninitPluginDescriptor(PluginDescriptor plugin) final booleanbooleanbooleanisEditable(Field field) booleanfinal booleanisPluginItem(String pluginId, String name) final booleanfinal ItemmakeUserItem(boolean recursive) protected NodeThis method returns a new instance of the class of this node.protected StringComputes the class-specific part of the string returned byNode.toString()which shall be enclosed in brackets.protected booleanreadAttribute(String uri, String name, String value) final voidremove()static final voidremoveDerivedItems(Registry r, ObjectList items) static ItemresolveItem(RegistryContext ctx, String key) protected final voidset(ManageableType.Field field, int[] indices, Object value) voidsetDefaultDescription(Described descr) voidsetDescription(Described description) voidsetDescription(String type, Object value) protected voidvoidSets the name of this node.protected static final voidsetNameIfNull(Item item, String name) voidvoidsubstitute(Item prev) booleanvalidate()Methods inherited from class de.grogra.graph.impl.Node
addEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupFrom, dupnew, edgeChanged, fieldModified, findAdjacent, findRefinementType, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIgnored, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getResolution, getShort, getSource, getStamp, getSuccessor, getSymbol, getSymbolColor, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setIgnored, setLayer, setMark, setResolution, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceMethods inherited from class de.grogra.graph.impl.Edge
addEdgeBits, getBitMark, getEdgeBits, getEdgeKeys, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.persistence.PersistenceCapable
getBitMark, getObjectMark, setBitMark, setObjectMark
-
Field Details
-
systemId
-
$TYPE
-
systemId$FIELD
-
-
Constructor Details
-
Item
-
Item
-
-
Method Details
-
getNTypeImpl
Description copied from class:NodeThis method returns theNode.NTypewhich describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.- Overrides:
getNTypeImplin classNode- Returns:
- type describing the managed fields of the class of this node
-
newInstance
Description copied from class:NodeThis method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.- Overrides:
newInstancein classNode- Returns:
- new instance of class of this node
-
getSystemId
-
resolveItem
-
resolveLink
-
getLock
-
getWriteLock
-
dupUnmanagedFields
- Overrides:
dupUnmanagedFieldsin classNode
-
getDefaultValue
-
getI18NBundle
-
getFromResource
-
classForName
- Throws:
ClassNotFoundException
-
setDirectory
protected void setDirectory() -
isDirectory
public boolean isDirectory() -
makeUserItem
-
isUserItem
public final boolean isUserItem() -
setName
Description copied from class:NodeSets the name of this node. -
setNameIfNull
-
isPluginItem
-
getAbsoluteName
-
getRoot
-
setDescription
-
setDefaultDescription
-
setDescription
-
getDescription
Description copied from interface:DescribedReturns the description associated with the giventype.typehas to be one of the predefined constants of this interface, the returned value has to conform to the specification of the used constant.- Specified by:
getDescriptionin interfaceDescribed- Parameters:
type- the type of description- Returns:
- the description, or
nullif no description is available
-
getDerivedDescription
-
getDefaultDescription
-
getDescriptionImpl
-
getParentMap
-
getAccessor
- Overrides:
getAccessorin classNode
-
getAccessor
- Overrides:
getAccessorin classNode
-
getAttributes
- Overrides:
getAttributesin classNode
-
get
Description copied from interface:MapReturns the value associated withkey. If there is no value associated withkey,defaultValueis returned. -
setOption
-
initPluginDescriptor
-
getPluginDescriptor
-
getClassLoader
-
isActivated
public final boolean isActivated() -
deriveItems
-
removeDerivedItems
-
activate
public final void activate() -
deactivate
public final void deactivate() -
activateImpl
protected void activateImpl() -
deactivateImpl
protected void deactivateImpl() -
getRegistry
Description copied from interface:RegistryContextReturns theRegistrywhich is linked with this instance.- Specified by:
getRegistryin interfaceRegistryContext- Returns:
- the registry linked with this instance
-
validate
public boolean validate() -
getItem
-
isEditable
-
equals
-
getPath
-
beginXA
public final void beginXA() -
getTransaction
-
commitXA
public final void commitXA(boolean activateItems) -
addUserItem
-
addUserItemWithUniqueName
-
add
-
addWithUniqueName
-
add
-
substitute
-
remove
public final void remove() -
set
-
findFirst
-
findAll
-
forAll
-
findMax
-
findFirst
-
findFirst
public static Item findFirst(RegistryContext ctx, String root, ItemCriterion c, Object info, boolean resolve) -
findAll
-
findAll
public static Item[] findAll(RegistryContext ctx, String root, ItemCriterion c, Object info, boolean resolve) -
forAll
public static void forAll(Item root, ItemCriterion c, Object info, ItemVisitor cb, Object cbInfo, boolean resolve) -
forAll
public static void forAll(RegistryContext ctx, String root, ItemCriterion c, Object info, ItemVisitor cb, Object cbInfo, boolean resolve) -
findMax
-
findMax
public static Item findMax(RegistryContext ctx, String root, ItemComparator c, Object info, boolean resolve) -
getUniqueName
-
paramString
Description copied from class:NodeComputes the class-specific part of the string returned byNode.toString()which shall be enclosed in brackets. This should be used to show important properties of this node.- Overrides:
paramStringin classNode- Returns:
- string describing some important properties of this node
-
delete
public void delete() -
copy
-
getAttributes
- Throws:
SAXException
-
readAttribute
- Throws:
SAXException
-
createItem
protected Item createItem(PersistenceBindings pb, String name) throws InvocationTargetException, InstantiationException, IllegalAccessException, ClassNotFoundException -
addRequiredFiles
-
addPluginPrerequisites
-
addPluginPrerequisite
-
hasEditableOptions
public boolean hasEditableOptions() -
isOptionCategory
public boolean isOptionCategory()
-