java.lang.Object
de.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.pf.registry.Item
de.grogra.mtg.MTGSourceFile
- All Implemented Interfaces:
Manageable
,PersistenceCapable
,Shareable
,RegistryContext
,UIItem
,Showable
,UserFields
,XObject
,Described
,Map
,ObjectToBoolean
,Serializable
,EventListener
,TreeModelListener
public class MTGSourceFile
extends Item
implements UIItem, ObjectToBoolean, TreeModelListener, Showable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Node.NType
static final Node.NType.Field
static final Node.NType.Field
static final Node.NType.Field
Fields inherited from class de.grogra.pf.registry.Item
systemId, systemId$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, MAX_RESOLUTION, MIME_TYPE, MIN_RESOLUTION, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELD, RESOLUTION_BIT, RESOLUTION_MASK, resolution$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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addRequiredFiles
(Collection list) protected void
boolean
Computes the value of this function atx
.static MTGSourceFile
get
(RegistryContext ctx, String systemId) protected Object
getDescriptionImpl
(String type) protected Node.NType
This method returns theNode.NType
which describes the managed fields of the class of this node.int
boolean
isAvailable
(Context ctx) boolean
boolean
boolean
protected Node
This method returns a new instance of the class of this node.static void
refresh
(Item dir, MTGSourceFile file, String category, Command afterRefresh) void
setDisabled
(boolean value) protected void
setMTGFilter
(MTGFilter filter) void
void
void
void
void
void
void
Methods inherited from class de.grogra.pf.registry.Item
activate, add, add, addPluginPrerequisite, addPluginPrerequisites, addUserItem, addUserItemWithUniqueName, addWithUniqueName, beginXA, classForName, commitXA, copy, createItem, deactivate, 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, getFromResource, getI18NBundle, getItem, getLock, getParentMap, getPath, getPluginDescriptor, getRegistry, getRoot, getSystemId, 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, 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
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 Details
-
$TYPE
-
mimeType$FIELD
-
editable$FIELD
-
disabled$FIELD
-
-
Constructor Details
-
MTGSourceFile
-
-
Method Details
-
setMTGFilter
-
toFileSource
-
getMimeType
-
getMimeTypeItem
-
activateImpl
protected void activateImpl()- Overrides:
activateImpl
in classItem
-
deactivateImpl
protected void deactivateImpl()- Overrides:
deactivateImpl
in classItem
-
getDescriptionImpl
- Overrides:
getDescriptionImpl
in classItem
-
invoke
-
show
-
show
-
showLater
-
isAvailable
- Specified by:
isAvailable
in interfaceUIItem
-
isEnabled
-
getUINodeType
public int getUINodeType()- Specified by:
getUINodeType
in interfaceUIItem
-
evaluateBoolean
Description copied from interface:ObjectToBoolean
Computes the value of this function atx
.- Specified by:
evaluateBoolean
in interfaceObjectToBoolean
- Parameters:
o
- where the function is to be evaluated- Returns:
- function value at
x
-
addRequiredFiles
- Overrides:
addRequiredFiles
in classItem
-
get
-
treeNodesInserted
- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeNodesChanged
- Specified by:
treeNodesChanged
in interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-
refresh
-
getNTypeImpl
Description copied from class:Node
This method returns theNode.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 classItem
- Returns:
- type describing the managed fields of the class of this 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 classItem
- Returns:
- new instance of class of this node
-
isEditable
public boolean isEditable() -
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean value)
-