com.pnp.xfeature.editor
Class TreeEditPartsFactory

java.lang.Object
  extended by com.pnp.xfeature.editor.TreeEditPartsFactory

public class TreeEditPartsFactory
extends java.lang.Object

A class which provides a factory which knows how to create TreeEditParts

Author:
Charly Wilhelm and Ondrej Rohlik, May 2004 and February 2005

Constructor Summary
TreeEditPartsFactory()
          Creates a new TreeEditPartsFactory instance.
 
Method Summary
 EditPart createEditPart(EditPart context, java.lang.Object model)
          Creates either feature model or feature node based on the request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeEditPartsFactory

public TreeEditPartsFactory()
Creates a new TreeEditPartsFactory instance. compoundTasksOnly indicates if only CompoundTasks should be included in the resulting tree

Method Detail

createEditPart

public EditPart createEditPart(EditPart context,
                               java.lang.Object model)
Creates either feature model or feature node based on the request.

See Also:
org.eclipse.gef.EditPartFactory#createEditPart(org.eclipse.gef.EditPart, java.lang.Object)


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