|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdevimpl.bookmarks.BookmarkAddin
public final class BookmarkAddin
The BookmarkAddin is the Addin implementation and Controller implementation for the bookmark support.
| Field Summary | |
|---|---|
static int |
GOTO_BOOKMARK_CMD_ID |
static int |
NEXT_BOOKMARK_CMD_ID |
static int |
PREV_BOOKMARK_CMD_ID |
static int |
REMOVE_ALL_BOOKMARKS_CMD_ID |
static int |
REMOVE_BOOKMARKS_FROM_FILE_CMD_ID |
static int |
TOGGLE_BOOKMARK_CMD_ID |
static java.lang.String |
VIEW_TYPE |
| 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 | |
|---|---|
BookmarkAddin()Contructs a new BookmarkAddin. |
|
| Method Summary | |
|---|---|
boolean |
canShutdown()Called on shutdown hooks in the order they were registered prior to shutting down the IDE. |
boolean |
handleDefaultAction(Context context)Called when the user double clicks on an item that has a popup menu. |
boolean |
handleEvent(IdeAction action, Context context)This method is called when a user interaction with a View triggers the execution of a command. |
void |
initialize()This method is called by the IDE to request that the feature be initialized. |
void |
menuWillHide(ContextMenu popup)Called just before the context menu is popping down. |
void |
menuWillShow(ContextMenu popup)Called just before the context menu is popping up. |
void |
shutdown()This method is called by the IDE to request that the feature be shutdown. |
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 |
| Field Detail |
|---|
public static final int TOGGLE_BOOKMARK_CMD_ID
public static final int GOTO_BOOKMARK_CMD_ID
public static final int NEXT_BOOKMARK_CMD_ID
public static final int PREV_BOOKMARK_CMD_ID
public static final int REMOVE_BOOKMARKS_FROM_FILE_CMD_ID
public static final int REMOVE_ALL_BOOKMARKS_CMD_ID
public static final java.lang.String VIEW_TYPE
| Constructor Detail |
|---|
public BookmarkAddin()
BookmarkAddin. This also takes care of creating our actions and menu items.| Method Detail |
|---|
public void initialize()
initialize in interface AddinAddinManagerpublic boolean canShutdown()
ShutdownHookcanShutdown in interface ShutdownHookpublic void shutdown()
shutdown in interface ShutdownHook
public boolean handleEvent(IdeAction action,
Context context)
View triggers the execution of a command.handleEvent in interface Controlleraction - action whose command is to be executed.
public boolean update(IdeAction action,
Context context)
update in interface Controlleraction - action whose command is to be executed.context - the current contextpublic void menuWillShow(ContextMenu popup)
menuWillShow in interface ContextMenuListenerpopup - the current view contextpublic void menuWillHide(ContextMenu popup)
menuWillHide in interface ContextMenuListenerpopup - the current view contextpublic boolean handleDefaultAction(Context context)
handleDefaultAction in interface ContextMenuListenercontext - the current context
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||