com.pnp.xfeature.editparts
Class AbstractComponentEditPart

java.lang.Object
  extended by AbstractGraphicalEditPart
      extended by com.pnp.xfeature.editparts.AbstractComponentEditPart
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
FeatureDiagramEditPart, FeatureNodeEditPart

public abstract class AbstractComponentEditPart
extends AbstractGraphicalEditPart
implements java.beans.PropertyChangeListener

Base class for the other edit part controllers. Implements instance-independent and abstract methods

Author:
Kamil Ekstein, created on 21.9.2004 ToDo: Consider making it abstract.

Constructor Summary
AbstractComponentEditPart()
           
 
Method Summary
 void activate()
          Adds property change listener and links it with the model
 void deactivate()
          Removes property change listener and linked with the model
 void propertyChange(java.beans.PropertyChangeEvent ev)
          Implemented abstract method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentEditPart

public AbstractComponentEditPart()
Method Detail

activate

public void activate()
Adds property change listener and links it with the model

See Also:
org.eclipse.gef.EditPart#activate()

deactivate

public void deactivate()
Removes property change listener and linked with the model

See Also:
org.eclipse.gef.EditPart#deactivate()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent ev)
Implemented abstract method. Must be defined properly in the successors.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.