|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--APStudio.models.BasicElement | +--APStudio.models.Connector
Field Summary | |
static java.lang.String |
CHILDREN
|
static java.lang.String |
ID_NAME
|
static java.lang.String |
INPUTS
|
static java.lang.String |
NODE_ADDED
|
static java.lang.String |
NODE_REMOVED
|
static java.lang.String |
OUTPUTS
|
Constructor Summary | |
Connector()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
attachSource()
|
void |
attachTarget()
|
void |
detachSource()
|
void |
detachTarget()
|
java.util.List |
getBendpoints()
Returns the list of bendpoints model objects. |
java.lang.Object |
getEditableValue()
|
java.lang.String |
getID()
|
java.lang.String |
getName()
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
Returns useful property descriptors for the use in property sheets. |
java.lang.Object |
getPropertyValue(java.lang.Object propName)
Returns an Object which represents the appropriate value for the property name supplied. |
BasicSubpart |
getSource()
Gets the connection source. |
java.lang.String |
getSourceTerminal()
Gets source terminal name. |
BasicSubpart |
getTarget()
Gets the connection target. |
java.lang.String |
getTargetTerminal()
Gets source terminal name. |
boolean |
getValue()
|
void |
insertBendpoint(int index,
org.eclipse.draw2d.Bendpoint point)
Inserts a bendpoint. |
boolean |
isPropertySet(java.lang.Object id)
|
void |
removeBendpoint(int index)
Removes a bendpoint. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
resetPropertyValue(java.lang.Object id)
|
void |
setBendpoint(int index,
org.eclipse.draw2d.Bendpoint point)
Sets another location for an existing bendpoint. |
void |
setID(java.lang.String s)
|
void |
setName(java.lang.String iName)
|
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
Sets the value of a given property with the value supplied. |
void |
setSource(BasicSubpart source)
Sets the connection source. |
void |
setSourceTerminal(java.lang.String s)
Sets the name of the source terminal. |
void |
setTarget(BasicSubpart target)
Sets the connection target. |
void |
setTargetTerminal(java.lang.String s)
Sets the name of the target terminal. |
void |
setTraversed(boolean newValue)
|
void |
setValue(boolean value)
|
java.lang.String |
toString()
|
void |
update()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String ID_NAME
public static final java.lang.String CHILDREN
public static final java.lang.String NODE_ADDED
public static final java.lang.String NODE_REMOVED
public static final java.lang.String INPUTS
public static final java.lang.String OUTPUTS
Constructor Detail |
public Connector()
Method Detail |
public void setSource(BasicSubpart source)
public void setTarget(BasicSubpart target)
public BasicSubpart getSource()
public BasicSubpart getTarget()
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors
in class APStudio.models.BasicElement
public java.lang.Object getPropertyValue(java.lang.Object propName)
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
in class APStudio.models.BasicElement
propName
- Name of the property for which the
the values are needed.
public java.util.List getBendpoints()
public void insertBendpoint(int index, org.eclipse.draw2d.Bendpoint point)
public void removeBendpoint(int index)
public void setBendpoint(int index, org.eclipse.draw2d.Bendpoint point)
public void setPropertyValue(java.lang.Object id, java.lang.Object value)
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
in class APStudio.models.BasicElement
id
- Name of the parameter to be changed.value
- Value to be set to the given parameter.public void setTraversed(boolean newValue)
public void attachSource()
public void attachTarget()
public void detachSource()
public void detachTarget()
public void setSourceTerminal(java.lang.String s)
public void setTargetTerminal(java.lang.String s)
public java.lang.String getSourceTerminal()
public java.lang.String getTargetTerminal()
public void setName(java.lang.String iName)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean getValue()
public void setValue(boolean value)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public java.lang.Object getEditableValue()
getEditableValue
in interface org.eclipse.ui.views.properties.IPropertySource
public java.lang.String getID()
public boolean isPropertySet(java.lang.Object id)
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
public void resetPropertyValue(java.lang.Object id)
resetPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
public void setID(java.lang.String s)
public void update()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |