IBM Rational Software Modeler
Release 6.0

Uses of Interface
com.ibm.xtools.notation.Diagram

Packages that use Diagram
com.ibm.xtools.notation Notation meta-model primary package.  
com.ibm.xtools.uml.diagram   
com.ibm.xtools.uml.ui   
com.ibm.xtools.viz.ui UML Diagram Resource primary package.  
 

Uses of Diagram in com.ibm.xtools.notation
 

Methods in com.ibm.xtools.notation that return Diagram
 Diagram NotationFactory.createDiagram()
          Returns a new object of class 'Diagram'
 Diagram View.getDiagram()
          Returns the value of the 'Diagram' reference
 

Uses of Diagram in com.ibm.xtools.uml.diagram
 

Methods in com.ibm.xtools.uml.diagram that return Diagram
 Diagram IUMLDiagramHelper.createDiagram(Namespace container, UMLDiagramKind kind)
          Creates a UML diagram with a given kind and inserts it into a given container
 Diagram IUMLDiagramHelper.createDiagram(Namespace container, UMLDiagramKind kind, Element context)
          Creates a UML diagram with a given context and kind and inserts it into a given container
 Diagram IUMLDiagramHelper.getMainDiagram(Namespace element)
          Gets the main diagram of an element
 

Methods in com.ibm.xtools.uml.diagram with parameters of type Diagram
 void IUMLDiagramHelper.openDiagramEditor(Diagram diagram)
          Opens an editor for a given diagram
 void IUMLDiagramHelper.setMainDiagram(Namespace element, Diagram diagram)
          Sets the main diagram of an element
 UMLDiagramKind IUMLDiagramHelper.getUmlDiagramKind(Diagram diagram)
          Retrieves the UMLDiagramKind of the specified diagram
 void IUMLDiagramHelper.renderToImageFile(Diagram diagram, String file, ImageFileFormat format)
          renderToImageFile Utility api to render the diagram to a specified image formatation of the diagram contents.
 Image IUMLDiagramHelper.renderToAWTImage(Diagram diagram)
          renderToAWTImage Utility api to generate an AWT based image representation of the diagram contents.
 Image IUMLDiagramHelper.renderToSWTImage(Diagram diagram)
          renderToSWTImage Utility api to generate an SWT based image representation of the diagram contents.
 List IUMLDiagramHelper.createViews(Diagram diagram, List objects)
          Creates views for the objects specified by objects in the diagram specified by diagram.
 boolean IUMLDiagramHelper.canCreateViews(Diagram diagram, List objects)
          Returns whether views can be created for the objects specified by objects in the diagram specified by diagram
 List IUMLDiagramHelper.createEdges(Diagram diagram, Relationship element)
          Creates diagram edges between the related elements of a relationship
 

Uses of Diagram in com.ibm.xtools.uml.ui
 

Methods in com.ibm.xtools.uml.ui with parameters of type Diagram
 List IUMLUIHelper.getSelectedElements(Diagram diagram)
          Returns the list of views selected in the diagramed specified by diagram
 void IUMLUIHelper.setSelectedElements(Diagram diagram, List elements)
          Selects a list of editparts correspending to a list of elements in a given diagram in the currently active workbench window
 

Uses of Diagram in com.ibm.xtools.viz.ui
 

Methods in com.ibm.xtools.viz.ui that return Diagram
static Diagram UMLDiagramResourceUtil.createDiagram(String file, UMLDiagramKind umlDiagramKind)
          Creates a visualization diagram given a file path
static Diagram UMLDiagramResourceUtil.createDiagram(URI uri, UMLDiagramKind umlDiagramKind)
          Creates a visualization diagram given a URI
static Diagram UMLDiagramResourceUtil.openDiagram(String file)
          Opens the visualization diagram whose filename is described by file.
static Diagram UMLDiagramResourceUtil.openDiagram(URI uri)
          Opens the visualization diagram whose URI is described by uri.
 

Methods in com.ibm.xtools.viz.ui with parameters of type Diagram
static void UMLDiagramResourceUtil.saveDiagram(Diagram diagram)
          Saves the visualization diagram specified by diagram.
static void UMLDiagramResourceUtil.saveDiagramAs(Diagram diagram, String file)
          Saves the diagram specified by diagram to the location specified by file
static void UMLDiagramResourceUtil.saveDiagramAs(Diagram diagram, URI uri)
          Saves the diagram specified by diagram to the location specified by uri
static void UMLDiagramResourceUtil.closeDiagram(Diagram diagram)
          Closes the diagram specified by diagram
 


IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.