|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.deploy.dt.DeployDesignTime
public abstract class DeployDesignTime
This class defines the protocol between the Deployment
class and any classes that provide deploy-addin-specific design-time
functionality.
Field Summary |
---|
Fields inherited from interface oracle.ide.controller.Controller |
---|
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED |
Constructor Summary | |
---|---|
DeployDesignTime()
|
Method Summary | |
---|---|
protected DeployMenuItem |
createDeployMenuItem(java.lang.String commandName)
|
protected DeployMenuItem |
createDeployMenuItem(java.lang.String commandName,
Profile profile)
|
protected DeployMenuItem |
createDeployMenuItem(java.lang.String commandName,
Profile profile,
java.lang.String label)
|
protected IdeAction |
createIdeAction(java.lang.String commandName,
java.lang.String label)
|
protected java.lang.String |
getDefaultCommand()
Should be overridden by subclass to support the Deployment.deploy(String) method. |
protected java.lang.String |
getLabelForCommand(java.lang.String commandName)
Should be overridden by subclass if findOrCreateIdeAction(..) or createDeployMenuItem(..) are used. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a context menu. |
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a View
triggers the execution of a command. |
protected static boolean |
isInSupportedNavigator(Context context)
|
protected static boolean |
isInSupportedNavigator(ContextMenu popup)
|
void |
menuWillHide(ContextMenu popup)
This method is called just before a showing context menu is dismissed. |
void |
menuWillShow(ContextMenu popup)
The default implementation removes all menu items from the context menu. |
void |
startup()
Called when the addin is loaded. |
static java.lang.Object |
unwrapData(Context context)
|
static java.lang.Object |
unwrapData(ContextMenu popup)
|
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the specified context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeployDesignTime()
Method Detail |
---|
protected IdeAction createIdeAction(java.lang.String commandName, java.lang.String label)
protected final DeployMenuItem createDeployMenuItem(java.lang.String commandName)
protected final DeployMenuItem createDeployMenuItem(java.lang.String commandName, Profile profile)
protected final DeployMenuItem createDeployMenuItem(java.lang.String commandName, Profile profile, java.lang.String label)
protected java.lang.String getDefaultCommand()
protected java.lang.String getLabelForCommand(java.lang.String commandName)
public void startup()
DeployAddin
startup
in interface DeployAddin
public void menuWillShow(ContextMenu popup)
menuWillShow
in interface ContextMenuListener
popup
- the context menu being shownpublic void menuWillHide(ContextMenu popup)
ContextMenuListener
ContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu)
, since the IDE takes care of that
automatically.
menuWillHide
in interface ContextMenuListener
popup
- the context menu being hiddenpublic boolean handleDefaultAction(Context context)
ContextMenuListener
true
; otherwise it must return
false
. Processing of handleDefaultAction
stops on the first return of true
.
handleDefaultAction
in interface ContextMenuListener
context
- the context on which the default action needs
to occur.protected static boolean isInSupportedNavigator(ContextMenu popup)
protected static boolean isInSupportedNavigator(Context context)
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
public static java.lang.Object unwrapData(ContextMenu popup)
public static java.lang.Object unwrapData(Context context)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |