|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdeveloper.library.JLibraryTester
Constructor Summary | |
JLibraryTester()
|
Method Summary | |
boolean |
canShutdown()
This method is called by the IDE to confirm that the ide can shutdown. |
float |
ideVersion()
This method is called to determine the ide version number for which this Addin was implemented. |
void |
initialize()
Invoked by the AddinManager after the instance of the
Addin is instantiated. |
boolean |
invoke(Context context,
java.lang.String[] params)
Invokes the object, usually called by the IDE. |
void |
shutdown()
This method is invoked by the AddinManager when the IDE
terminates. |
float |
version()
This method is called to determine the Addin version number,
(i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JLibraryTester()
Method Detail |
public float ideVersion()
Addin
Addin
was implemented.
ideVersion
in interface Addin
oracle.ide.addin.Addin
public float version()
Addin
Addin
version number,
(i.e. 1.0)
version
in interface Addin
oracle.ide.addin.Addin
public void shutdown()
Addin
AddinManager
when the IDE
terminates. Any non java resources (file handles, database connections,
etc) which are still being held by this Addin
should be
released by this method immediately. This method is not guaranteed to
be called, but on normal terminations of the IDE, this method will be
invoked.shutdown
in interface Addin
public boolean canShutdown()
canShutdown
in interface Addin
public void initialize()
Addin
AddinManager
after the instance of the
Addin
is instantiated. When invoked, The Addin
should register and menu items, and actions required for use during this
classes lifecycle. Addin
authors should take care to ensure
that any extraneous initialization is not preformed on this method, and
any startup code that can be delayed until a later time is delayed, as
the Addin
's are synchronously initialized during the
startup of the IDE, and each Addin
has the potential to
negatively impact the startup time of the product.initialize
in interface Addin
oracle.ide.addin.Addin
AddinManager
public boolean invoke(Context context, java.lang.String[] params)
Invokable
invoke
in interface Invokable
oracle.ide.addin.Invokable
context
- the context of the invocation.params
- optional arguments from the invoker
true
if the invocation was successful,
false
if it failed, or was aborted.Context
|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |