java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.imp.registry.EmbeddedSharedObject
de.grogra.graph.wrapped.SharedWrappedGraph
- All Implemented Interfaces:
GraphContext,GraphManagerContext,WrappedGraph,WrappedGraphObj,DisposableField,Manageable,Shareable,RegistryContext,Selectable,Graph
- Direct Known Subclasses:
GraphObject,RewritableWrappedGraph
@HasModel(Compiletime.class)
public abstract class SharedWrappedGraph
extends EmbeddedSharedObject
implements WrappedGraphObj
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.imp.registry.EmbeddedSharedObject
EmbeddedSharedObject.GetExtFromMimeType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GraphManagerprotected static final Commandprotected Graphprotected Registrystatic final String -
Constructor Summary
ConstructorsConstructorDescriptionSharedWrappedGraph(Context ctx, boolean uninitialize) SharedWrappedGraph(Context ctx, Node r) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidClear the DataGraph, deactivate the EmbeddedFileObject and remove itget the DataGraph and if necessary (the first time) initialize it.getName()Try to get the name if the WrappedGraph (only for referenced obejcts), if no name is found return unnamed.get the QueryGraph and if necessary (the first time) initialize it.Returns theRegistrywhich is linked with this instance.resolve()Methods inherited from class de.grogra.imp.registry.EmbeddedSharedObject
getExtension, getManageableType, getMimeType, getObjectType, getProvider, getProvider, getResourceDirectoryName, hasContent, initProvider, manageableReadResolve, manageableWriteReplaceMethods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getStamp, removeReferenceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.grogra.graph.wrapped.WrappedGraph
canEnumerateEdges, canEnumerateNodes, createMatcher, createProducer, createQueryState, enumerateEdges, enumerateNodes, getModel, getRoot, reload, setDerivationModeMethods inherited from interface de.grogra.graph.wrapped.WrappedGraphObj
apply, clear, cloneAllNodes, cloneGraph, derive, getCommandDir, getGraph, getRootNode, setRootNode, toInstance, toSelection, view2d, view3d
-
Field Details
-
W_GRAPH
- See Also:
-
gm
-
registry
-
querygraph
-
INIT_GS
-
-
Constructor Details
-
SharedWrappedGraph
public SharedWrappedGraph() -
SharedWrappedGraph
-
SharedWrappedGraph
-
SharedWrappedGraph
-
-
Method Details
-
resolve
-
getDataGraph
get the DataGraph and if necessary (the first time) initialize it.- Specified by:
getDataGraphin interfaceWrappedGraph
-
getQueryGraph
get the QueryGraph and if necessary (the first time) initialize it.- Specified by:
getQueryGraphin interfaceWrappedGraph
-
getRegistry
Description copied from interface:RegistryContextReturns theRegistrywhich is linked with this instance.- Specified by:
getRegistryin interfaceRegistryContext- Returns:
- the registry linked with this instance
-
clearQueryGraph
public void clearQueryGraph() -
disposeField
public void disposeField()Clear the DataGraph, deactivate the EmbeddedFileObject and remove it- Specified by:
disposeFieldin interfaceDisposableField
-
getName
Try to get the name if the WrappedGraph (only for referenced obejcts), if no name is found return unnamed. The name is used in the WrappedGraphSelection- Specified by:
getNamein interfaceWrappedGraph
-