|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.graph.impl.Edge de.grogra.graph.impl.Node de.grogra.pf.registry.Item de.grogra.pf.registry.expr.Expression de.grogra.pf.registry.expr.ObjectExpr de.grogra.pf.ui.registry.ItemFactory
public class ItemFactory
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node |
---|
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType |
Nested classes/interfaces inherited from interface de.grogra.util.Map |
---|
Map.Chain |
Field Summary | |
---|---|
static Node.NType |
$TYPE
|
Fields inherited from class de.grogra.pf.registry.expr.ObjectExpr |
---|
alias$FIELD, expr, expr$FIELD, type$FIELD |
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, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELD, USED_BITS |
Fields inherited from interface de.grogra.util.Described |
---|
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE |
Fields inherited from interface de.grogra.util.Map |
---|
DEFAULT_VALUE, EMPTY_MAP |
Constructor Summary | |
---|---|
ItemFactory()
|
Method Summary | |
---|---|
Item |
createItem(Context ctx)
|
protected Item |
createItemImpl(Context ctx)
|
protected Node.NType |
getNTypeImpl()
This method returns the Node.NType which describes the managed
fields of the class of this node. |
int |
getUINodeType()
|
java.lang.Object |
invoke(Context ctx,
java.lang.String method,
java.lang.Object arg)
|
boolean |
isAvailable(Context ctx)
|
boolean |
isEnabled(Context ctx)
|
protected Node |
newInstance()
This method returns a new instance of the class of this node. |
Methods inherited from class de.grogra.pf.registry.expr.ObjectExpr |
---|
configure, createItem, evaluate, getObjectType, getTypeAsString, isAlias, readAttribute |
Methods inherited from class de.grogra.pf.registry.expr.Expression |
---|
evaluateBoolean, getArgs, isConditionFulfilled |
Methods inherited from class de.grogra.graph.impl.Edge |
---|
addEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBits |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.grogra.persistence.PersistenceCapable |
---|
getBitMark, getObjectMark, setBitMark, setObjectMark |
Field Detail |
---|
public static final Node.NType $TYPE
Constructor Detail |
---|
public ItemFactory()
Method Detail |
---|
public final Item createItem(Context ctx)
protected Item createItemImpl(Context ctx)
protected Node.NType getNTypeImpl()
Node
Node.NType
which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.
getNTypeImpl
in class ObjectExpr
public int getUINodeType()
getUINodeType
in interface UIItem
public java.lang.Object invoke(Context ctx, java.lang.String method, java.lang.Object arg)
invoke
in interface UIItem
public boolean isAvailable(Context ctx)
isAvailable
in interface UIItem
public boolean isEnabled(Context ctx)
isEnabled
in interface UIItem
protected Node newInstance()
Node
newInstance
in class ObjectExpr
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |