com.ibm.dse.tools.workbench.gui
Class WorkspaceDefaultExplorer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.ibm.dse.tools.workbench.gui.DWidePage
                                |
                                +--com.ibm.dse.tools.workbench.gui.WorkspaceDefaultExplorer

public class WorkspaceDefaultExplorer
extends DWidePage
implements TableNames, CommonParameters, DWChangeListener, IconNames

This class is the default workspace explorer for the development workbench.

See Also:
Serialized Form

Inner Class Summary
protected  class WorkspaceDefaultExplorer.PopupMenuListener
           
 
Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
protected  Workspace userWorkspace
           
 
Fields inherited from class com.ibm.dse.tools.workbench.gui.DWidePage
icon, title
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.ibm.dse.tools.workbench.base.TableNames
ALLOWED_VALUES, ATTRIBUTES, DOMAINS, ENTITIES, ENTITIES_ENTITIES, GROUPS, GROUPS_ENTITIES, GROUPS_GROUPS, GROUPS_INSTANCES, INSTANCE_ERRORS, INSTANCES, PROPERTIES, USERS
 
Fields inherited from interface com.ibm.dse.tools.workbench.gui.CommonParameters
CHANGE_LISTENER, CONTAINER_GROUPS, CURRENT_GROUP, PARENT_ROW, REPOSITORY, ROW_SELECTION_COUNT, SELECTED_PARENT_ROWS, SELECTED_ROWS, WIZARD_PARAM, WORKSPACE
 
Fields inherited from interface com.ibm.dse.tools.workbench.gui.IconNames
ATTRIBUTE, ATTRIBUTE_BIG, C_SETTINGS, C_SETTINGS_BIG, CLIENT, CLIENT_SERVER, CONSOLE, CONTEXT, DATA, DEVELOPMENT_WORKBENCH, DOMAIN, DOMAIN_BIG, ENTITY, ENTITY_BIG, ERROR, FILE, FOLDER_CLOSED, FOLDER_OPENED, FORMAT, GROUP, GROUP_BIG, GROUP_CLOSED, GROUP_OPENED, INSTANCE, INSTANCE_BIG, INSTANCE_CLOSED, INSTANCE_OPENED, LIST_VIEW, NONE, OPEN, OPERATION, PROCESS, PROPERTY, PROPERTY_BIG, REPOSITORY, REPOSITORY_BIG, SERVER, SETTINGS, STANDALONE, TREE_VIEW, USER, USERS_BIG, VERSION, VERSION_BIG, VERSION_WINDOW, VIEW, WARNING, WIZARD, WORKSPACE, WORKSPACE_BIG, WORKSPACE_EXPLORER
 
Constructor Summary
WorkspaceDefaultExplorer()
          This constructor creates a WorkbenchDefaultExplorer object.
WorkspaceDefaultExplorer(boolean isDoubleBuffered)
          This constructor creates a WorkbenchDefaultExplorer that can be double buffered or not.
 
Method Summary
static void clearCacheFiles()
          This method clears all the cache files
static void clearCacheFiles(TableRow group)
          This method clears all the cache files
protected  void doShowPopupMenuGroupContentPanel(java.awt.event.MouseEvent event)
          This method shows the popup menu for the component group content panel.
protected  void doShowPopupMenuGroups(java.awt.event.MouseEvent event)
          This method shows the popup menu for the component groups panel.
protected  GroupContentPanel getGroupContentPanel()
          Return the GroupContentPanel property value.
protected  GroupsMixedTreeListPanel getGroupsMixedTreeListPanel()
          Return the GroupsMixedTreeListPanel property value.
protected  javax.swing.JSplitPane getJSplitPane02()
          Return the JSplitPane02 property value.
protected  javax.swing.JSplitPane getJSplitPane03()
          Return the JSplitPane03 property value.
protected  TableRowDetailsPane getTableRowDetailsPane()
          Return the TableRowDetailsPane property value.
 Workspace getUserWorkspace()
          This method returns the user workspace.
