|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVisualSchemaNode
The visual schema node is part of schema visual model. It wraps the schema node of schema presentation model.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface pl.edu.agh.cast.data.model.visual.IVisualElement |
---|
IVisualElement.Properties |
Field Summary | |
---|---|
static String |
CONNECTION_EVENT
The name of the connections change event. |
static String |
DIMENSION_EVENT
The name of the dimension change event. |
static String |
LOCATION_EVENT
The name of the location change event. |
static String |
RESOURCE_EVENT
The name of the image change event. |
static Type |
TYPE
The type of this interface. |
Fields inherited from interface pl.edu.agh.cast.data.model.visual.IVisualElement |
---|
DEFAULT_VISUAL_LABEL_ID |
Method Summary | |
---|---|
String |
acquireResourceId(String defaultResourceId)
The resource id of the node. |
Integer |
getHeight()
The height of the node. |
org.eclipse.draw2d.geometry.Point |
getLocation()
The node location. |
String |
getResourceId()
The resource id of the node. |
Integer |
getWidth()
The width of the node. |
Integer |
getXCoordinate()
The x coordinate of the node. |
Integer |
getYCoordinate()
The y coordinate of the node. |
void |
setHeight(Integer height)
Sets the height of the node. |
void |
setResourceId(String id)
Sets the resource id of the node. |
void |
setWidth(Integer width)
Sets the width of the node. |
void |
setXCoordinate(Integer x)
Sets the x coordinate of the node. |
void |
setYCoordinate(Integer y)
Sets the y coordinate of the node. |
Methods inherited from interface pl.edu.agh.cast.data.model.visual.IVisualElement |
---|
getPresentationElement, getPropertiesMarkedAsLabel, getVisualLabel, markPropertyAsLabel, setPresentationElement |
Methods inherited from interface pl.edu.agh.cast.data.model.IElement |
---|
getDataSet |
Methods inherited from interface pl.edu.agh.cast.data.model.Identifiable |
---|
getId, getType |
Methods inherited from interface pl.edu.agh.cast.data.model.property.IPropertyContainer |
---|
addProperty, getCustomProperties, getMetaPropertyManager, getPermanentProperties, getProperties, getProperty, getTransientProperties, matches, removeProperty, setProperty |
Methods inherited from interface java.util.Observer |
---|
update |
Methods inherited from interface pl.edu.agh.cast.common.IValidatable |
---|
isValid |
Methods inherited from interface pl.edu.agh.cast.common.IDisposable |
---|
dispose |
Methods inherited from interface pl.edu.agh.cast.common.IReplicable |
---|
replicate, replicateTo |
Methods inherited from interface pl.edu.agh.cast.data.model.property.IPropertyChangeProvider |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
static final Type TYPE
static final String LOCATION_EVENT
static final String DIMENSION_EVENT
static final String RESOURCE_EVENT
static final String CONNECTION_EVENT
Method Detail |
---|
@PropertyGetter(name="X_COORDINATE", type=INTEGER, matchable=true) Integer getXCoordinate()
@PropertySetter(name="X_COORDINATE") void setXCoordinate(Integer x)
x
- The coordinate to set.@PropertyGetter(name="Y_COORDINATE", type=INTEGER, matchable=true) Integer getYCoordinate()
@PropertySetter(name="Y_COORDINATE") void setYCoordinate(Integer y)
y
- The coordinate to set.org.eclipse.draw2d.geometry.Point getLocation()
@PropertyGetter(name="WIDTH", type=INTEGER, matchable=true) Integer getWidth()
@PropertySetter(name="WIDTH") void setWidth(Integer width)
width
- The width to set.@PropertyGetter(name="HEIGHT", type=INTEGER, matchable=true) Integer getHeight()
@PropertySetter(name="HEIGHT") void setHeight(Integer height)
height
- The height to set.@PropertyGetter(name="RESOURCE_ID", type=TEXT, matchable=true) String getResourceId()
IVisualResource
@PropertySetter(name="RESOURCE_ID") void setResourceId(String id)
id
- The id to set.IVisualResource
String acquireResourceId(String defaultResourceId)
defaultResourceId
- the id of the default resource
IVisualResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |