Generators

org.topcased.modeler.diagramconfigurator
Interface PartConfiguration

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
EdgePartConfiguration, NodePartConfiguration

public interface PartConfiguration
extends EObject

A representation of the model object 'Part Configuration'.

The following features are supported:

See Also:
DiagramconfiguratorPackage.getPartConfiguration()
** Generated **
Model:
abstract="true" annotation="http://www.topcased.org/documentation documentation='A PartConfiguration will be associated with an EditPart at the generation process.'"

Method Summary
 EList<PartAction> getActions()
          Returns the value of the 'Actions' containment reference list.
 EList<Constraint> getConstraint()
          Returns the value of the 'Constraint' containment reference list.
 org.eclipse.swt.graphics.Font getDefaultFont()
          Returns the value of the 'Default Font' attribute.
 java.lang.String getDefaultFontStringValue()
          Get the String value representing the DefaultFont
 org.eclipse.swt.graphics.Color getDefaultForegroundColor()
          Returns the value of the 'Default Foreground Color' attribute.
 java.lang.String getDefaultForegroundColorStringValue()
          Get the String value representing the DefaultForegroundColor
 LineStyle getLineStyle()
          Returns the value of the 'Line Style' attribute.
 int getLineWidth()
          Returns the value of the 'Line Width' attribute.
 ObjectConfiguration getObject()
          Returns the value of the 'Object' reference.
 java.lang.String getPrefix()
          Returns the value of the 'Prefix' attribute.
 java.lang.String getPresentation()
          Returns the value of the 'Presentation' attribute.
 boolean isFontChangeable()
          Returns the value of the 'Font Changeable' attribute.
 boolean isForegroundColorChangeable()
          Returns the value of the 'Foreground Color Changeable' 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 setFontChangeable(boolean value)
          Sets the value of the 'Font Changeable' attribute.
 void setForegroundColorChangeable(boolean value)
          Sets the value of the 'Foreground Color Changeable' attribute.
 void setLineStyle(LineStyle value)
          Sets the value of the 'Line Style' attribute.
 void setLineWidth(int value)
          Sets the value of the 'Line Width' attribute.
 void setObject(ObjectConfiguration value)
          Sets the value of the 'Object' reference.
 void setPrefix(java.lang.String value)
          Sets the value of the 'Prefix' attribute.
 void setPresentation(java.lang.String value)
          Sets the value of the 'Presentation' 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

getObject

ObjectConfiguration getObject()
Returns the value of the 'Object' reference.

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

Returns:
the value of the 'Object' reference.
See Also:
setObject(ObjectConfiguration), DiagramconfiguratorPackage.getPartConfiguration_Object()
** Generated **
Model:
required="true"

setObject

void setObject(ObjectConfiguration value)
Sets the value of the 'Object' reference.

Parameters:
value - the new value of the 'Object' reference.
See Also:
getObject()
** Generated **

getPresentation

java.lang.String getPresentation()
Returns the value of the 'Presentation' attribute. The default value is "default".

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

Returns:
the value of the 'Presentation' attribute.
See Also:
setPresentation(String), DiagramconfiguratorPackage.getPartConfiguration_Presentation()
** Generated **
Model:
default="default" required="true"

setPresentation

void setPresentation(java.lang.String value)
Sets the value of the 'Presentation' attribute.

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

getDefaultForegroundColor

org.eclipse.swt.graphics.Color getDefaultForegroundColor()
Returns the value of the 'Default Foreground Color' attribute. The default value is "0,0,0".

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), DiagramconfiguratorPackage.getPartConfiguration_DefaultForegroundColor()
** Generated **
Model:
default="0,0,0" dataType="org.topcased.modeler.diagramconfigurator.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 **

isForegroundColorChangeable

boolean isForegroundColorChangeable()
Returns the value of the 'Foreground Color Changeable' attribute. The default value is "true".

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

Returns:
the value of the 'Foreground Color Changeable' attribute.
See Also:
setForegroundColorChangeable(boolean), DiagramconfiguratorPackage.getPartConfiguration_ForegroundColorChangeable()
** Generated **
Model:
default="true"

setForegroundColorChangeable

void setForegroundColorChangeable(boolean value)
Sets the value of the 'Foreground Color Changeable' attribute.

Parameters:
value - the new value of the 'Foreground Color Changeable' attribute.
See Also:
isForegroundColorChangeable()
** 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), DiagramconfiguratorPackage.getPartConfiguration_DefaultFont()
** Generated **
Model:
dataType="org.topcased.modeler.diagramconfigurator.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 **

isFontChangeable

boolean isFontChangeable()
Returns the value of the 'Font Changeable' attribute. The default value is "true".

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

Returns:
the value of the 'Font Changeable' attribute.
See Also:
setFontChangeable(boolean), DiagramconfiguratorPackage.getPartConfiguration_FontChangeable()
** Generated **
Model:
default="true"

setFontChangeable

void setFontChangeable(boolean value)
Sets the value of the 'Font Changeable' attribute.

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

getLineWidth

int getLineWidth()
Returns the value of the 'Line Width' attribute. The default value is "1".

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

Returns:
the value of the 'Line Width' attribute.
See Also:
setLineWidth(int), DiagramconfiguratorPackage.getPartConfiguration_LineWidth()
** Generated **
Model:
default="1"

setLineWidth

void setLineWidth(int value)
Sets the value of the 'Line Width' attribute.

Parameters:
value - the new value of the 'Line Width' attribute.
See Also:
getLineWidth()
** Generated **

getLineStyle

LineStyle getLineStyle()
Returns the value of the 'Line Style' attribute. The default value is "SOLID". The literals are from the enumeration LineStyle.

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

Returns:
the value of the 'Line Style' attribute.
See Also:
LineStyle, setLineStyle(LineStyle), DiagramconfiguratorPackage.getPartConfiguration_LineStyle()
** Generated **
Model:
default="SOLID"

setLineStyle

void setLineStyle(LineStyle value)
Sets the value of the 'Line Style' attribute.

Parameters:
value - the new value of the 'Line Style' attribute.
See Also:
LineStyle, getLineStyle()
** Generated **

getConstraint

EList<Constraint> getConstraint()
Returns the value of the 'Constraint' containment reference list. The list contents are of type Constraint.

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

Returns:
the value of the 'Constraint' containment reference list.
See Also:
DiagramconfiguratorPackage.getPartConfiguration_Constraint()
** Generated **
Model:
type="org.topcased.modeler.diagramconfigurator.Constraint" containment="true"

getPrefix

java.lang.String getPrefix()
Returns the value of the 'Prefix' attribute.

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

Returns:
the value of the 'Prefix' attribute.
See Also:
setPrefix(String), DiagramconfiguratorPackage.getPartConfiguration_Prefix()
** Generated **
Model:
required="true"

setPrefix

void setPrefix(java.lang.String value)
Sets the value of the 'Prefix' attribute.

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

getActions

EList<PartAction> getActions()
Returns the value of the 'Actions' containment reference list. The list contents are of type PartAction.

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

Returns:
the value of the 'Actions' containment reference list.
See Also:
DiagramconfiguratorPackage.getPartConfiguration_Actions()
** Generated **
Model:
type="org.topcased.modeler.diagramconfigurator.PartAction" containment="true"

getDefaultForegroundColorStringValue

java.lang.String getDefaultForegroundColorStringValue()
Get the String value representing the DefaultForegroundColor


getDefaultFontStringValue

java.lang.String getDefaultFontStringValue()
Get the String value representing the DefaultFont


Generators

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