|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.commands.CommandUtilities
Class containing commands utility methods.
| Constructor Summary | |
CommandUtilities()
|
|
| Method Summary | |
static boolean |
canRedo(Command command)
This utility function determines whether the command is redoable. |
static java.util.Collection |
getAffectedFiles(Command command)
Determines the files affected by command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandUtilities()
| Method Detail |
public static boolean canRedo(Command command)
command - The command to be examined
true if the passed command is redoablepublic static java.util.Collection getAffectedFiles(Command command)
command. Since GEF
command API has no support for #getAffectedFiles, this utility will
traverse the contents of GEF wrapper commands and determine the files
affected by the ICommands it contains.
command - the command
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.