Modelers

org.topcased.modeler.di.model
Interface Diagram

All Superinterfaces:
DiagramElement, EModelElement, EObject, GraphElement, GraphNode, Notifier

public interface Diagram
extends GraphNode

A representation of the model object 'Diagram'.

The following features are supported:

See Also:
DiagramInterchangePackage.getDiagram()
** Generated **
Model:

Field Summary
static java.lang.String copyright
           
 
Method Summary
 EList<DiagramLink> getDiagramLink()
          Returns the value of the 'Diagram Link' reference list.
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 org.eclipse.draw2d.geometry.Point getViewport()
          Returns the value of the 'Viewport' attribute
 double getZoom()
          Returns the value of the 'Zoom' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setViewport(org.eclipse.draw2d.geometry.Point value)
          Sets the value of the 'Viewport' attribute
 void setZoom(double value)
          Sets the value of the 'Zoom' attribute.
 
Methods inherited from interface org.topcased.modeler.di.model.GraphNode
getSize, setSize
 
Methods inherited from interface org.topcased.modeler.di.model.GraphElement
getAnchorage, getContained, getLink, getPosition, getSemanticModel, setPosition, setSemanticModel
 
Methods inherited from interface org.topcased.modeler.di.model.DiagramElement
getContainer, getProperty, getReference, isVisible, setContainer, setVisible
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **
Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DiagramInterchangePackage.getDiagram_Name()
** Generated **
Model:

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
** Generated **

getZoom

double getZoom()
Returns the value of the 'Zoom' attribute. The default value is "1.0".

If the meaning of the 'Zoom' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Zoom' attribute.
See Also:
setZoom(double), DiagramInterchangePackage.getDiagram_Zoom()
** Generated **
Model:
default="1.0"

setZoom

void setZoom(double value)
Sets the value of the 'Zoom' attribute.

Parameters:
value - the new value of the 'Zoom' attribute.
See Also:
getZoom()
** Generated **

getViewport

org.eclipse.draw2d.geometry.Point getViewport()
Returns the value of the 'Viewport' attribute.

If the meaning of the 'Viewport' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Viewport' attribute.
See Also:
setViewport(Point), DiagramInterchangePackage.getDiagram_Viewport()
** Generated **
Model:
dataType="org.topcased.modeler.di.model.Point"

setViewport

void setViewport(org.eclipse.draw2d.geometry.Point value)
Sets the value of the 'Viewport' attribute.

Parameters:
value - the new value of the 'Viewport' attribute.
See Also:
getViewport()
** Generated **

getDiagramLink

EList<DiagramLink> getDiagramLink()
Returns the value of the 'Diagram Link' reference list. The list contents are of type DiagramLink. It is bidirectional and its opposite is 'Diagram'.

If the meaning of the 'Diagram Link' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Diagram Link' reference list.
See Also:
DiagramInterchangePackage.getDiagram_DiagramLink(), DiagramLink.getDiagram()
** Generated **
Model:
type="org.topcased.modeler.di.model.DiagramLink" opposite="diagram"

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.