|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.compiler.JCompiler
The JDebugger manages all debugger objects.
| Field Summary | |
static java.lang.String |
BUILD_PROJECT_CMD
|
static int |
BUILD_PROJECT_CMD_ID
|
static java.lang.String |
BUILD_SELECTED_CMD
|
static int |
BUILD_SELECTED_CMD_ID
|
static java.lang.String |
BUILD_WORKSPACE_CMD
|
static int |
BUILD_WORKSPACE_CMD_ID
|
static java.lang.String |
CANCEL_BUILD_CMD
|
static int |
CANCEL_BUILD_CMD_ID
|
static java.lang.String |
COMPILER_CONFIG_DATA_KEY
|
static java.lang.String |
MAKE_PROJECT_CMD
|
static int |
MAKE_PROJECT_CMD_ID
|
static java.lang.String |
MAKE_SELECTED_CMD
|
static int |
MAKE_SELECTED_CMD_ID
|
static java.lang.String |
MAKE_WORKSPACE_CMD
|
static int |
MAKE_WORKSPACE_CMD_ID
|
| Constructor Summary | |
JCompiler()
Constructor. |
|
| Method Summary | |
boolean |
addBuildSystemListener(BuildSystemListener bsl)
addBuildSystemListener method adds a build system listener instance implementation to the build system, see BuildSystemListener
for more information. |
boolean |
addCopyListener(CopyListener cl)
addCopyListener method adds a copy listener instance implementation to the build system, see CopyListener for more information. |
boolean |
canShutdown()
This method is called by the IDE to confirm that the ide can shutdown |
void |
checkCommands(Context context,
Controller activeController)
This method should be called when an action that changes the command avialability happens. |
boolean |
compile(Context context,
boolean rebuild,
boolean wait)
Will compile the specified node. |
boolean |
compile(Context context,
boolean rebuild,
boolean wait,
boolean save)
|
LogPage |
getErrorLog()
|
static JCompiler |
getInstance()
The Debugger folder is a singleton class. |
LogPage |
getOutputLog()
get{Output|Error}Log gets the default compiler output/error log. |
java.net.URL |
getURLFromClassName(Context context,
java.lang.String className)
|
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. |
float |
ideVersion()
This method is called to determine the ide version number for which this feature was implemented. |
void |
initialize()
This method is called by the IDE to request that the feature be initialize |
boolean |
isBusy(Context context)
Will return true if the build system is already busy building and not currently available. |
boolean |
lock(Context context,
boolean wait)
lock/unlock the context (may be project, workspace, file, ...) and return true if the opeartion was successful. |
void |
logOutMsg(java.lang.String msg)
logOutMsg log a message on the default compiler output log |
void |
poppingDown(ContextMenu popup)
|
void |
poppingUp(ContextMenu popup)
Called just before the context menu is popping up. |
void |
registerNavigable(Navigable navigable)
Registers a Navigable as a child of the Compiler
Navigable in the Project Settings Dialog. |
void |
registerTranslator(Translator translator)
Entry point to register compiler translators |
boolean |
removeBuildSystemListener(BuildSystemListener bsl)
removeBuildSystemListener method removes a build system listener instance implementation from the build system, see BuildSystemListener
for more information. |
boolean |
removeCopyListener(CopyListener cl)
removeCopyListener method removes a copy listener instance implementation from the build system, see CopyListener for more information. |
void |
shutdown()
This method is called by the IDE to request that the feature release any resources held before the ide shuts down.. |
void |
stopBuild(Context context)
Will return true if the build system is already busy building and not currently available. |
Controller |
supervisor()
Gets the supervising controller. |
boolean |
unlock(Context context)
|
void |
unregisterTranslator(Translator translator)
Entry point to remove compiler translators |
boolean |
update(IdeAction action,
Context context)
This method is called when the availability of a specific command needs to be determined. |
void |
update(java.lang.Object observed,
UpdateMessage change)
Notification message. |
float |
version()
This method is called to determine the feature version number, i.e. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAKE_SELECTED_CMD_ID
public static final java.lang.String MAKE_SELECTED_CMD
public static final int BUILD_SELECTED_CMD_ID
public static final java.lang.String BUILD_SELECTED_CMD
public static final int MAKE_PROJECT_CMD_ID
public static final java.lang.String MAKE_PROJECT_CMD
public static final int BUILD_PROJECT_CMD_ID
public static final java.lang.String BUILD_PROJECT_CMD
public static final int MAKE_WORKSPACE_CMD_ID
public static final java.lang.String MAKE_WORKSPACE_CMD
public static final int BUILD_WORKSPACE_CMD_ID
public static final java.lang.String BUILD_WORKSPACE_CMD
public static final int CANCEL_BUILD_CMD_ID
public static final java.lang.String CANCEL_BUILD_CMD
public static final java.lang.String COMPILER_CONFIG_DATA_KEY
| Constructor Detail |
public JCompiler()
| Method Detail |
public static JCompiler getInstance()
Debugger folder is a singleton class. This method
gets this folder's single instance.
Debugger folder single instance.public Controller supervisor()
supervisor in interface Controller
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 - the action associated with this command. Call the
action's setEnabled method to set the appropriate
command sensitivity.context - the current context
public void update(java.lang.Object observed,
UpdateMessage change)
Observer
update in interface Observerobserved - the subject whose state has changed.change - what has changed.
public void checkCommands(Context context,
Controller activeController)
checkCommands in interface Controllercontext - the current context. Null values are acceptable.activeController - the controller associated with the active view.
Null values are acceptable.public void initialize()
initialize in interface AddinAddinManagerpublic void shutdown()
shutdown in interface Addinpublic boolean canShutdown()
canShutdown in interface Addinpublic float version()
version in interface Addinpublic float ideVersion()
ideVersion in interface Addinpublic void poppingUp(ContextMenu popup)
poppingUp in interface ContextMenuListenerpublic void poppingDown(ContextMenu popup)
poppingDown in interface ContextMenuListenerpublic boolean handleDefaultAction(Context context)
handleDefaultAction in interface ContextMenuListenercontext - the current contextpublic boolean isBusy(Context context)
isBusy in interface Compilerpublic void stopBuild(Context context)
public boolean compile(Context context,
boolean rebuild,
boolean wait)
compile in interface Compilercontext - -- workspace, project or file to compilerebuild - -- if true, unconditionally rebuild sourceswait - -- if true, wait for compile to terminate
public boolean compile(Context context,
boolean rebuild,
boolean wait,
boolean save)
compile in interface Compiler
public java.net.URL getURLFromClassName(Context context,
java.lang.String className)
public boolean addCopyListener(CopyListener cl)
CopyListener for more information.
addCopyListener in interface Compilercl - -- copy listener to add
public boolean removeCopyListener(CopyListener cl)
CopyListener for more information.
removeCopyListener in interface Compilercl - -- copy listener to remove
public boolean addBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.
addBuildSystemListener in interface Compilerbsl - build system listener to add
public boolean removeBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.
removeBuildSystemListener in interface Compilerbsl - build system listener to remove
public boolean lock(Context context,
boolean wait)
Compiler
lock in interface Compilercontext - -- workspace, project or file to lock/unlockwait - -- if true, wait for compilation to terminate
public boolean unlock(Context context)
unlock in interface Compilerpublic LogPage getOutputLog()
Compiler
getOutputLog in interface Compilerpublic void logOutMsg(java.lang.String msg)
Compiler
logOutMsg in interface Compilermsg - -- msg to print on the logpublic LogPage getErrorLog()
getErrorLog in interface Compilerpublic void registerTranslator(Translator translator)
public void unregisterTranslator(Translator translator)
public void registerNavigable(Navigable navigable)
Navigable as a child of the Compiler
Navigable in the Project Settings Dialog.
navigable - The child Navigable to add.
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.