Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide
Class IDE  view IDE download IDE.java

java.lang.Object
  extended byjavax.ide.Service
      extended byjavax.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

Field Summary
private  java.util.Collection _listeners
           
private static javax.ide.util.Version EDK_VERSION
           
 
Fields inherited from class javax.ide.Service
 
Constructor Summary
IDE()
           
 
Method Summary
private  void addIDEListener(IDEListener listener)
           
protected  void fireIDEActivated()
          Fire an IDEActivated event to all registered listeners.
protected  void fireIDEDeactivated()
          Fire an IDEDeactivated event to all registered listeners.
 javax.ide.menu.ActionRegistry getActionRegistry()
          Extension that need to lookup an action use javax.ide.menu.ActionRegistry service.
 javax.ide.build.BuildSystem getBuildSystem()
          Get the javax.ide.build.BuildSystem.
 javax.ide.command.CommandProcessor getCommandProcessor()
          Get the javax.ide.command.CommandProcessor.
 javax.ide.debug.Debugger getDebugger()
          Get the javax.ide.debug.Debugger.
 javax.ide.model.DocumentFactory getDocumentFactory()
          Get the javax.ide.model.DocumentFactory.
 javax.ide.editor.EditorManager getEditorManager()
          Get the javax.ide.editor.EditorManager.
 javax.ide.util.Version getEDKVersion()
          Get Extension Development Kit version number.
 javax.ide.extension.ExtensionRegistry getExtensionRegistry()
          Get the javax.ide.extension.ExtensionRegistry.
 javax.ide.view.GUIUtilities getGUIUtilities()
          Get the javax.ide.view.GUIUtilities.
static IDE getIDE()
          Get the ide implementation.
 javax.ide.log.LogManager getLogManager()
          Get the javax.ide.log.LogManager.
abstract  java.lang.String getProductName()
          Get the IDE product name.
 javax.ide.property.PropertyPageRegistry getPropertyPageRegistry()
          Get the javax.ide.property.PropertyPageRegistry.
abstract  java.net.URI getUserHome()
          Get the directory where the user work is saved.
 javax.ide.wizard.WizardManager getWizardManager()
          Get the javax.ide.wizard.WizardManager.
protected  void initialize()
          Initialize this manager.
 
Methods inherited from class javax.ide.Service
getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDK_VERSION

private static final javax.ide.util.Version EDK_VERSION

_listeners

private final java.util.Collection _listeners
Constructor Detail

IDE

public IDE()
Method Detail

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.