Extension SDK 10.1.2

oracle.ide
Class IdeMainWindow

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended byoracle.javatools.MainWindow
                          extended byoracle.ide.IdeMainWindow
All Implemented Interfaces:
javax.accessibility.Accessible, ControllerProvider, Helpable, java.awt.image.ImageObserver, java.awt.MenuContainer, Module, javax.swing.RootPaneContainer, java.io.Serializable, View, javax.swing.WindowConstants

public abstract class IdeMainWindow
extends MainWindow
implements View

This class implements the main application view. The Controller associated with this View is the Ide.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static java.lang.String ACTION_CATEGORY_EDIT
          Constant representing the action category for 'Edit' menu items.
static java.lang.String ACTION_CATEGORY_FILE
          Constant representing the action category for 'File' menu items.
static java.lang.String ACTION_CATEGORY_NAVIGATE
          Constant representing the action category for 'Navigate' menu items.
static java.lang.String ACTION_CATEGORY_SEARCH
          Constant representing the action category for 'Search' menu items.
static java.lang.String ACTION_CATEGORY_TOOLS
          Constant representing the action category for 'Tools' menu items.
static java.lang.String ACTION_CATEGORY_VIEW
          Constant representing the action category for 'View' menu items.
static java.lang.String ACTION_CATEGORY_WINDOWS
          Constant representing the action category for 'Windows' menu items.
static java.lang.String MENU_EDIT
          Constant used with Environment.getJMenu(java.lang.String) to locate the Edit menu.
static java.lang.String MENU_FILE
          Constant used with Environment.getJMenu(java.lang.String) to locate the File menu.
static java.lang.String MENU_FILE_REOPEN
          Constant used with Environment.getJMenu(java.lang.String) to locate the File | Reopen submenu.
static java.lang.String MENU_HELP
          Constant used with Environment.getJMenu(java.lang.String) to locate the Help menu.
static java.lang.String MENU_NAVIGATE
          Constant used with Environment.getJMenu(java.lang.String) to locate the Navigate menu.
static java.lang.String MENU_RUN
          Constant used with Environment.getJMenu(java.lang.String) to locate the Run menu.
static java.lang.String MENU_SEARCH
          Constant used with Environment.getJMenu(java.lang.String) to locate the Search menu.
static java.lang.String MENU_TOOLS
          Constant used with Environment.getJMenu(java.lang.String) to locate the Tools menu.
static java.lang.String MENU_VIEW
          Constant used with Environment.getJMenu(java.lang.String) to locate the View menu.
static java.lang.String MENU_VIEW_OPTIONS
          Constant used with Environment.getJMenu(java.lang.String) to locate the View | Options submenu.
static java.lang.String MENU_VIEW_TOOLBARS
          Constant used with Environment.getJMenu(java.lang.String) to locate the View | Toolbars submenu.
