public class ChangeSetController extends java.lang.Object implements Controller
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description |
|---|
ChangeSetController() |
| Modifier and Type | Method and Description |
|---|---|
static ChangeSetAdapter |
getContextChangeSetAdapter(Context context) |
static java.lang.String |
getContextChangeSetName(Context context) |
static java.net.URL[] |
getContextURLs(Context context) |
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a
View
triggers the execution of a command. |
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the
specified context.
|
public boolean handleEvent(IdeAction action, Context context)
ControllerView
triggers the execution of a command.handleEvent in interface Controlleraction - action whose command is to be executed.public boolean update(IdeAction action, Context context)
Controllerupdate in interface Controlleraction - action whose command is to be executed.context - the current contextpublic static final ChangeSetAdapter getContextChangeSetAdapter(Context context)
public static final java.net.URL[] getContextURLs(Context context)
public static final java.lang.String getContextChangeSetName(Context context)