|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
oracle.ide.MainWindow
MainWindow
class implements the main application view.
The Controller
associated with this view is the
Ide
.
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
|
static java.lang.String |
ACTION_CATEGORY_FILE
Command action categories. |
static java.lang.String |
ACTION_CATEGORY_PROJECT
|
static java.lang.String |
ACTION_CATEGORY_SEARCH
|
static java.lang.String |
ACTION_CATEGORY_TOOLS
|
static java.lang.String |
ACTION_CATEGORY_VIEW
|
static java.lang.String |
ACTION_CATEGORY_WINDOWS
|
static javax.swing.JMenuItem |
BrowseSymbol
|
static javax.swing.JMenuItem |
Close
|
static javax.swing.JMenuItem |
CloseAll
|
static javax.swing.JMenuItem |
CloseNode
|
static javax.swing.JMenuItem |
Copy
|
static javax.swing.JMenuItem |
Cut
|
static javax.swing.JMenuItem |
DefaultProjectSettings
|
static javax.swing.JMenuItem |
Delete
|
static javax.swing.JMenu |
Edit
|
static javax.swing.JMenuItem |
Exit
|
static javax.swing.JMenuItem |
Explorer
|
static javax.swing.JMenu |
File
Main application window menus |
static javax.swing.JMenuItem |
Find
|
static javax.swing.JMenuItem |
GotoLineNumber
|
static javax.swing.JMenuItem |
IdeSettings
|
static javax.swing.JMenuItem |
Import
|
static javax.swing.JMenuItem |
IncrementalSearchBackward
|
static javax.swing.JMenuItem |
IncrementalSearchForward
|
static javax.swing.JMenuItem |
Inspector
|
static java.lang.String |
MENU_EDIT
|
static java.lang.String |
MENU_FILE
|
static java.lang.String |
MENU_HELP
|
static java.lang.String |
MENU_SEARCH
|
static java.lang.String |
MENU_TOOLS
|
static java.lang.String |
MENU_VIEW
|
static java.lang.String |
MENU_WINDOW
|
static javax.swing.JMenuItem |
MessageView
|
static javax.swing.JMenuItem |
Navigate
|
static javax.swing.JMenuItem |
New
|
static javax.swing.JMenuItem |
NewNavigator
|
static javax.swing.JMenuItem |
NextEditor
|
static javax.swing.JMenuItem |
NextEditorFrame
|
static javax.swing.JMenuItem |
NextMsg
|
static javax.swing.JMenuItem |
Open
|
static javax.swing.JMenuItem |
Paste
|
static javax.swing.JMenuItem |
PrevEditor
|
static javax.swing.JMenuItem |
PrevEditorFrame
|
static javax.swing.JMenuItem |
PrevMsg
|
static javax.swing.JMenuItem |
Print
|
static javax.swing.JMenuItem |
PrinterSetup
|
static javax.swing.JMenu |
Project
|
static javax.swing.JMenuItem |
ProjectSettings
|
static javax.swing.JMenuItem |
Properties
|
static javax.swing.JMenuItem |
Redo
|
static java.lang.String |
redoMenuLabel
|
static javax.swing.JMenuItem |
RemoveFromDisk
|
static javax.swing.JMenuItem |
RemoveFromIDE
|
static javax.swing.JMenuItem |
Rename
|
static javax.swing.JMenu |
Reopen
|
static javax.swing.JMenuItem |
Replace
|
static javax.swing.JMenuItem |
Revert
|
static javax.swing.JMenuItem |
Save
|
static javax.swing.JMenuItem |
SaveAll
|
static javax.swing.JMenuItem |
SaveAs
|
static javax.swing.JMenu |
Search
|
static javax.swing.JMenuItem |
SearchAgain
|
static javax.swing.JMenuItem |
SearchBackward
|
static javax.swing.JMenuItem |
SearchSourcePath
|
static javax.swing.JMenuItem |
SelectAll
|
static javax.swing.JMenuItem |
SystemNavigator
|
static javax.swing.JMenuItem |
Toolbar
|
static javax.swing.JMenu |
Toolbars
|
static javax.swing.JMenu |
Tools
|
static javax.swing.JMenuItem |
Undo
|
static java.lang.String |
undoMenuLabel
|
static javax.swing.JMenu |
View
|
static javax.swing.JMenu |
Windows
|
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 | |
MainWindow()
|
Method Summary | |
abstract void |
activate()
This method is responsible for setting the last active view on the owner. |
abstract void |
addActiveViewListener(ActiveViewListener l)
Adds the specified listener l to the list of active view
listeners. |
abstract void |
addIdeActivationListener(IdeActivationListener l)
Adds a listener to IDE activation. |
abstract void |
close()
Closes the main window. |
abstract void |
deactivate()
Resposible for deactivating the main application window. |
abstract void |
fireIdeActivated()
Fires the event for IDE activation. |
abstract void |
fireIdeDeactivated()
Fires the event for IDE deactivation. |
abstract javax.swing.ActionMap |
getActionMap()
Returns an ActionMap for the IDE's accelerator keys. |
abstract javax.swing.JDesktopPane |
getDesktop()
Returns the JDesktopPane managing the
EditorFrame s. |
abstract javax.swing.InputMap |
getInputMap()
Installs the top-level multi-keystroke input map. |
abstract View |
getLastActiveView()
Gets the last active view. |
abstract Menubar |
getMenubar()
Gets the main window menu bar. |
abstract StatusBar |
getStatusBar()
Get the main window status bar. |
abstract Toolbar |
getToolbar()
Gets this view toolbar. |
abstract javax.swing.JMenu |
getTopLevelMenu(java.lang.String menuID)
Retrieves a top level menu declared with registerTopLevelMenu. |
abstract WaitCursor |
getWaitCursor()
Gets a wait cursor that can be shown during lengthy operations. |
View |
owner()
Views can be nested. |
abstract void |
postInitialize(IdeArgs ideArgs)
This method is called after the addins have been loaded. |
abstract void |
registerTopLevelMenu(javax.swing.JMenu menu,
java.lang.String menuID)
Declares a top level menu. |
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 |
removeIdeActivationListener(IdeActivationListener l)
Removes a listener to IDE activation. |
abstract void |
toggleToolbar()
Show or hide the main window toolbar. |
abstract void |
unregisterView(View view)
Unregister a view from participation in active view handling. |
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, getListeners, 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.ToplevelView |
add, initialize |
Methods inherited from interface oracle.ide.addin.View |
addViewListener, addViewSelectionListener, getContext, getId, getSelection, removeViewListener, removeViewSelectionListener, updateTitle |
Methods inherited from interface oracle.ide.help.Helpable |
getHelpInfo |
Methods inherited from interface oracle.ide.addin.Subview |
getContext, getContextMenu, getController, getGUI, isVisible, show |
Methods inherited from interface oracle.ide.addin.Observer |
update |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public static final java.lang.String ACTION_CATEGORY_FILE
IdeAction
associated with with a Command
.
The constant is used to classify your action by category. These
categories along with your action are presented to the user in
the IDE settings dialog for keyboard accelerator customization.
public static final java.lang.String ACTION_CATEGORY_EDIT
public static final java.lang.String ACTION_CATEGORY_SEARCH
public static final java.lang.String ACTION_CATEGORY_VIEW
public static final java.lang.String ACTION_CATEGORY_PROJECT
public static final java.lang.String ACTION_CATEGORY_TOOLS
public static final java.lang.String ACTION_CATEGORY_WINDOWS
public static javax.swing.JMenu File
public static javax.swing.JMenuItem New
public static javax.swing.JMenuItem NewNavigator
public static javax.swing.JMenuItem Open
public static javax.swing.JMenu Reopen
public static javax.swing.JMenuItem Save
public static javax.swing.JMenuItem SaveAs
public static javax.swing.JMenuItem SaveAll
public static javax.swing.JMenuItem Revert
public static javax.swing.JMenuItem Rename
public static javax.swing.JMenuItem CloseNode
public static javax.swing.JMenuItem RemoveFromIDE
public static javax.swing.JMenuItem RemoveFromDisk
public static javax.swing.JMenuItem Import
public static javax.swing.JMenuItem PrinterSetup
public static javax.swing.JMenuItem Print
public static javax.swing.JMenuItem Exit
public static javax.swing.JMenu Edit
public static javax.swing.JMenuItem Undo
public static javax.swing.JMenuItem Redo
public static javax.swing.JMenuItem Cut
public static javax.swing.JMenuItem Copy
public static javax.swing.JMenuItem Paste
public static javax.swing.JMenuItem Delete
public static javax.swing.JMenuItem SelectAll
public static javax.swing.JMenuItem Properties
public static javax.swing.JMenu Search
public static javax.swing.JMenuItem Find
public static javax.swing.JMenuItem Replace
public static javax.swing.JMenuItem SearchAgain
public static javax.swing.JMenuItem SearchBackward
public static javax.swing.JMenuItem IncrementalSearchForward
public static javax.swing.JMenuItem IncrementalSearchBackward
public static javax.swing.JMenuItem SearchSourcePath
public static javax.swing.JMenuItem GotoLineNumber
public static javax.swing.JMenuItem NextMsg
public static javax.swing.JMenuItem PrevMsg
public static javax.swing.JMenuItem Navigate
public static javax.swing.JMenuItem BrowseSymbol
public static javax.swing.JMenu View
public static javax.swing.JMenuItem SystemNavigator
public static javax.swing.JMenuItem Explorer
public static javax.swing.JMenuItem MessageView
public static javax.swing.JMenuItem Inspector
public static javax.swing.JMenu Toolbars
public static javax.swing.JMenuItem Toolbar
public static javax.swing.JMenu Project
public static javax.swing.JMenuItem ProjectSettings
public static javax.swing.JMenu Tools
public static javax.swing.JMenuItem IdeSettings
public static javax.swing.JMenuItem DefaultProjectSettings
public static javax.swing.JMenu Windows
public static javax.swing.JMenuItem NextEditor
public static javax.swing.JMenuItem PrevEditor
public static javax.swing.JMenuItem NextEditorFrame
public static javax.swing.JMenuItem PrevEditorFrame
public static javax.swing.JMenuItem Close
public static javax.swing.JMenuItem CloseAll
public static final java.lang.String MENU_FILE
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_EDIT
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_SEARCH
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_VIEW
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_TOOLS
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_WINDOW
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static final java.lang.String MENU_HELP
registerTopLevelMenu(javax.swing.JMenu, java.lang.String)
,
getTopLevelMenu(java.lang.String)
,
Constant Field Valuespublic static java.lang.String undoMenuLabel
public static java.lang.String redoMenuLabel
Constructor Detail |
public MainWindow()
Method Detail |
public abstract void registerView(View view)
unregisterView(View)
public abstract void unregisterView(View view)
registerView(View)
public abstract void activate()
activate
in interface View
public abstract void deactivate()
deactivate
in interface View
public abstract View getLastActiveView()
public abstract void postInitialize(IdeArgs ideArgs)
public final View owner()
owner
in interface Subview
public abstract void close()
close
in interface Subview
public abstract Toolbar getToolbar()
getToolbar
in interface ToplevelView
public abstract void toggleToolbar()
public abstract StatusBar getStatusBar()
getStatusBar
in interface ToplevelView
public abstract WaitCursor getWaitCursor()
public abstract Menubar getMenubar()
getMenubar
in interface ToplevelView
public abstract void addActiveViewListener(ActiveViewListener l)
l
to the list of active view
listeners. These listeners are called every time a view becomes
active.
public abstract void removeActiveViewListener(ActiveViewListener l)
l
from the list of
active view listeners.
public abstract javax.swing.JDesktopPane getDesktop()
JDesktopPane
managing the
EditorFrame
s.
public abstract javax.swing.ActionMap getActionMap()
public abstract javax.swing.InputMap getInputMap()
public abstract void registerTopLevelMenu(javax.swing.JMenu menu, java.lang.String menuID)
public abstract javax.swing.JMenu getTopLevelMenu(java.lang.String menuID)
public abstract void addIdeActivationListener(IdeActivationListener l)
public abstract void removeIdeActivationListener(IdeActivationListener l)
public abstract void fireIdeDeactivated()
public abstract void fireIdeActivated()
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.