org.eclipse.gmt.umlx.editor.command
Class CommandUtils

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.command.CommandUtils

public class CommandUtils
extends java.lang.Object


Constructor Summary
CommandUtils()
           
 
Method Summary
static IAbstractCommand convertToAbstractCommand(org.eclipse.gef.commands.Command command)
           
static IAbstractCommand convertToAbstractCommandOrNull(org.eclipse.gef.commands.Command command)
           
static java.lang.String toContextString(java.lang.Object notifier)
           
static java.lang.String toString(java.lang.Object notifier)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandUtils

public CommandUtils()
Method Detail

convertToAbstractCommand

public static IAbstractCommand convertToAbstractCommand(org.eclipse.gef.commands.Command command)
                                                 throws PreparationFailureException
Throws:
PreparationFailureException

convertToAbstractCommandOrNull

public static IAbstractCommand convertToAbstractCommandOrNull(org.eclipse.gef.commands.Command command)

toContextString

public static java.lang.String toContextString(java.lang.Object notifier)

toString

public static java.lang.String toString(java.lang.Object notifier)