java.lang.Object
javax.ide.Service
javax.ide.IDE
- public abstract class IDE
- extends Service
This is the object that centralizes general IDE environment information and
services. Extensions use the IDE interface to access standard services.
Extensions can locate the IDE environment object using the
getIDE() 55 method.
IDE providers must extend this class and provide an implementation of
getProductName() 55 and getUserHome() 55 .
- Since:
- 1.0
| Fields inherited from class javax.ide.Service |
|
|
Constructor Summary |
IDE()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDK_VERSION
private static final javax.ide.util.Version EDK_VERSION
_listeners
private final java.util.Collection _listeners
IDE
public IDE()
getProductName
public abstract java.lang.String getProductName()
- Get the IDE product name.
getEDKVersion
public javax.ide.util.Version getEDKVersion()
- Get Extension Development Kit version number.
getUserHome
public abstract java.net.URI getUserHome()
- Get the directory where the user work is saved. This is the default
directory under which end user documents are saved. Extension use the
returned value to suggest the filepath where a new document is going to
be created when the user invokes a document creation wizard.
getActionRegistry
public javax.ide.menu.ActionRegistry getActionRegistry()
- Extension that need to lookup an action use javax.ide.menu.ActionRegistry service.
getExtensionRegistry
public javax.ide.extension.ExtensionRegistry getExtensionRegistry()
- Get the javax.ide.extension.ExtensionRegistry.
getDocumentFactory
public javax.ide.model.DocumentFactory getDocumentFactory()
- Get the javax.ide.model.DocumentFactory.
getEditorManager
public javax.ide.editor.EditorManager getEditorManager()
- Get the javax.ide.editor.EditorManager.
getCommandProcessor
public javax.ide.command.CommandProcessor getCommandProcessor()
- Get the javax.ide.command.CommandProcessor.
getLogManager
public javax.ide.log.LogManager getLogManager()
- Get the javax.ide.log.LogManager.
getWizardManager
public javax.ide.wizard.WizardManager getWizardManager()
- Get the javax.ide.wizard.WizardManager.
getDebugger
public javax.ide.debug.Debugger getDebugger()
- Get the javax.ide.debug.Debugger.
getBuildSystem
public javax.ide.build.BuildSystem getBuildSystem()
- Get the javax.ide.build.BuildSystem.
getPropertyPageRegistry
public javax.ide.property.PropertyPageRegistry getPropertyPageRegistry()
- Get the javax.ide.property.PropertyPageRegistry.
getGUIUtilities
public javax.ide.view.GUIUtilities getGUIUtilities()
- Get the javax.ide.view.GUIUtilities.
addIDEListener
private void addIDEListener(IDEListener listener)
fireIDEActivated
protected final void fireIDEActivated()
- Fire an IDEActivated event to all registered listeners.
fireIDEDeactivated
protected final void fireIDEDeactivated()
- Fire an IDEDeactivated event to all registered listeners.
initialize
protected void initialize()
- Description copied from class:
Service
- Initialize this manager. This is called the first time a manager is
retrieved programmatically. The manager should process necessary
information from the extension manifest to initialize itself.
This implementation does nothing.
- Overrides:
initialize in class Service
getIDE
public static IDE getIDE()
- Get the ide implementation.