Modelers

org.topcased.modeler.commands
Class DeleteGraphElementCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.eclipse.gef.commands.CompoundCommand
          extended by org.topcased.modeler.commands.DeleteGraphElementCommand

public class DeleteGraphElementCommand
extends org.eclipse.gef.commands.CompoundCommand

Delete the given GraphElement and all its connections.
creation : 1 juin 2005


Constructor Summary
DeleteGraphElementCommand(GraphElement elt, boolean deleteEdge)
          Build the command
 
Method Summary
 
Methods inherited from class org.eclipse.gef.commands.CompoundCommand
add, canExecute, canUndo, dispose, execute, getChildren, getCommands, getLabel, isEmpty, redo, size, undo, unwrap
 
Methods inherited from class org.eclipse.gef.commands.Command
chain, getDebugLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteGraphElementCommand

public DeleteGraphElementCommand(GraphElement elt,
                                 boolean deleteEdge)
Build the command

Parameters:
elt - the GraphElement to delete
deleteEdge - specify whether connections to or from the elt should be deleted too

Modelers

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