EditorContext Interface
- public interface EditorContext
This will be passed into control wizards and editors to allow limited
access to the IDE framework.
-
All Known Subinterfaces
-
ControlAttribute
, ControlBehaviorContext
, ControlExtensionInstance
, ControlExtensionInterface
, ControlMethod
, ControlTag
ensureServerRunning() Method
public boolean ensureServerRunning()
Starts the server if it is not already started.
Returns
- true if the server has started, false if it failed to start or the
user closed the dialog.
getComponentsDir() Method
public File
getComponentsDir()
Returns
- the File representing the component library. Control authors should take
care to only make changes in subdirectories corresponding to their vendorname.
getLogPrintStream() Method
public PrintStream
getLogPrintStream()
Returns
- an OutputStream suitable for logging informational messages. This
should be used in place of System.out.
getMBeanHome() Method
public Object
getMBeanHome()
Allow connections to the WebLogic server.
Returns
- the MBEanHome of the current server, or null if it is not available.
getProjectDir() Method
public File
getProjectDir()
Returns
- the File representing the current project directory.
invokeBrowser(URL) Method
public void invokeBrowser(URL
targetURL)
Invokes a browser on the given URL.
Parameters
-
targetURL
- the page to start the browser session.