Inheritance diagram for ChainGraphItem:
Collaboration diagram for ChainGraphItem:Abstract prototype of a model element.
This class provides features necessary for all model elements, like:
Public Methods | |
| Object | getAdapter (Class adapterClass) |
| synchronized void | addPropertyChangeListener (PropertyChangeListener l) |
| Object | getEditableValue () |
| IPropertyDescriptor[] | getPropertyDescriptors () |
| Object | getPropertyValue (Object id) |
| boolean | isPropertySet (Object id) |
| synchronized void | removePropertyChangeListener (PropertyChangeListener l) |
| void | resetPropertyValue (Object id) |
| void | setPropertyValue (Object id, Object value) |
Protected Methods | |
| void | firePropertyChange (String property, Object oldValue, Object newValue) |
| synchronized void addPropertyChangeListener | ( | PropertyChangeListener | l | ) |
Attach a non-null PropertyChangeListener to this object.
| l | a non-null PropertyChangeListener instance |
| IllegalArgumentException | if the parameter is null |
| void firePropertyChange | ( | String | property, |
| Object | oldValue, | ||
| Object | newValue | ||
| ) | [protected] |
Report a property change to registered listeners (for example edit parts).
| property | the programmatic name of the property that changed |
| oldValue | the old value of this property |
| newValue | the new value of this property |
| Object getAdapter | ( | Class | adapterClass | ) |
Reimplemented in ChainGraphDiagram, ChainGraphVertex, and ComponentVertex.
| Object getEditableValue | ( | ) |
Returns a value for this property source that can be edited in a property sheet.
My (Elias Volanakis (original)) personal rule of thumb:
Override only if necessary.
| IPropertyDescriptor [] getPropertyDescriptors | ( | ) |
Children should override this. The default implementation returns an empty array.
Reimplemented in ChainGraphVertex.
| Object getPropertyValue | ( | Object | id | ) |
Children should override this. The default implementation returns null.
Reimplemented in ChainGraphVertex, and Connection.
| boolean isPropertySet | ( | Object | id | ) |
Children should override this. The default implementation returns false.
| synchronized void removePropertyChangeListener | ( | PropertyChangeListener | l | ) |
Remove a PropertyChangeListener from this component.
| l | a PropertyChangeListener instance |
| void resetPropertyValue | ( | Object | id | ) |
Children should override this. The default implementation does nothing.
| void setPropertyValue | ( | Object | id, |
| Object | value | ||
| ) |
Children should override this. The default implementation does nothing.
Reimplemented in ChainGraphVertex, and Connection.