static java.lang.String MENU_WINDOW
          Constant used with Environment.getJMenu(java.lang.String) to locate the Window menu.
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
IdeMainWindow()
           
 
Method Summary
 void activate()
          Respond to the fact that this View is now the active view (e.g.
abstract  void addActiveViewListener(ActiveViewListener l)
          Adds the specified listener l to the list of active view listeners.
abstract  void addDynamicMenuListener(DynamicMenuListener listener)
          Adds the specified listener listener to the list of active view listeners.
abstract  void addIdeActivationListener(IdeActivationListener l)
          Adds a listener to IDE activation.
 void addViewListener(ViewListener l)
          Add a ViewListener.
 void addViewSelectionListener(ViewSelectionListener l)
          Add a ViewSelectionListener.
 void close()
          Close the view
protected  Menubar createMenubar()
           
protected  StatusBar createStatusBar()
           
protected  Toolbar createToolbar()
           
 void deactivate()
          Respond to the fact that this View is no longer the active view
protected  javax.swing.ActionMap getActionMap()
          Returns an ActionMap for the IDE's accelerator keys.
protected abstract  ActiveViewHandler getActiveViewHandler()
           
 Context getContext()
          Gets the current view context.
 Context getContext(java.util.EventObject event)
          Get the current view context for the given EventObject.
 ContextMenu getContextMenu()
          Get the ContextMenu object, if any, managed by this View.
 Controller getController()
          Get the Controller associated with this view.
 java.awt.Component getGUI()
          Get the root graphical user interface component.
 HelpInfo getHelpInfo()
           
 java.lang.String getId()
          Unique id identifying this view.
protected  javax.swing.InputMap getInputMap()
          Installs the top-level multi-keystroke input map.
abstract  View getLastActiveView()
          Gets the last active view.
 java.util.EventListener[] getListeners(java.lang.Class listenerType)
           
protected  Menubar getMenubar()
           
 Element[] getSelection()
          Get the selection.
protected  StatusBar getStatusBar()
           
 Toolbar getToolbar()
          Get the toolbar associated with this view.
abstract  java.util.List getVisibleViews()
           
 void initialize()
          When the application starts up, each module is given the opportunity to perform initialization tasks.
 View owner()
          Get the owning View.
protected  void postInitialize(IdeArgs ideArgs)
          This method is called after the addins have been loaded.
abstract  void registerView(View view)
          Register a view for participation in active view handling.
abstract  void removeActiveViewListener(ActiveViewListener l)
          Remove the specified listener l from the list of active view listeners.
abstract  void removeDynamicMenuListener(DynamicMenuListener listener)
          Remove the specified listener listener from the list of active menu listeners.
abstract  void removeIdeActivationListener(IdeActivationListener l)
          Removes a listener to IDE activation.
 void removeViewListener(ViewListener l)
          Remove a ViewListener.
 void removeViewSelectionListener(ViewSelectionListener l)
          Remmove a ViewSelectionListener.
 void setStatusBarVisible(boolean visible)
           
 void setToolbarVisible(boolean visible)
          Set the visibility of any toolbar associated with this view.
protected  void terminateIde()
           
abstract  void unregisterView(View view)
          Unregister a view from participation in active view handling.
protected  void updateStatusBarAction()
          Call this after the action has been created to ensure that the action's toggled state is synched with the property.
 void updateTitle(java.lang.Object ctx)
          Called when the view needs to update its title based on the specified object.
static void updateVisibleActions()
           
 void updateVisibleActions(UpdateInfo updateInfo)
          Called when the IDE or an extension requests that the View update the enabled state of any actions that are visible on screen.
 
Methods inherited from class oracle.javatools.MainWindow
getMainIcon, getMainTitle, getMainWindow, getMainWindow0, getWindowListener, initGeometry, loadMainMenu, setMainWindow, terminate
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.ide.addin.View
isVisible, show
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

MENU_FILE

public static final java.lang.String MENU_FILE
Constant used with Environment.getJMenu(java.lang.String) to locate the File menu.

See Also:
Constant Field Values

MENU_FILE_REOPEN

public static final java.lang.String MENU_FILE_REOPEN
Constant used with Environment.getJMenu(java.lang.String) to locate the File | Reopen submenu.

See Also:
Constant Field Values

MENU_EDIT

public static final java.lang.String MENU_EDIT
Constant used with Environment.getJMenu(java.lang.String) to locate the Edit menu.

See Also:
Constant Field Values

MENU_VIEW

public static final java.lang.String MENU_VIEW
Constant used with Environment.getJMenu(java.lang.String) to locate the View menu.

See Also:
Constant Field Values

MENU_VIEW_OPTIONS

public static final java.lang.String MENU_VIEW_OPTIONS
Constant used with Environment.getJMenu(java.lang.String) to locate the View | Options submenu.

See Also:
Constant Field Values

MENU_VIEW_TOOLBARS

public static final java.lang.String MENU_VIEW_TOOLBARS
Constant used with Environment.getJMenu(java.lang.String) to locate the View | Toolbars submenu.

See Also:
Constant Field Values

MENU_SEARCH

public static final java.lang.String MENU_SEARCH
Constant used with Environment.getJMenu(java.lang.String) to locate the Search menu.

See Also:
Constant Field Values

MENU_NAVIGATE

public static final java.lang.String MENU_NAVIGATE
Constant used with Environment.getJMenu(java.lang.String) to locate the Navigate menu.

See Also:
Constant Field Values

MENU_RUN

public static final java.lang.String MENU_RUN
Constant used with Environment.getJMenu(java.lang.String) to locate the Run menu.

See Also:
Constant Field Values

MENU_TOOLS

public static final java.lang.String MENU_TOOLS
Constant used with Environment.getJMenu(java.lang.String) to locate the Tools menu.

See Also:
Constant Field Values

MENU_WINDOW

public static final java.lang.String MENU_WINDOW
Constant used with Environment.getJMenu(java.lang.String) to locate the Window menu.

See Also:
Constant Field Values

MENU_HELP

public static final java.lang.String MENU_HELP
Constant used with Environment.getJMenu(java.lang.String) to locate the Help menu.

See Also:
Constant Field Values

ACTION_CATEGORY_FILE

public static final java.lang.String ACTION_CATEGORY_FILE
Constant representing the action category for 'File' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_EDIT

public static final java.lang.String ACTION_CATEGORY_EDIT
Constant representing the action category for 'Edit' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_VIEW

public static final java.lang.String ACTION_CATEGORY_VIEW
Constant representing the action category for 'View' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_SEARCH

public static final java.lang.String ACTION_CATEGORY_SEARCH
Constant representing the action category for 'Search' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_NAVIGATE

public static final java.lang.String ACTION_CATEGORY_NAVIGATE
Constant representing the action category for 'Navigate' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_TOOLS

public static final java.lang.String ACTION_CATEGORY_TOOLS
Constant representing the action category for 'Tools' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.


ACTION_CATEGORY_WINDOWS

public static final java.lang.String ACTION_CATEGORY_WINDOWS
Constant representing the action category for 'Windows' menu items.

This constant should be used when creating the IdeAction associated with a Command to classify the action by category. The value of this constant is a translatable string that is presented to the user in the IDE Preferences dialog for keyboard accelerator customization.

Constructor Detail

IdeMainWindow

public IdeMainWindow()
Method Detail

registerView

public abstract void registerView(View view)
Register a view for participation in active view handling. Focus events are monitored in order to determine the View from whose GUI hierarchy the event was fired. Once determined, that View is set as the active view and an ActiveViewEvent is fired.

See Also:
unregisterView(View)

unregisterView

public abstract void unregisterView(View view)
Unregister a view from participation in active view handling.

See Also:
registerView(View)

getLastActiveView

public abstract View getLastActiveView()
Gets the last active view. The main application view keeps track of the last active view.

Returns:
the last active view.

getVisibleViews

public abstract java.util.List getVisibleViews()

getActiveViewHandler

protected abstract ActiveViewHandler getActiveViewHandler()

addActiveViewListener

public abstract void addActiveViewListener(ActiveViewListener l)
Adds the specified listener l to the list of active view listeners. These listeners are called every time a view becomes active.


removeActiveViewListener

public abstract void removeActiveViewListener(ActiveViewListener l)
Remove the specified listener l from the list of active view listeners.


addIdeActivationListener

public abstract void addIdeActivationListener(IdeActivationListener l)
Adds a listener to IDE activation.


removeIdeActivationListener

public abstract void removeIdeActivationListener(IdeActivationListener l)
Removes a listener to IDE activation.


addDynamicMenuListener

public abstract void addDynamicMenuListener(DynamicMenuListener listener)
Adds the specified listener listener to the list of active view listeners. Listeners are notified before the dynamic menu is displayed, and can add any relevent commands to the dynamic menu.


removeDynamicMenuListener

public abstract void removeDynamicMenuListener(DynamicMenuListener listener)
Remove the specified listener listener from the list of active menu listeners.


updateVisibleActions

public static final void updateVisibleActions()

getController

public Controller getController()
Description copied from interface: ControllerProvider
Get the Controller associated with this view.

Specified by:
getController in interface ControllerProvider

owner

public View owner()
Description copied from interface: View
Get the owning View. In general, views should return the IdeMainWindow as their owner, but should return a different value if nested within another View.

Specified by:
owner in interface View

close

public void close()
Description copied from interface: View
Close the view

Specified by:
close in interface View

getGUI

public java.awt.Component getGUI()
Description copied from interface: View
Get the root graphical user interface component.

Specified by:
getGUI in interface View

getContext

public Context getContext()
Description copied from interface: View
Gets the current view context.

Specified by:
getContext in interface View

getContext

public Context getContext(java.util.EventObject event)
Description copied from interface: View
Get the current view context for the given EventObject.

Specified by:
getContext in interface View
Parameters:
event - event associated with the context;

getContextMenu

public ContextMenu getContextMenu()
Description copied from interface: View
Get the ContextMenu object, if any, managed by this View.

Specified by:
getContextMenu in interface View

activate

public void activate()
Description copied from interface: View
Respond to the fact that this View is now the active view (e.g. adding/removing toolbars etc.).

Specified by:
activate in interface View

deactivate

public void deactivate()
Description copied from interface: View
Respond to the fact that this View is no longer the active view

Specified by:
deactivate in interface View

getSelection

public final Element[] getSelection()
Description copied from interface: View
Get the selection. Within a view multiple objects can be selected. This method returns an array of selected objects.

Specified by:
getSelection in interface View

getId

public java.lang.String getId()
Description copied from interface: View
Unique id identifying this view. In general, the id is made up of the name of the view and the element name loaded in the view. For example, a navigator window may have the following id: NavigatorWindow.Project1 where Project1 is the name component of the project node.

Specified by:
getId in interface View

updateTitle

public void updateTitle(java.lang.Object ctx)
Description copied from interface: View
Called when the view needs to update its title based on the specified object.

Specified by:
updateTitle in interface View

updateVisibleActions

public void updateVisibleActions(UpdateInfo updateInfo)
Description copied from interface: View
Called when the IDE or an extension requests that the View update the enabled state of any actions that are visible on screen. Typically this will involve updating actions that are in visible toolbars. If a View contains or manages other nested instances of View, the outer call to updateVisibleActions should propagate inward to call the updateVisibleActions of all visible, nested Views.

Specified by:
updateVisibleActions in interface View
Parameters:
updateInfo - This parameter provides information on what is triggering the update. Implementations may make use of this information to decide whether or not an update is necessary, since updating the enabled state of a toolbar button may be a lengthy operation. For example, buttons that control a remote debugger would involve network I/O and evaluating their updated state could be avoided if the updateInfo indicates that the source of the update is not relevant to the debugger.

getToolbar

public Toolbar getToolbar()
Description copied from interface: View
Get the toolbar associated with this view.

Specified by:
getToolbar in interface View

setStatusBarVisible

public void setStatusBarVisible(boolean visible)

setToolbarVisible

public void setToolbarVisible(boolean visible)
Description copied from interface: View
Set the visibility of any toolbar associated with this view.

Specified by:
setToolbarVisible in interface View
Parameters:
visible - true to display the Toolbar, false to hide the Toolbar

addViewListener

public void addViewListener(ViewListener l)
Description copied from interface: View
Add a ViewListener.

Specified by:
addViewListener in interface View
Parameters:
l - the ViewListener to add.

removeViewListener

public void removeViewListener(ViewListener l)
Description copied from interface: View
Remove a ViewListener.

Specified by:
removeViewListener in interface View
Parameters:
l - the ViewListener to remove.

addViewSelectionListener

public void addViewSelectionListener(ViewSelectionListener l)
Description copied from interface: View
Add a ViewSelectionListener.

Specified by:
addViewSelectionListener in interface View
Parameters:
l - the ViewSelectionListener to add.

removeViewSelectionListener

public void removeViewSelectionListener(ViewSelectionListener l)
Description copied from interface: View
Remmove a ViewSelectionListener.

Specified by:
removeViewSelectionListener in interface View
Parameters:
l - the ViewSelectionListener to remove.

getHelpInfo

public HelpInfo getHelpInfo()
Specified by:
getHelpInfo in interface Helpable

initialize

public void initialize()
Description copied from interface: Module
When the application starts up, each module is given the opportunity to perform initialization tasks.

Specified by:
initialize in interface Module
Overrides:
initialize in class MainWindow

getListeners

public java.util.EventListener[] getListeners(java.lang.Class listenerType)

postInitialize

protected void postInitialize(IdeArgs ideArgs)
This method is called after the addins have been loaded. It does final main window initialization just before the main window becomes visible.


getMenubar

protected final Menubar getMenubar()

createMenubar

protected Menubar createMenubar()

createToolbar

protected Toolbar createToolbar()

getStatusBar

protected final StatusBar getStatusBar()

updateStatusBarAction

protected void updateStatusBarAction()
Call this after the action has been created to ensure that the action's toggled state is synched with the property.


createStatusBar

protected StatusBar createStatusBar()

getActionMap

protected javax.swing.ActionMap getActionMap()
Returns an ActionMap for the IDE's accelerator keys.


getInputMap

protected javax.swing.InputMap getInputMap()
Installs the top-level multi-keystroke input map.


terminateIde

protected final void terminateIde()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.