|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.hunsicker.jalopy.plugin.AbstractPlugin | +--de.hunsicker.jalopy.plugin.jdeveloper.JDevPlugin
The Jalopy JDeveloper Extension.
Field Summary | |
static java.lang.String |
FORMAT_CMD
The Format command string |
static int |
FORMAT_CMD_ID
The id for the Format command. |
static java.lang.String |
PREFERENCES_CMD
The Preferences command string |
static int |
PREFERENCES_CMD_ID
The id for the Preferences command. |
Fields inherited from class de.hunsicker.jalopy.plugin.AbstractPlugin |
appender, jalopy |
Constructor Summary | |
JDevPlugin()
Default constructor. |
Method Summary | |
boolean |
canShutdown()
Determines whether the IDE can shutdown. |
void |
checkCommands(oracle.ide.addin.Context context,
oracle.ide.addin.Controller activeController)
Checks the state of the context sensitive actions. |
de.hunsicker.jalopy.plugin.Project |
getActiveProject()
|
de.hunsicker.io.FileFormat |
getFileFormat()
|
java.awt.Frame |
getMainWindow()
|
de.hunsicker.jalopy.plugin.StatusBar |
getStatusBar()
|
static java.lang.String |
getVersion()
Returns the version information of this Addin. |
boolean |
handleDefaultAction(oracle.ide.addin.Context context)
Called when the user double clicks on an item that has a popup menu. |
boolean |
handleEvent(oracle.ide.IdeAction action,
oracle.ide.addin.Context context)
Called when the user interaction with the View triggers the execution
of a command. |
float |
ideVersion()
Returns the version of the IDE for which this Addin was implemented. |
void |
initialize()
Initializes the Addin. |
void |
poppingDown(oracle.ide.ContextMenu menu)
Called just before the context menu disappears. |
void |
poppingUp(oracle.ide.ContextMenu menu)
Called just before the context menu is popping up. |
void |
shutdown()
Called when shutting down the IDE. |
oracle.ide.addin.Controller |
supervisor()
Gets the supervising controller. |
boolean |
update(oracle.ide.IdeAction action,
oracle.ide.addin.Context context)
Updates the enabled status of the specified action within the specified context. |
float |
version()
Returns the version of the Addin. |
Methods inherited from class de.hunsicker.jalopy.plugin.AbstractPlugin |
afterEnd, beforeStart, createProgressMonitor, displayError, executeAsynchron, executeSynchron, getElapsed, getEngine, getLastAction, getState, hideWaitCursor, interrupt, isRunning, performAction, showWaitCursor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FORMAT_CMD_ID
public static final int PREFERENCES_CMD_ID
public static final java.lang.String FORMAT_CMD
public static final java.lang.String PREFERENCES_CMD
Constructor Detail |
public JDevPlugin()
Method Detail |
public static java.lang.String getVersion()
public de.hunsicker.jalopy.plugin.Project getActiveProject()
getActiveProject
in class de.hunsicker.jalopy.plugin.AbstractPlugin
public de.hunsicker.io.FileFormat getFileFormat()
getFileFormat
in class de.hunsicker.jalopy.plugin.AbstractPlugin
public java.awt.Frame getMainWindow()
getMainWindow
in class de.hunsicker.jalopy.plugin.AbstractPlugin
public de.hunsicker.jalopy.plugin.StatusBar getStatusBar()
getStatusBar
in class de.hunsicker.jalopy.plugin.AbstractPlugin
public boolean canShutdown()
canShutdown
in interface oracle.ide.addin.Addin
true
public void checkCommands(oracle.ide.addin.Context context, oracle.ide.addin.Controller activeController)
context
- the current context.activeController
- the controller associated with the active view.public boolean handleDefaultAction(oracle.ide.addin.Context context)
handleDefaultAction
in interface oracle.ide.addin.ContextMenuListener
context
- the current context
false
public boolean handleEvent(oracle.ide.IdeAction action, oracle.ide.addin.Context context)
View
triggers the execution
of a command.
handleEvent
in interface oracle.ide.addin.Controller
action
- action whose command is to be executed.context
- the context of the action.
true
if the controller handles the specified command.public float ideVersion()
ideVersion
in interface oracle.ide.addin.Addin
public void initialize()
initialize
in interface oracle.ide.addin.Addin
public void poppingDown(oracle.ide.ContextMenu menu)
poppingDown
in interface oracle.ide.addin.ContextMenuListener
menu
- the current context menu.public void poppingUp(oracle.ide.ContextMenu menu)
poppingUp
in interface oracle.ide.addin.ContextMenuListener
menu
- the current context menu.public void shutdown()
shutdown
in interface oracle.ide.addin.Addin
public oracle.ide.addin.Controller supervisor()
null
.public boolean update(oracle.ide.IdeAction action, oracle.ide.addin.Context context)
update
in interface oracle.ide.addin.Controller
action
- action whose command is to be executed.context
- the current context.
true
if the controller handles the specified command.public float version()
version
in interface oracle.ide.addin.Addin
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |