com.pnp.xfeature.editparts
Class FeatureDiagramTreeEditPart

java.lang.Object
  extended by AbstractTreeEditPart
      extended by com.pnp.xfeature.editparts.FeatureDiagramTreeEditPart
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener

public class FeatureDiagramTreeEditPart
extends AbstractTreeEditPart
implements java.beans.PropertyChangeListener

Class that controls behavior of the tree-like outline view

Author:
Ondrej Rohlik, 27.1.2005

Constructor Summary
FeatureDiagramTreeEditPart(FeatureDiagramModel model)
          calls superclass implementation
 
Method Summary
 void activate()
          Upon activation, attach to the model element as a property change listener.
 void deactivate()
          Upon deactivation, detach from the model element as a property change listener.
 void propertyChange(java.beans.PropertyChangeEvent event)
          updates the view on adding or removing of elements if the feature model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureDiagramTreeEditPart

public FeatureDiagramTreeEditPart(FeatureDiagramModel model)
calls superclass implementation

Parameters:
model -
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
updates the view on adding or removing of elements if the feature model

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

activate

public void activate()
Upon activation, attach to the model element as a property change listener.


deactivate

public void deactivate()
Upon deactivation, detach from the model element as a property change listener.



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