com.pnp.xfeature.editparts
Class FeatureDiagramEditPart

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

public class FeatureDiagramEditPart
extends AbstractComponentEditPart

Controller of the whole feature model diagram. The nodes are subordinated to this class.

Author:
Kamil Ekstein, created on 21.9.2004, totally redesigned on 26.3.2005 by Ondrej Rohlik

Constructor Summary
FeatureDiagramEditPart()
           
 
Method Summary
 FeatureDiagramModel getCastedModel()
          return the the featre model typed as FeatureDiagramModel
 void propertyChange(java.beans.PropertyChangeEvent ev)
          Refreshes visuals on property change.
 
Methods inherited from class com.pnp.xfeature.editparts.AbstractComponentEditPart
activate, deactivate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureDiagramEditPart

public FeatureDiagramEditPart()
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent ev)
Refreshes visuals on property change.

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

getCastedModel

public FeatureDiagramModel getCastedModel()
return the the featre model typed as FeatureDiagramModel



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