|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.graphdocument.DocumentFactory
com.tensegrity.gui.swt.document.DocumentFactoryImpl
This class provides several factory methods allowing creating
s in a SWT context.
GraphDocument
| Constructor Summary | |
DocumentFactoryImpl()
Constructs a new DocumentFactoryImpl instance. |
|
| Method Summary | |
GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
DragContext vgoDragSource)
The passed graphapplication is assumed to be a
implementation of |
GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Note that this implementation assumes that the passsed
is also an
implementation. |
GraphDocument |
newGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Note that this implementation assumes that the passsed
is also an
implementation. |
GraphDocument |
newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method returns a new graphdocument. |
GraphDocument |
newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
This method returns a new graphdocument. |
| Methods inherited from class com.tensegrity.gui.graphdocument.DocumentFactory |
newGraphDocument, newGraphDocument, newGraphDocument, newInstance, setDefaultFactory, setServiceFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentFactoryImpl()
DocumentFactoryImpl instance.
| Method Detail |
public GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
GraphApplication
is also an SwtParentContainerProvider
implementation.
newGraphDocument in class DocumentFactoryname - name of the document.applicationFrame - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
DocumentFactory.newGraphDocument(java.lang.String,
com.tensegrity.gui.component.GraphApplication,
com.tensegrity.graph.controller.GraphController,
com.tensegrity.graph.view.VisualGraphView)
public GraphDocument newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
DocumentFactory
newGraphDocument in class DocumentFactoryname - name of the document.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
DocumentFactory.newGraphDocument(java.lang.String,
com.tensegrity.graph.controller.GraphController,
com.tensegrity.graph.view.VisualGraphView)
public GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
GraphApplication
is also an SwtParentContainerProvider
implementation.
newGraphDocument in class DocumentFactoryname - name of the document.appFrame - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.vgoDragSource - a drag context that provide additional information
about the recently dragged object.
DocumentFactory.newGraphDocument(java.lang.String,
com.tensegrity.gui.component.GraphApplication,
com.tensegrity.graph.controller.GraphController,
com.tensegrity.graph.view.VisualGraphView,
com.tensegrity.gui.swing.dnd.DragContext)
public GraphDocument newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
DocumentFactory
newGraphDocument in class DocumentFactoryname - name of the document.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.vgoDragSource - a drag context that provide additional information
about the recently dragged object.
DocumentFactory.newGraphDocument(java.lang.String,
com.tensegrity.graph.controller.GraphController,
com.tensegrity.graph.view.VisualGraphView,
com.tensegrity.gui.swing.dnd.DragContext)
public GraphDocument newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
DragContext vgoDragSource)
graphapplication is assumed to be a
implementation of SwtParentContainerProvider
newGraphDocument in class DocumentFactoryname - name of the document.applicationFrame - reference to the application context.vgoDragSource - a drag context that provide additional information
about the recently dragged object.
DocumentFactory.newGraphDocument(java.lang.String,
com.tensegrity.gui.component.GraphApplication,
com.tensegrity.gui.swing.dnd.DragContext)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||