UML

org.topcased.modeler.uml.sequencediagram
Class MessageCreationFactory

java.lang.Object
  extended by org.topcased.modeler.uml.sequencediagram.MessageCreationFactory
All Implemented Interfaces:
org.eclipse.gef.requests.CreationFactory

Deprecated. should not be used anymore. The MessageSort property should be directly initialized in the PaletteManager

public class MessageCreationFactory
extends java.lang.Object
implements org.eclipse.gef.requests.CreationFactory

Factory that creates messages with the specified sort


Constructor Summary
MessageCreationFactory(ICreationUtils creationUtils, int msgSort)
          Deprecated. Constructor.
 
Method Summary
 java.lang.Object getNewObject()
          Deprecated. Create a message with the specified sort
 java.lang.Object getObjectType()
          Deprecated. No type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageCreationFactory

public MessageCreationFactory(ICreationUtils creationUtils,
                              int msgSort)
Deprecated. 
Constructor. The allowed specified sort of messsage is the different values specified in org.eclipse.uml2.MessageSort.

Parameters:
creationUtils - the creation utils
msgSort - the sort of the message
Method Detail

getNewObject

public java.lang.Object getNewObject()
Deprecated. 
Create a message with the specified sort

Specified by:
getNewObject in interface org.eclipse.gef.requests.CreationFactory
See Also:
CreationFactory.getNewObject()

getObjectType

public java.lang.Object getObjectType()
Deprecated. 
No type

Specified by:
getObjectType in interface org.eclipse.gef.requests.CreationFactory
See Also:
CreationFactory.getObjectType()

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.