static void main(java.lang.String[] args)
          main entrypoint - starts the part when it is run as an application
 void refresh()
          This method refreshes the browser contents.
 void registerAsListener()
          This method registers this instance like a listener of different Development Workbench events.
 void setUserWorkspace(Workspace newUserWorkspace)
          This method sets the user workspace for the browser.
 void stateChanged(DWChangeEvent event)
          This method is executed when the user changes some table row signifivative for the browser.
 void synchronize()
          This method synchronizes the browser contents with the workspace.
 void unregisterAsListener()
          This method unregister this instance for different Development Workbench events.
 void workbenchDefaultExplorer_ComponentResized(java.awt.event.ComponentEvent componentEvent)
          This methods resizes the workbenchDefaultExplorer
 
Methods inherited from class com.ibm.dse.tools.workbench.gui.DWidePage
getIcon, getTitle, setIcon, setTitle
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

userWorkspace

protected Workspace userWorkspace
Constructor Detail

WorkspaceDefaultExplorer

public WorkspaceDefaultExplorer()
This constructor creates a WorkbenchDefaultExplorer object.

WorkspaceDefaultExplorer

public WorkspaceDefaultExplorer(boolean isDoubleBuffered)
This constructor creates a WorkbenchDefaultExplorer that can be double buffered or not.
Parameters:
isDoubleBuffered - boolean
Method Detail

clearCacheFiles

public static void clearCacheFiles()
This method clears all the cache files

clearCacheFiles

public static void clearCacheFiles(TableRow group)
This method clears all the cache files
Parameters:
group - com.ibm.dse.tools.workbench.TablerRow The group

doShowPopupMenuGroupContentPanel

protected void doShowPopupMenuGroupContentPanel(java.awt.event.MouseEvent event)
This method shows the popup menu for the component group content panel.
Parameters:
event - java.awt.event.MouseEvent

doShowPopupMenuGroups

protected void doShowPopupMenuGroups(java.awt.event.MouseEvent event)
This method shows the popup menu for the component groups panel.
Parameters:
event - java.awt.event.MouseEvent

getGroupContentPanel

protected GroupContentPanel getGroupContentPanel()
Return the GroupContentPanel property value.
Returns:
com.ibm.dse.tools.workbench.gui.GroupContentPanel

getGroupsMixedTreeListPanel

protected GroupsMixedTreeListPanel getGroupsMixedTreeListPanel()
Return the GroupsMixedTreeListPanel property value.
Returns:
com.ibm.dse.tools.workbench.gui.GroupsMixedTreeListPanel

getJSplitPane02

protected javax.swing.JSplitPane getJSplitPane02()
Return the JSplitPane02 property value.
Returns:
com.sun.java.swing.JSplitPane

getJSplitPane03

protected javax.swing.JSplitPane getJSplitPane03()
Return the JSplitPane03 property value.
Returns:
com.sun.java.swing.JSplitPane

getTableRowDetailsPane

protected TableRowDetailsPane getTableRowDetailsPane()
Return the TableRowDetailsPane property value.
Returns:
com.ibm.dse.tools.workbench.gui.TableRowDetailsPane

getUserWorkspace

public Workspace getUserWorkspace()
This method returns the user workspace.
Returns:
com.ibm.dse.tools.workbench.base.Workspace

main

public static void main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application
Parameters:
args - java.lang.String[]

refresh

public void refresh()
This method refreshes the browser contents.
Overrides:
refresh in class DWidePage

registerAsListener

public void registerAsListener()
This method registers this instance like a listener of different Development Workbench events.

setUserWorkspace

public void setUserWorkspace(Workspace newUserWorkspace)
This method sets the user workspace for the browser.
Parameters:
newUserWorkspace - com.ibm.dse.tools.workbench.base.Workspace

stateChanged

public void stateChanged(DWChangeEvent event)
This method is executed when the user changes some table row signifivative for the browser.
Specified by:
stateChanged in interface DWChangeListener
Parameters:
event - com.ibm.dse.tools.workbench.gui.DWChangeEvent

synchronize

public void synchronize()
This method synchronizes the browser contents with the workspace.
Overrides:
synchronize in class DWidePage

unregisterAsListener

public void unregisterAsListener()
This method unregister this instance for different Development Workbench events.

workbenchDefaultExplorer_ComponentResized

public void workbenchDefaultExplorer_ComponentResized(java.awt.event.ComponentEvent componentEvent)
This methods resizes the workbenchDefaultExplorer
Parameters:
componentEvent - java.awt.event.ComponentEvent