java.lang.Object
de.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.pf.registry.Item
de.grogra.pf.registry.Executable
de.grogra.pf.ui.registry.CommandItem
- All Implemented Interfaces:
Manageable,PersistenceCapable,Shareable,RegistryContext,Command,UIItem,UserFields,XObject,Described,EventListener,Map,Serializable,Runnable,EventListener
- Direct Known Subclasses:
XLMacro
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NTypeNested classes/interfaces inherited from interface de.grogra.util.EventListener
EventListener.Bicast, EventListener.Multicaster -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Node.NTypestatic final Node.NType.Fieldstatic final Node.NType.Fieldstatic final Node.NType.Fieldstatic final Node.NType.Fieldstatic final Node.NType.Fieldstatic final Node.NType.Fieldstatic final intFields inherited from class de.grogra.pf.registry.Item
systemId, systemId$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$FIELDFields 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
ConstructorsConstructorDescriptionCommandItem(String key) CommandItem(String key, Command command) CommandItem(String key, Runnable listener) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is invoked on registered event listeners wheneventhas occured.Returns a name which can be used in the graphical user interface to represent this command.protected Node.NTypeThis method returns theNode.NTypewhich describes the managed fields of the class of this node.intbooleanisAvailable(Context ctx) booleanprotected NodeThis method returns a new instance of the class of this node.protected booleanreadAttribute(String uri, String name, String value) voidrun()voidrun(RegistryContext ctx, StringMap args) voidPerforms the actions of this command.Methods inherited from class de.grogra.pf.registry.Executable
runExecutables, runExecutablesMethods inherited from class de.grogra.pf.registry.Item
activate, activateImpl, add, add, addPluginPrerequisite, addPluginPrerequisites, addRequiredFiles, addUserItem, addUserItemWithUniqueName, addWithUniqueName, beginXA, classForName, commitXA, copy, createItem, deactivate, deactivateImpl, delete, deriveItems, dupUnmanagedFields, equals, findAll, findAll, findAll, findFirst, findFirst, findFirst, findMax, findMax, findMax, forAll, forAll, forAll, get, getAbsoluteName, getAccessor, getAccessor, getAttributes, getAttributes, getClassLoader, getDefaultDescription, getDefaultValue, getDerivedDescription, getDescription, getDescriptionImpl, getFromResource, getI18NBundle, getItem, getLock, getParentMap, getPath, getPluginDescriptor, getRegistry, getRoot, getSystemId, getTransaction, getUniqueName, getWriteLock, hasEditableOptions, initPluginDescriptor, isActivated, isDirectory, isEditable, isOptionCategory, isPluginItem, isUserItem, makeUserItem, paramString, remove, removeDerivedItems, resolveItem, resolveLink, set, setDefaultDescription, setDescription, setDescription, setDirectory, setName, setNameIfNull, setOption, substitute, validateMethods 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
-
USED_BITS
public static final int USED_BITS- See Also:
-
$TYPE
-
motion$FIELD
-
plugin$FIELD
-
run$FIELD
-
enabled$FIELD
-
cls$FIELD
-
immediate$FIELD
-
-
Constructor Details
-
CommandItem
-
CommandItem
-
CommandItem
-
-
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 classItem- 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 classItem- Returns:
- new instance of class of this node
-
getUINodeType
public int getUINodeType()- Specified by:
getUINodeTypein interfaceUIItem
-
getCommandName
Description copied from interface:CommandReturns a name which can be used in the graphical user interface to represent this command.- Specified by:
getCommandNamein interfaceCommand- Returns:
- this commands's name
-
run
public void run() -
run
Description copied from interface:CommandPerforms the actions of this command. This method is invoked by theJobManagerafter the command has been submitted to the job manager by one ofexecute,runAt, orrunLater-methods. The argumentsinfoandcontextare the arguments which have been provided as arguments to theJobManager-methods. -
invoke
-
run
- Specified by:
runin classExecutable
-
isAvailable
- Specified by:
isAvailablein interfaceUIItem
-
isEnabled
-
eventOccured
Description copied from interface:EventListenerThis method is invoked on registered event listeners wheneventhas occured. This general listener interface does not restrict the possible kinds of events. Concrete sources of events should specify which events they may fire.- Specified by:
eventOccuredin interfaceEventListener- Parameters:
e- an event
-
readAttribute
- Overrides:
readAttributein classItem- Throws:
SAXException
-