All Implemented Interfaces:
Manageable
, PersistenceCapable
, Shareable
, SharedObjectProvider
, RegistryContext
, UserFields
, XObject
, Described
, KeyDescription
, Map
, Serializable
Direct Known Subclasses:
ShortCut
See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
Field Summary
Fields
Fields 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
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
protected void
boolean
Returns all options in the subtree starting with i
which are editable or transient (the latter only if
includeTransient
is true
).
Returns the key which is described by this instance.
This method returns the
Node.NType
which describes the managed
fields of the class of this node.
Load the value of an option either:
- based on the workbench.options file within a workbench (see OptionBase) if the
workbench contains that file
- based on the global preferences - registry option
Load the value of an option either:
- based on the workbench.options file within a workbench (see OptionBase) if the
workbench contains that file
- based on the global preferences - registry option
Returns the quantity of values which are associated with the key.
Returns the type of values which are associated with the key.
protected boolean
static boolean
boolean
boolean
This method returns a new instance of the class of this
node.
protected boolean
void
The value is set to either:
- the OptionBase object (in the workbench.options file of the workbench) if the
option is set locally
- to the Option (this) object value$FIELD and to the java pref if it is set globally
static void
Methods inherited from class de.grogra.pf.registry.ObjectItem
addToRegistry , createReference , getDerivedDescription , getObjectType , getProviderName , isInstance , isInstance , isInstance , readReference , setObjDescribes , setType , writeObject
Methods inherited from class de.grogra.pf.registry.Item
activate , add , add , addPluginPrerequisite , 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 , getClassLoader , getDefaultDescription , getDefaultValue , 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 , validate
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 , writeReplace
Methods inherited from class de.grogra.graph.impl.Edge
addEdgeBits , getBitMark , getEdgeBits , getEdgeKeys , getObjectMark , getSpecialEdgeDescriptor , parseEdgeKeys , remove , removeEdgeBits , setBitMark , setEdgeBits , setObjectMark , testEdgeBits
Field Details
OPTIONS_FILE
public static final String OPTIONS_FILE
See Also:
PROJECT_OPTIONS_PATH
public static final String PROJECT_OPTIONS_PATH
See Also:
Method Details
getNTypeImpl
Description copied from class: Node
This method returns the
Node.NType
which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.
Overrides:
getNTypeImpl
in class Value
Returns:
type describing the managed fields of the class of this node
newInstance
protected Node newInstance ()
Description copied from class: Node
This method returns a new instance of the class of this
node. This method has to be implemented in every concrete subclass.
Overrides:
newInstance
in class Value
Returns:
new instance of class of this node
isEditable
public boolean isEditable ()
isTransient
public boolean isTransient ()
setPreference
public static void setPreference (Item item,
String value)
belongsToGroup
public boolean belongsToGroup (Item item)
getKey
Returns the key which is described by this instance.
Specified by:
getKey
in interface KeyDescription
Returns:
the key
getType
Returns the type of values which are associated with the key.
Specified by:
getType
in interface KeyDescription
Returns:
the type of values
getQuantity
Returns the quantity of values which are associated with the key.
Specified by:
getQuantity
in interface KeyDescription
Returns:
the quantity of values
setOptionValue
public void setOptionValue (Object value)
The value is set to either:
- the OptionBase object (in the workbench.options file of the workbench) if the
option is set locally
- to the Option (this) object value$FIELD and to the java pref if it is set globally
Parameters:
value
-
activateImpl
protected void activateImpl ()
Overrides:
activateImpl
in class Item
getObject
Load the value of an option either:
- based on the workbench.options file within a workbench (see OptionBase) if the
workbench contains that file
- based on the global preferences - registry option
Overrides:
getObject
in class LazyObjectItem
getObject
Load the value of an option either:
- based on the workbench.options file within a workbench (see OptionBase) if the
workbench contains that file
- based on the global preferences - registry option
hasEditableOptions
public static boolean hasEditableOptions (Item item)
getEditableOptions
public static Option [] getEditableOptions (Item i,
boolean includeTransient)
Returns all options in the subtree starting with i
which are editable or transient (the latter only if
includeTransient
is true
). Links
having the name "option"
are resolved.
Parameters:
i
- the item to start with
includeTransient
- include transient options?
Returns:
an array of all editable options in the subtree starting with i