|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodePartConfiguration
A representation of the model object 'Node Part Configuration'.
The following features are supported:
Type
Child Elements
Super Type
Default Background Color
Background Color Changeable
Resizing
Container
Layout
Direct Editable
Default Width
Default Height
Minimum Width
Minimum Height
Maximum Width
Maximum Height
Attached To Border
DiagramconfiguratorPackage.getNodePartConfiguration()
Method Summary | |
---|---|
boolean |
alreadyExtendContainerFigure()
|
EList<NodePartConfiguration> |
getChildElements()
Returns the value of the 'Child Elements' reference list. |
org.eclipse.swt.graphics.Color |
getDefaultBackgroundColor()
Returns the value of the 'Default Background Color' attribute. |
java.lang.String |
getDefaultBackgroundColorStringValue()
|
int |
getDefaultHeight()
Returns the value of the 'Default Height' attribute. |
int |
getDefaultWidth()
Returns the value of the 'Default Width' attribute. |
org.eclipse.draw2d.IFigure |
getExtendedFigure()
Return the Figure extended by this figure. |
java.lang.String |
getFeatureID(GenClass childGenClass)
Get the FeatureID of the first feature of the GenClass asosciated with the current NodePartConfiguration (if it exists). |
LayoutType |
getLayout()
Returns the value of the 'Layout' attribute. |
int |
getMaximumHeight()
Returns the value of the 'Maximum Height' attribute. |
int |
getMaximumWidth()
Returns the value of the 'Maximum Width' attribute. |
int |
getMinimumHeight()
Returns the value of the 'Minimum Height' attribute. |
int |
getMinimumWidth()
Returns the value of the 'Minimum Width' attribute. |
ResizableType |
getResizing()
Returns the value of the 'Resizing' attribute. |
NodePartConfiguration |
getSuperType()
Returns the value of the 'Super Type' reference. |
java.lang.String |
getType()
Returns the value of the 'Type' attribute. |
boolean |
isAttachedToBorder()
Returns the value of the 'Attached To Border' attribute. |
boolean |
isBackgroundColorChangeable()
Returns the value of the 'Background Color Changeable' attribute. |
boolean |
isConnectable()
Check if a nodePartConfiguration is connectable in a diagram |
boolean |
isContainer()
Returns the value of the 'Container' attribute. |
boolean |
isDirectEditable()
Returns the value of the 'Direct Editable' attribute. |
void |
setAttachedToBorder(boolean value)
Sets the value of the ' Attached To Border '
attribute.
|
void |
setBackgroundColorChangeable(boolean value)
Sets the value of the ' Background Color Changeable '
attribute.
|
void |
setContainer(boolean value)
Sets the value of the ' Container '
attribute.
|
void |
setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
Sets the value of the ' Default Background Color '
attribute.
|
void |
setDefaultHeight(int value)
Sets the value of the ' Default Height '
attribute.
|
void |
setDefaultWidth(int value)
Sets the value of the ' Default Width '
attribute.
|
void |
setDirectEditable(boolean value)
Sets the value of the ' Direct Editable '
attribute.
|
void |
setLayout(LayoutType value)
Sets the value of the ' Layout '
attribute.
|
void |
setMaximumHeight(int value)
Sets the value of the ' Maximum Height '
attribute.
|
void |
setMaximumWidth(int value)
Sets the value of the ' Maximum Width '
attribute.
|
void |
setMinimumHeight(int value)
Sets the value of the ' Minimum Height '
attribute.
|
void |
setMinimumWidth(int value)
Sets the value of the ' Minimum Width '
attribute.
|
void |
setResizing(ResizableType value)
Sets the value of the ' Resizing '
attribute.
|
void |
setSuperType(NodePartConfiguration value)
Sets the value of the ' Super Type '
reference.
|
void |
setType(java.lang.String value)
Sets the value of the ' Type '
attribute.
|
boolean |
shouldImplementIContainerFigure()
|
boolean |
shouldImplementILabelFigure()
|
Methods inherited from interface org.topcased.modeler.diagramconfigurator.PartConfiguration |
---|
getActions, getConstraint, getDefaultFont, getDefaultFontStringValue, getDefaultForegroundColor, getDefaultForegroundColorStringValue, getLineStyle, getLineWidth, getObject, getPrefix, getPresentation, isFontChangeable, isForegroundColorChangeable, setDefaultFont, setDefaultForegroundColor, setFontChangeable, setForegroundColorChangeable, setLineStyle, setLineWidth, setObject, setPrefix, setPresentation |
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 |
---|
java.lang.String getType()
"Figure"
.
If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...
setType(String)
,
DiagramconfiguratorPackage.getNodePartConfiguration_Type()
void setType(java.lang.String value)
Type
'
attribute.
value
- the new value of the 'Type' attribute.getType()
EList<NodePartConfiguration> getChildElements()
NodePartConfiguration
.
If the meaning of the 'Child Elements' reference list isn't clear, there really should be more of a description here...
DiagramconfiguratorPackage.getNodePartConfiguration_ChildElements()
NodePartConfiguration getSuperType()
If the meaning of the 'Super Type' reference isn't clear, there really should be more of a description here...
setSuperType(NodePartConfiguration)
,
DiagramconfiguratorPackage.getNodePartConfiguration_SuperType()
void setSuperType(NodePartConfiguration value)
Super Type
'
reference.
value
- the new value of the 'Super Type' reference.getSuperType()
org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
"255,255,255"
.
If the meaning of the 'Default Background Color' attribute isn't clear, there really should be more of a description here...
setDefaultBackgroundColor(Color)
,
DiagramconfiguratorPackage.getNodePartConfiguration_DefaultBackgroundColor()
void setDefaultBackgroundColor(org.eclipse.swt.graphics.Color value)
Default Background Color
'
attribute.
value
- the new value of the 'Default Background Color' attribute.getDefaultBackgroundColor()
boolean isBackgroundColorChangeable()
"true"
.
If the meaning of the 'Background Color Changeable' attribute isn't clear, there really should be more of a description here...
setBackgroundColorChangeable(boolean)
,
DiagramconfiguratorPackage.getNodePartConfiguration_BackgroundColorChangeable()
void setBackgroundColorChangeable(boolean value)
Background Color Changeable
'
attribute.
value
- the new value of the 'Background Color Changeable' attribute.isBackgroundColorChangeable()
ResizableType getResizing()
"ALL"
.
The literals are from the enumeration ResizableType
.
If the meaning of the 'Resizing' attribute isn't clear, there really should be more of a description here...
ResizableType
,
setResizing(ResizableType)
,
DiagramconfiguratorPackage.getNodePartConfiguration_Resizing()
void setResizing(ResizableType value)
Resizing
'
attribute.
value
- the new value of the 'Resizing' attribute.ResizableType
,
getResizing()
boolean isContainer()
"false"
.
If the meaning of the 'Container' attribute isn't clear, there really should be more of a description here...
setContainer(boolean)
,
DiagramconfiguratorPackage.getNodePartConfiguration_Container()
void setContainer(boolean value)
Container
'
attribute.
value
- the new value of the 'Container' attribute.isContainer()
LayoutType getLayout()
"XYLayout"
.
The literals are from the enumeration LayoutType
.
If the meaning of the 'Layout' attribute isn't clear, there really should be more of a description here...
LayoutType
,
setLayout(LayoutType)
,
DiagramconfiguratorPackage.getNodePartConfiguration_Layout()
void setLayout(LayoutType value)
Layout
'
attribute.
value
- the new value of the 'Layout' attribute.LayoutType
,
getLayout()
boolean isDirectEditable()
"true"
.
If the meaning of the 'Direct Editable' attribute isn't clear, there really should be more of a description here...
setDirectEditable(boolean)
,
DiagramconfiguratorPackage.getNodePartConfiguration_DirectEditable()
void setDirectEditable(boolean value)
Direct Editable
'
attribute.
value
- the new value of the 'Direct Editable' attribute.isDirectEditable()
int getDefaultWidth()
"50"
.
If the meaning of the 'Default Width' attribute isn't clear, there really should be more of a description here...
setDefaultWidth(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_DefaultWidth()
void setDefaultWidth(int value)
Default Width
'
attribute.
value
- the new value of the 'Default Width' attribute.getDefaultWidth()
int getDefaultHeight()
"50"
.
If the meaning of the 'Default Height' attribute isn't clear, there really should be more of a description here...
setDefaultHeight(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_DefaultHeight()
void setDefaultHeight(int value)
Default Height
'
attribute.
value
- the new value of the 'Default Height' attribute.getDefaultHeight()
int getMinimumWidth()
"20"
.
If the meaning of the 'Minimum Width' attribute isn't clear, there really should be more of a description here...
setMinimumWidth(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_MinimumWidth()
void setMinimumWidth(int value)
Minimum Width
'
attribute.
value
- the new value of the 'Minimum Width' attribute.getMinimumWidth()
int getMinimumHeight()
"20"
.
If the meaning of the 'Minimum Height' attribute isn't clear, there really should be more of a description here...
setMinimumHeight(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_MinimumHeight()
void setMinimumHeight(int value)
Minimum Height
'
attribute.
value
- the new value of the 'Minimum Height' attribute.getMinimumHeight()
int getMaximumWidth()
"200"
.
If the meaning of the 'Maximum Width' attribute isn't clear, there really should be more of a description here...
setMaximumWidth(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_MaximumWidth()
void setMaximumWidth(int value)
Maximum Width
'
attribute.
value
- the new value of the 'Maximum Width' attribute.getMaximumWidth()
int getMaximumHeight()
"200"
.
If the meaning of the 'Maximum Height' attribute isn't clear, there really should be more of a description here...
setMaximumHeight(int)
,
DiagramconfiguratorPackage.getNodePartConfiguration_MaximumHeight()
void setMaximumHeight(int value)
Maximum Height
'
attribute.
value
- the new value of the 'Maximum Height' attribute.getMaximumHeight()
boolean isAttachedToBorder()
"false"
.
If the meaning of the 'Attached To Border' attribute isn't clear, there really should be more of a description here...
setAttachedToBorder(boolean)
,
DiagramconfiguratorPackage.getNodePartConfiguration_AttachedToBorder()
void setAttachedToBorder(boolean value)
Attached To Border
'
attribute.
value
- the new value of the 'Attached To Border' attribute.isAttachedToBorder()
boolean isConnectable()
java.lang.String getFeatureID(GenClass childGenClass)
childGenClass
- a type of GenClass to match
org.eclipse.draw2d.IFigure getExtendedFigure()
boolean shouldImplementIContainerFigure()
boolean shouldImplementILabelFigure()
boolean alreadyExtendContainerFigure()
java.lang.String getDefaultBackgroundColorStringValue()
|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.