de.grogra.pf.ui.registry
public class PanelFactory extends Item implements Command, UIItem
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
hidden$FIELD |
static Node.NType.Field |
source$FIELD |
static int |
USED_BITS |
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$FIELDACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLEDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
PanelFactory(java.lang.String name,
java.lang.String source) |
| Modifier and Type | Method and Description |
|---|---|
protected Panel |
configure(Context ctx,
Panel p,
Item menu) |
Panel |
createPanel(Context ctx,
Map params) |
static Panel |
createPanel(Context ctx,
java.lang.String id,
Map params) |
java.lang.Object |
get(java.lang.Object key,
java.lang.Object defaultValue)
Returns the value associated with
key. |
static Panel |
getAndShowPanel(Context ctx,
java.lang.String id,
Map params) |
java.lang.String |
getCommandName()
Returns a name which can be used in the graphical user interface
to represent this command.
|
protected java.lang.Object |
getDefaultDescription(java.lang.String type) |
java.lang.String |
getDefaultTitle() |
java.lang.String |
getFactorySource() |
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.
|
void |
run(java.lang.Object info,
Context ctx)
Performs the actions of this command.
|
activate, activateImpl, add, add, addPluginPrerequisite, addPluginPrerequisites, addRequiredFiles, addUserItem, addUserItemWithUniqueName, addWithUniqueName, beginXA, classForName, commitXA, createItem, deactivate, deactivateImpl, deriveItems, dupUnmanagedFields, equals, findAll, findAll, findAll, findFirst, findFirst, findFirst, findMax, findMax, findMax, forAll, forAll, forAll, getAbsoluteName, getAccessor, getAccessor, getAttributes, getAttributes, getClassLoader, getDefaultValue, getDerivedDescription, getDescription, getDescriptionImpl, getFromResource, getI18NBundle, getItem, getLock, getParentMap, getPath, getPluginDescriptor, getRegistry, getRoot, getTransaction, getUniqueName, getWriteLock, hasEditableOptions, initPluginDescriptor, isActivated, isDirectory, isEditable, isOptionCategory, isPluginItem, isUserItem, makeUserItem, paramString, readAttribute, remove, removeDerivedItems, resolveItem, resolveLink, set, setDefaultDescription, setDescription, setDescription, setDirectory, setName, setNameIfNull, setOption, substitute, validateaddEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, 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, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, 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, setLayer, setMark, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceaddEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
public static final Node.NType.Field hidden$FIELD
public static final Node.NType.Field source$FIELD
public static final int USED_BITS
public java.lang.Object get(java.lang.Object key,
java.lang.Object defaultValue)
Mapkey. If there is
no value associated with key, defaultValue
is returned.public java.lang.String getCommandName()
CommandgetCommandName in interface Commandprotected java.lang.Object getDefaultDescription(java.lang.String type)
getDefaultDescription in class Itempublic java.lang.String getDefaultTitle()
public java.lang.String getFactorySource()
protected Node.NType getNTypeImpl()
NodeNode.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 Itempublic int getUINodeType()
getUINodeType in interface UIItempublic java.lang.Object invoke(Context ctx, java.lang.String method, java.lang.Object arg)
public boolean isAvailable(Context ctx)
isAvailable in interface UIItemprotected Node newInstance()
NodenewInstance in class Itempublic void run(java.lang.Object info,
Context ctx)
CommandJobManager after the command has been submitted
to the job manager by one of execute, runAt,
or runLater-methods. The arguments info
and context are the arguments which have been provided
as arguments to the JobManager-methods.