Modelers

org.topcased.modeler.graphconf
Interface DiagramGraphConf

All Superinterfaces:
EObject, Notifier

public interface DiagramGraphConf
extends EObject

A representation of the model object 'Diagram Graph Conf'.

The following features are supported:

See Also:
GraphconfPackage.getDiagramGraphConf()
** Generated **
Model:
annotation="http://www.topcased.org/documentation documentation='A DiagramGraphConf is associated with a DiagramConfiguration. It contains informations on the graphical representation of the diagram associated.'"

Method Summary
 org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
          Returns the value of the 'Default Background Color' attribute.
 org.eclipse.swt.graphics.Font getDefaultFont()
          Returns the value of the 'Default Font' attribute.
 org.eclipse.swt.graphics.Color getDefaultForegroundColor()
          Returns the value of the 'Default Foreground Color' attribute.
 EList getEdge()
          Returns the value of the 'Edge' containment reference list.
 EdgeGraphConf getEdgeGraphConf(EClass typeEClass, java.lang.String presentation)
          Get the EdgeGraphConf associated with the given id
 EdgeGraphConf getEdgeGraphConf(java.lang.String type, java.lang.String presentation)
          Get the EdgeGraphConf associated with the given id
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 java.util.List getListEdgeGraphConf(EClass typeEClass, java.lang.String presentation)
          Get the List of EdgeGraphConf associated with the given presentation
 java.util.List getListNodeGraphConf(EClass typeEClass, java.lang.String presentation)
          Get the List of NodeGraphConf associated with the given presentation
 EList getNode()
          Returns the value of the 'Node' containment reference list.
 NodeGraphConf getNodeGraphConf(EClass typeEClass, java.lang.String presentation)
          Get the NodeGraphConf associated with the given id
 NodeGraphConf getNodeGraphConf(java.lang.String type, java.lang.String presentation)
          Get the NodeGraphConf associated with the given id
 void setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
          Sets the value of the 'Default Background Color' attribute.
 void setDefaultFont(org.eclipse.swt.graphics.Font value)
          Sets the value of the 'Default Font' attribute.
 void setDefaultForegroundColor(org.eclipse.swt.graphics.Color value)
          Sets the value of the 'Default Foreground Color' attribute.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute
 
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
 

Method Detail

getNode

EList getNode()
Returns the value of the 'Node' containment reference list. The list contents are of type NodeGraphConf.

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

Returns:
the value of the 'Node' containment reference list.
See Also:
GraphconfPackage.getDiagramGraphConf_Node()
** Generated **
Model:
type="org.topcased.modeler.graphconf.NodeGraphConf" containment="true"

getEdge

EList getEdge()
Returns the value of the 'Edge' containment reference list. The list contents are of type EdgeGraphConf.

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

Returns:
the value of the 'Edge' containment reference list.
See Also:
GraphconfPackage.getDiagramGraphConf_Edge()
** Generated **
Model:
type="org.topcased.modeler.graphconf.EdgeGraphConf" containment="true"

getDefaultBackgroundColor

org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
Returns the value of the 'Default Background Color' attribute.

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

Returns:
the value of the 'Default Background Color' attribute.
See Also:
setDefaultBackgroundColor(Color), GraphconfPackage.getDiagramGraphConf_DefaultBackgroundColor()
** Generated **
Model:
dataType="org.topcased.modeler.graphconf.Color"

setDefaultBackgroundColor

void setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
Sets the value of the 'Default Background Color' attribute.

Parameters:
value - the new value of the 'Default Background Color' attribute.
See Also:
getDefaultBackgroundColor()
** Generated **

getDefaultForegroundColor

org.eclipse.swt.graphics.Color getDefaultForegroundColor()
Returns the value of the 'Default Foreground Color' attribute.

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

Returns:
the value of the 'Default Foreground Color' attribute.
See Also:
setDefaultForegroundColor(Color), GraphconfPackage.getDiagramGraphConf_DefaultForegroundColor()
** Generated **
Model:
dataType="org.topcased.modeler.graphconf.Color"

setDefaultForegroundColor

void setDefaultForegroundColor(org.eclipse.swt.graphics.Color value)
Sets the value of the 'Default Foreground Color' attribute.

Parameters:
value - the new value of the 'Default Foreground Color' attribute.
See Also:
getDefaultForegroundColor()
** Generated **

getDefaultFont

org.eclipse.swt.graphics.Font getDefaultFont()
Returns the value of the 'Default Font' attribute.

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

Returns:
the value of the 'Default Font' attribute.
See Also:
setDefaultFont(Font), GraphconfPackage.getDiagramGraphConf_DefaultFont()
** Generated **
Model:
dataType="org.topcased.modeler.graphconf.Font"

setDefaultFont

void setDefaultFont(org.eclipse.swt.graphics.Font value)
Sets the value of the 'Default Font' attribute.

Parameters:
value - the new value of the 'Default Font' attribute.
See Also:
getDefaultFont()
** Generated **

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

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

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), GraphconfPackage.getDiagramGraphConf_Id()
** Generated **
Model:

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

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

getNodeGraphConf

NodeGraphConf getNodeGraphConf(EClass typeEClass,
                               java.lang.String presentation)
Get the NodeGraphConf associated with the given id

Parameters:
typeEClass - the EClass model object associated withe the NodeGraphConf
presentation - the presentation of the NodeGraphConf
Returns:
the NodeGraphConf or null if not found

getListNodeGraphConf

java.util.List getListNodeGraphConf(EClass typeEClass,
                                    java.lang.String presentation)
Get the List of NodeGraphConf associated with the given presentation

Parameters:
typeEClass - the EClass model object associated withe the NodeGraphConf
presentation - the presentation of the NodeGraphConf
Returns:
the list of all the nodes. An empty list is returned when no node were found.

getNodeGraphConf

NodeGraphConf getNodeGraphConf(java.lang.String type,
                               java.lang.String presentation)
Get the NodeGraphConf associated with the given id

Parameters:
type - the type of the NodeGraphConf (the typeInfo property of the DI)
presentation - the presentation of the NodeGraphConf
Returns:
the NodeGraphConf or null if not found

getEdgeGraphConf

EdgeGraphConf getEdgeGraphConf(EClass typeEClass,
                               java.lang.String presentation)
Get the EdgeGraphConf associated with the given id

Parameters:
typeEClass - the EClass model object associated withe the EdgeGraphConf
presentation - the presentation of the EdgeGraphConf
Returns:
the EdgeGraphConf or null if not found

getListEdgeGraphConf

java.util.List getListEdgeGraphConf(EClass typeEClass,
                                    java.lang.String presentation)
Get the List of EdgeGraphConf associated with the given presentation

Parameters:
typeEClass - the EClass model object associated withe the EdgeGraphConf
presentation - the presentation of the EdgeGraphConf
Returns:
the list of all the edges. An empty list is returned when no edge were found.

getEdgeGraphConf

EdgeGraphConf getEdgeGraphConf(java.lang.String type,
                               java.lang.String presentation)
Get the EdgeGraphConf associated with the given id

Parameters:
type - the type of the EdgeGraphConf (the typeInfo property of the DI)
presentation - the presentation of the EdgeGraphConf
Returns:
the EdgeGraphConf or null if not found

Modelers

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