|
||||||||
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 de.grogra.pf.ui.registry.ObjectItemFactory de.grogra.pf.ui.registry.FileFactory
public class FileFactory
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
|
static Node.NType.Field |
directory$FIELD
|
static Node.NType.Field |
mimeType$FIELD
|
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 | |
---|---|
FileFactory()
|
Method Summary | |
---|---|
java.lang.Object |
addFromURL(Registry reg,
java.net.URL url,
ModifiableMap params,
Workbench ui)
Reads an object from url . |
protected Item |
createItemImpl(Context ctx)
|
java.lang.Object |
evaluate(RegistryContext ctx,
StringMap args)
|
protected Node.NType |
getNTypeImpl()
This method returns the Node.NType which describes the managed
fields of the class of this node. |
protected Node |
newInstance()
This method returns a new instance of the class of this node. |
Methods inherited from class de.grogra.pf.ui.registry.ItemFactory |
---|
createItem, getUINodeType, invoke, isAvailable, isEnabled |
Methods inherited from class de.grogra.pf.registry.expr.ObjectExpr |
---|
configure, createItem, 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
public static final Node.NType.Field directory$FIELD
public static final Node.NType.Field mimeType$FIELD
Constructor Detail |
---|
public FileFactory()
Method Detail |
---|
public java.lang.Object addFromURL(Registry reg, java.net.URL url, ModifiableMap params, Workbench ui)
url
. If necessary,
an item reference to the object is created in the registry.
reg
- registry in which the reference shall be createdurl
- URL to readparams
- parameters, may be null
ui
- workbench to use for UI
null
in case of problemsprotected Item createItemImpl(Context ctx)
createItemImpl
in class ObjectItemFactory
public java.lang.Object evaluate(RegistryContext ctx, StringMap args)
evaluate
in class ObjectItemFactory
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 ObjectItemFactory
protected Node newInstance()
Node
newInstance
in class ObjectItemFactory
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |