| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.view.View
oracle.ide.view.ViewDecorator
oracle.ide.docking.DockableView
oracle.ide.docking.DockableWindow
oracle.jdeveloper.vcs.changelist.ChangeListWindow
public class ChangeListWindow
A dockable view containing a ChangeList instance.
| Nested Class Summary | |
|---|---|
| static class | ChangeListWindow.ScopeFilter | 
| Field Summary | |
|---|---|
| static int | COPY_FILE_LIST_CMD_IDCommand ID for the copy file list command. | 
| static float | CTX_GROUP_CLIPBOARDGroup for clipboard operations. | 
| static float | CTX_GROUP_CONFLICTSfloat constant for the separator group in the context menu that should contain conflict-solving operations | 
| static float | CTX_GROUP_DIFFfloat constant for the separator group in the context menu that should contain compare commands | 
| static float | CTX_GROUP_GENERALfloat constant for the separator group in the context menu that should contain operations that do not apply to the selection, but are general for the window. | 
| static float | CTX_GROUP_OPERATIONSfloat constant for the separator group in the context menu that should contain operations (e.g. | 
| static float | CTX_GROUP_SELECT_IN_NAVfloat constant for the "Select in Navigator" group. | 
| static int | OPEN_CMD_IDCommand ID for the open command. | 
| static int | PREFERENCES_CMD_IDCommand ID for the preference command. | 
| static int | SET_COMMENTS_CMD_IDCommand ID for the set comments command. | 
| static int | SET_SCOPE_CMD_IDCommand ID for the set scope command. | 
| static int | TOGGLE_COMMENTS_CMD_IDCommand ID for the toggle comments command. | 
| Fields inherited from class oracle.ide.docking.DockableView | 
|---|
| CLOSED, HIDDEN, SHOWN | 
| Fields inherited from class oracle.ide.view.View | 
|---|
| EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP | 
| Fields inherited from interface oracle.ide.docking.Dockable | 
|---|
| DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_FORGETTABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE | 
| Constructor Summary | |
|---|---|
| protected  | ChangeListWindow(ChangeList[] changeLists,
                 java.lang.String windowID) | 
|   | ChangeListWindow(ChangeList changeList,
                 java.lang.String windowID)Construct the change list window | 
| Method Summary | |
|---|---|
| protected  void | addCommentsToolbarAction(Toolbar toolbar) | 
| protected  void | addContextMenuListeners(ContextMenu contextMenu)Add listeners to the context menu. | 
| protected  void | addRefreshToolbarAction(Toolbar toolbar) | 
| protected  void | addToolbarActions(Toolbar toolbar)Add actions to the toolbar. | 
| protected  void | addToolbarToPanel(javax.swing.JPanel panel,
                  Toolbar toolbar) | 
| protected  boolean | authenticate() | 
| protected  ChangeList | createChangeList(java.lang.Object modeId) | 
| protected  ChangeList[] | createChangeLists()Deprecated. | 
| protected  Controller | createController()Create and return the controller | 
| protected  java.lang.String | createDisplayPersistenceKey(ChangeList changeList) | 
| protected  java.lang.String | createDisplayPersistenceKey(java.lang.Object modeId) | 
|  IdeAction | createLocalAction(int cmdId) | 
| protected  void | deinitialize()Called when the dockable is closed. | 
| protected  void | delayedInitialization() | 
|  void | dockableShown(DockableEvent event)Called when the dockable is made visible. | 
|  void | doSetScope() | 
| protected  java.lang.String | getBusyStatusMessage()Gets the message to display in a cell of the IDE's status bar while the change list is in the middle of an update. | 
| protected  java.lang.String | getBusyStatusMessage(ChangeList changeList)Gets the message to display in a cell of the IDE's status bar while the change list is in the middle of an update. | 
| protected  java.lang.String | getBusyStatusMessage(java.lang.Object modeId) | 
|  ChangeList | getChangeList()Get the ChangeList being displayed in this window. | 
| protected  ChangeList | getChangeList(java.lang.Object modeId) | 
|  Context | getContext(java.util.EventObject eo)Get an IDE context for the specified event object. | 
|  ChangeList | getContextChangeList()Gets the change list for the current context. | 
|  ContextMenu | getContextMenu()Get the changelist's context menu. | 
|  java.lang.String[] | getContextPreferencesPath() | 
|  Controller | getController()Get the controller. | 
|  java.awt.Component | getGUI()Get the user interface for the change list. | 
|  HelpInfo | getHelpInfo()Gets the help information for the view. | 
| protected  IdeAction | getLocalAction(int cmdId)Create a local action with the specified command ID, and remember it so that it can be disposed when this view is closed. | 
| protected  java.lang.Object | getModeId() | 
| protected  java.lang.String | getModePersistenceKey() | 
| protected  java.lang.Object | getModePersistenceObject(java.lang.String value) | 
| protected  java.lang.String | getModePersistenceValue(java.lang.Object modeId) | 
| protected  java.lang.String | getPersistenceKey(ChangeList changeList) | 
| protected  java.lang.String[] | getPreferencesPath() | 
| protected  java.lang.String | getScopePersistenceKey() | 
| protected  Element[] | getSelectionFromUI()This method retrieve's the selection in this View directly from the UI. | 
|  java.lang.String | getSystemId() | 
|  javax.swing.Icon | getTabIcon()Get the icon for the changelist tab | 
|  java.lang.String | getTabName()Get the name for the changelist tab. | 
| protected  java.lang.String | getTabToggleKey(ChangeList changeList) | 
|  java.lang.String | getTitleName()Get the title of the change list. | 
|  Toolbar | getToolbar()Get the changelist dockable's toolbar. | 
| static Context | handleContext(Context context) | 
| protected  void | initialize() | 
|  boolean | isActive() | 
|  boolean | isChangeListVisible(ChangeList changeList) | 
| protected  void | layoutPanel(javax.swing.JPanel panel)Performs layout of panel components, including the change list. | 
| protected  void | postDeinitialization() | 
| protected  void | preferencesChanged() | 
|  void | prefsChanged() | 
|  void | refresh() | 
| protected  void | removeContextMenuListeners(ContextMenu contextMenu)Removes listeners from the context menu. | 
| protected  void | removeToolbarFromPanel(javax.swing.JPanel panel,
                       Toolbar toolbar) | 
|  void | requestFocusInChangeList() | 
|  void | requestFocusInComments() | 
| protected  void | setCommentsVisible(boolean commentsVisible) | 
| protected  void | setEllipsisVisible(IdeAction localAction,
                   boolean visible) | 
| protected  void | setModeId(java.lang.Object modeId) | 
|  void | setOptionsVisible(boolean optionsVisible) | 
|  void | setSystemId(java.lang.String vcsId) | 
|  void | stateChange(int newState)This method gets called when a panel is shown, hidden, or closed. | 
| protected  void | updateBusyTickerVisible() | 
| protected  void | updateEllipsisItems() | 
| protected  void | updateStatusMessage() | 
| protected  void | updateVisibleToolbarActions(Toolbar toolbar) | 
| Methods inherited from class oracle.ide.docking.DockableWindow | 
|---|
| addTitleChangeListener, close, dockableHidden, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, updateTitle | 
| Methods inherited from class oracle.ide.docking.DockableView | 
|---|
| afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled | 
| Methods inherited from class oracle.ide.view.ViewDecorator | 
|---|
| activate, deactivate, getDecorated, getViewWithoutDecoration, isDecorated, loadLayout, newId, saveLayout, setDecorated, setOwner, setToolbarVisible, updateVisibleActions | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface oracle.ide.docking.Dockable | 
|---|
| loadLayout, saveLayout | 
| Field Detail | 
|---|
public static final int TOGGLE_COMMENTS_CMD_ID
public static final int COPY_FILE_LIST_CMD_ID
public static final int OPEN_CMD_ID
public static final int PREFERENCES_CMD_ID
public static final int SET_SCOPE_CMD_ID
public static final int SET_COMMENTS_CMD_ID
public static final float CTX_GROUP_CONFLICTS
public static final float CTX_GROUP_OPERATIONS
public static final float CTX_GROUP_CLIPBOARD
public static final float CTX_GROUP_DIFF
public static final float CTX_GROUP_GENERAL
public static final float CTX_GROUP_SELECT_IN_NAV
| Constructor Detail | 
|---|
public ChangeListWindow(ChangeList changeList,
                        java.lang.String windowID)
changeList - the change list.
protected ChangeListWindow(ChangeList[] changeLists,
                           java.lang.String windowID)
| Method Detail | 
|---|
public final void setSystemId(java.lang.String vcsId)
public final java.lang.String getSystemId()
public final java.lang.String[] getContextPreferencesPath()
protected java.lang.String[] getPreferencesPath()
protected java.lang.String getTabToggleKey(ChangeList changeList)
public boolean isChangeListVisible(ChangeList changeList)
@Deprecated protected ChangeList[] createChangeLists()
public IdeAction createLocalAction(int cmdId)
public void prefsChanged()
protected void updateEllipsisItems()
protected void preferencesChanged()
protected java.lang.String getModePersistenceKey()
protected java.lang.String getScopePersistenceKey()
protected java.lang.String createDisplayPersistenceKey(ChangeList changeList)
protected java.lang.String createDisplayPersistenceKey(java.lang.Object modeId)
protected ChangeList getChangeList(java.lang.Object modeId)
protected java.lang.String getModePersistenceValue(java.lang.Object modeId)
protected java.lang.Object getModePersistenceObject(java.lang.String value)
protected ChangeList createChangeList(java.lang.Object modeId)
protected java.lang.Object getModeId()
protected void setModeId(java.lang.Object modeId)
protected void updateBusyTickerVisible()
protected void layoutPanel(javax.swing.JPanel panel)
protected Controller createController()
public ChangeList getChangeList()
public ChangeList getContextChangeList()
protected void setEllipsisVisible(IdeAction localAction,
                                  boolean visible)
protected IdeAction getLocalAction(int cmdId)
cmdId - the command id to get a local action for.
public HelpInfo getHelpInfo()
getHelpInfo in interface HelpablegetHelpInfo in class ViewDecoratorpublic javax.swing.Icon getTabIcon()
getTabIcon in interface DockablegetTabIcon in class DockableWindowView.getTabName()public java.lang.String getTabName()
getTabName in interface DockablegetTabName in class ViewDockable.getTabIcon()public java.lang.String getTitleName()
Dockable.getTabIcon()public final Controller getController()
getController in interface ControllerProvidergetController in class ViewDecoratorpublic java.awt.Component getGUI()
getGUI in class ViewDecoratorpublic final Context getContext(java.util.EventObject eo)
This method must only be called from the AWT event dispatch thread.
getContext in class ViewDecoratoreo - an event object that triggered the request to get the context
public static final Context handleContext(Context context)
protected Element[] getSelectionFromUI()
View
getSelectionFromUI in class ViewDecoratorpublic boolean isActive()
public final void dockableShown(DockableEvent event)
dockableShown in class DockableWindowevent - the event that caused the dockable to become visible.protected boolean authenticate()
public void refresh()
protected void addToolbarToPanel(javax.swing.JPanel panel,
                                 Toolbar toolbar)
protected void removeToolbarFromPanel(javax.swing.JPanel panel,
                                      Toolbar toolbar)
protected java.lang.String getPersistenceKey(ChangeList changeList)
public void stateChange(int newState)
DockableWindow
stateChange in class DockableWindownewState - The new state indicating whether the panel was shown,
                 hidden or closed.protected void initialize()
protected void deinitialize()
protected void delayedInitialization()
protected void postDeinitialization()
public final Toolbar getToolbar()
getToolbar in class ViewDecoratorpublic final ContextMenu getContextMenu()
getContextMenu in class ViewDecoratorprotected void addContextMenuListeners(ContextMenu contextMenu)
contextMenu - the context menu to listen to.protected void removeContextMenuListeners(ContextMenu contextMenu)
contextMenu - the menu to remove listeners from.protected void addToolbarActions(Toolbar toolbar)
toolbar - toolbar to add actions to.protected void updateVisibleToolbarActions(Toolbar toolbar)
protected void addCommentsToolbarAction(Toolbar toolbar)
protected void addRefreshToolbarAction(Toolbar toolbar)
public final void setOptionsVisible(boolean optionsVisible)
protected void setCommentsVisible(boolean commentsVisible)
public void requestFocusInChangeList()
public void requestFocusInComments()
protected java.lang.String getBusyStatusMessage()
protected java.lang.String getBusyStatusMessage(ChangeList changeList)
changeList - the change list to which the status mesasge is relevant.
protected java.lang.String getBusyStatusMessage(java.lang.Object modeId)
protected void updateStatusMessage()
public final void doSetScope()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||