org.argouml.uml.diagram.sequence.ui
Class SequenceDiagramPropPanelFactory

java.lang.Object
  extended by org.argouml.uml.diagram.sequence.ui.SequenceDiagramPropPanelFactory
All Implemented Interfaces:
PropPanelFactory

public class SequenceDiagramPropPanelFactory
extends java.lang.Object
implements PropPanelFactory

This factory creates the right PropPanelDiagram for a given Sequence diagram.


Constructor Summary
SequenceDiagramPropPanelFactory()
           
 
Method Summary
 PropPanel createPropPanel(java.lang.Object object)
          This method shall test the type of the given object, and if recognised, create a new instance of a PropPanel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceDiagramPropPanelFactory

public SequenceDiagramPropPanelFactory()
Method Detail

createPropPanel

public PropPanel createPropPanel(java.lang.Object object)
Description copied from interface: PropPanelFactory
This method shall test the type of the given object, and if recognised, create a new instance of a PropPanel.

If the object type is not something this factory knows how to deal with, then null shall be returned (do NOT throw an exception).

If the given object falls within a class of objects that this factory is the exclusive factory for, then it is allowed to throw an exception if the object is invalid/unknown. However, be careful not to break the possibility to extend ArgoUML.

Specified by:
createPropPanel in interface PropPanelFactory
Parameters:
object - the object to create a new PropPanel for
Returns:
the new proppanel or null


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook