|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.spi.VCSController
Abstract superclass for version client controllers.
This controller is a utility controller that will automatically enable or disable actions based on VCSAbstractCommands, using the isAvailable() method on the command. This controller also ensures that commands are executed on a thread other than the AWT event thread so that UI remains responsive while the command is being executed.
Constructor Summary | |
VCSController(java.lang.Package commandPackage)
Construct a client controller. |
Method Summary | |
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a View
triggers the execution of a command. |
protected void |
handleEventImpl(IdeAction action,
Context context)
Provides event handler implementation for the given action and context. |
protected boolean |
isHandledAction(IdeAction action)
Is the specified action handled by this controller? |
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the specified context. |
protected void |
updateImpl(IdeAction action,
Context context)
Provides action update implementation for the given action and context (handled actions only). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VCSController(java.lang.Package commandPackage)
Method Detail |
protected boolean isHandledAction(IdeAction action)
public boolean handleEvent(IdeAction action, Context context)
Controller
View
triggers the execution of a command.
handleEvent
in interface Controller
action
- action whose command is to be executed.
public boolean update(IdeAction action, Context context)
Controller
update
in interface Controller
action
- action whose command is to be executed.context
- the current context
protected void updateImpl(IdeAction action, Context context)
action
- the action whose command is to be executed.context
- the current context.protected void handleEventImpl(IdeAction action, Context context)
action
- the action whose command is to be executed.context
- the current context.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.