com.tensegrity.gui.swing.document
Class DocumentFactoryImpl

java.lang.Object
  extended bycom.tensegrity.gui.graphdocument.DocumentFactory
      extended bycom.tensegrity.gui.swing.document.DocumentFactoryImpl

public class DocumentFactoryImpl
extends DocumentFactory

This class is derived from the base document class and represents amy swt-document.

Version:
$Id: DocumentFactoryImpl.java,v 1.11 2005/12/16 09:02:54 BurkhardWick Exp $
Author:
Stepan Rutz

Constructor Summary
DocumentFactoryImpl()
          Constructs a new DocumentFactoryImpl instance.
 
Method Summary
 GraphDocument newGraphDocument(java.lang.String name, ApplicationFrame appFrame, DragContext vgoDragSource)
          This method returns a new graphdocument.
 GraphDocument newGraphDocument(java.lang.String name, ApplicationFrame appFrame, GraphController graphcontroller, VisualGraphView visualgraphview)
          This method returns a new graphdocument.
 GraphDocument newGraphDocument(java.lang.String name, ApplicationFrame appFrame, GraphController graphcontroller, VisualGraphView visualgraphview, DragContext vgoDragSource)
          This method returns a new graphdocument.
 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

DocumentFactoryImpl

public DocumentFactoryImpl()
Constructs a new DocumentFactoryImpl instance.

Method Detail

newGraphDocument

public GraphDocument newGraphDocument(java.lang.String name,
                                      ApplicationFrame appFrame,
                                      GraphController graphcontroller,
                                      VisualGraphView visualgraphview,
                                      DragContext vgoDragSource)
Description copied from class: DocumentFactory
This method returns a new graphdocument.

Specified by:
newGraphDocument in class DocumentFactory
Parameters:
name - 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.
Returns:
the created graph document instance.

newGraphDocument

public GraphDocument newGraphDocument(java.lang.String name,
                                      ApplicationFrame appFrame,
                                      GraphController graphcontroller,
                                      VisualGraphView visualgraphview)
Description copied from class: DocumentFactory
This method returns a new graphdocument.

Specified by:
newGraphDocument in class DocumentFactory
Parameters:
name - 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.
Returns:
the created graph document instance.

newGraphDocument

public GraphDocument newGraphDocument(java.lang.String name,
                                      GraphController graphcontroller,
                                      VisualGraphView visualgraphview,
                                      DragContext vgoDragSource)
Description copied from class: DocumentFactory
This method returns a new graphdocument.

Specified by:
newGraphDocument in class DocumentFactory
Parameters:
name - 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.
Returns:
the created graph document instance.

newGraphDocument

public GraphDocument newGraphDocument(java.lang.String name,
                                      GraphController graphcontroller,
                                      VisualGraphView visualgraphview)
Description copied from class: DocumentFactory
This method returns a new graphdocument.

Specified by:
newGraphDocument in class DocumentFactory
Parameters:
name - name of the document.
graphcontroller - the graphcontroller instance that keeps the model.
visualgraphview - the visualgraph instance to show in the document.
Returns:
the created graph document instance.

newGraphDocument

public GraphDocument newGraphDocument(java.lang.String name,
                                      ApplicationFrame appFrame,
                                      DragContext vgoDragSource)
Description copied from class: DocumentFactory
This method returns a new graphdocument.

Specified by:
newGraphDocument in class DocumentFactory
Parameters:
name - name of the document.
appFrame - reference to the application context.
vgoDragSource - a drag context that provide additional information about the recently dragged object.
Returns:
the created graph document instance.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.