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

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JToolBar
                          |
                          +--com.ibm.dse.tools.workbench.gui.DWideToolBar

public class DWideToolBar
extends javax.swing.JToolBar
implements ActionVariables, CommonParameters, IconNames

This class provides a tool bar for the development workbench ide.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JToolBar
javax.swing.JToolBar.AccessibleJToolBar, javax.swing.JToolBar.Separator
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
protected static java.lang.String L_CANNOT_ADD
           
protected static java.lang.String L_CONNECT_REPOSITORY
           
protected static java.lang.String L_DISCONNECT_REPOSITORY
           
protected static java.lang.String L_DOMAINS_EXPLORER
           
protected static java.lang.String L_ENTITIES_WIZARD
           
protected static java.lang.String L_ENTITY
           
protected static java.lang.String L_ERROR
           
protected static java.lang.String L_GROUPS_WIZARD
           
protected static java.lang.String L_INSTANCE
           
protected static java.lang.String L_INSTANCES_WIZARD
           
protected static java.lang.String L_OPEN_FILE
           
protected static java.lang.String L_REPOSITORY_EXPLORER
           
protected static java.lang.String L_SETTINGS_WIZARD
           
protected static java.lang.String L_SHOW_VERSION
           
protected static java.lang.String L_VERSIONED_GROUP
           
protected static java.lang.String SECTION
           
protected static java.lang.String USER_DEFINED_TOOLS
           
 
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.gui.ActionVariables
CMD_ADD_TO_WORKSPACE, CMD_CHANGE_REPOSITORY, CMD_CHANGE_WORKSPACE, CMD_CLONE, CMD_CONNECT_REPOSITORY, CMD_COPY, CMD_CREATE_OPEN_EDITION, CMD_CUT, CMD_DELETE, CMD_DISCONNECT_REPOSITORY, CMD_EXIT, CMD_IMPORT_FILE, CMD_LAUNCH_SPECIFIC_WIZARD, CMD_MORPH_INTO, CMD_MOVE, CMD_OPEN_DOMAINS_EXPLORER, CMD_OPEN_FILE, CMD_OPEN_REPOSITORY_EXPLORER, CMD_OPEN_SETTINGS_WIZARD, CMD_OPEN_TO_EDITIONS, CMD_PASTE, CMD_REFRESH_WORKSPACE, CMD_RELOAD_ENVIRONMENT, CMD_SELECT_ALL, CMD_SHOW_CONSOLE, CMD_SHOW_VERSION, CMD_UNDO, CMD_VERSION
 
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
DWideToolBar()
          This constructor creates a DWideToolBar object.
 
Method Summary
 void addExternalizedOptions()
          This method add the externalized option list.
protected  javax.swing.JButton getJToolBarButtonConnectRepository()
          Return the JToolBarButtonConnectRepository property value.
protected  javax.swing.JButton getJToolBarButtonDisConnectRepository()
          Return the JToolBarButtonDisConnectRepository property value.
protected  javax.swing.JButton getJToolBarButtonEntitiesWizard()
          Return the JToolBarButtonEntitiesWizard property value.
protected  javax.swing.JButton getJToolBarButtonGroupsWizard()
          Return the JToolBarButtonGroupsWizard property value.
protected  javax.swing.JButton getJToolBarButtonInstancesWizard()
          Return the JToolBarButtonInstancesWizard property value.
protected  javax.swing.JButton getJToolBarButtonRepositoryExplorer()
          Return the JToolBarButtonRepositoryExplorer property value.
 void jToolBarButtonEntitiesWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Launches EntitiesWizard.
 void jToolBarButtonGroupsWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Launches GroupsWizard.
 void jToolBarButtonInstancesWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Launches IntanceWizard.
static void main(java.lang.String[] args)
          main entrypoint - starts the part when it is run as an application
 void registryListener(java.awt.event.ActionListener al)
          This method register an ActionListener to all the abstract buttons inside the tool bar.
 void unregistryListener(java.awt.event.ActionListener al)
          This method unregister an ActionListener from all the abstract buttons inside the tool bar.
 
Methods inherited from class javax.swing.JToolBar
add, addImpl, addSeparator, addSeparator, createActionChangeListener, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, paintBorder, paramString, remove, setBorderPainted, setFloatable, setMargin, setOrientation, setUI, 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, 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, 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, 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

SECTION

protected static final java.lang.String SECTION

USER_DEFINED_TOOLS

protected static final java.lang.String USER_DEFINED_TOOLS

L_CONNECT_REPOSITORY

protected static final java.lang.String L_CONNECT_REPOSITORY

L_DISCONNECT_REPOSITORY

protected static final java.lang.String L_DISCONNECT_REPOSITORY

L_DOMAINS_EXPLORER

protected static final java.lang.String L_DOMAINS_EXPLORER

L_ENTITIES_WIZARD

protected static final java.lang.String L_ENTITIES_WIZARD

L_INSTANCES_WIZARD

protected static final java.lang.String L_INSTANCES_WIZARD

L_GROUPS_WIZARD

protected static final java.lang.String L_GROUPS_WIZARD

L_OPEN_FILE

protected static final java.lang.String L_OPEN_FILE

L_SETTINGS_WIZARD

protected static final java.lang.String L_SETTINGS_WIZARD

L_REPOSITORY_EXPLORER

protected static final java.lang.String L_REPOSITORY_EXPLORER

L_SHOW_VERSION

protected static final java.lang.String L_SHOW_VERSION

L_CANNOT_ADD

protected static final java.lang.String L_CANNOT_ADD

L_VERSIONED_GROUP

protected static final java.lang.String L_VERSIONED_GROUP

L_ENTITY

protected static final java.lang.String L_ENTITY

L_INSTANCE

protected static final java.lang.String L_INSTANCE

L_ERROR

protected static final java.lang.String L_ERROR
Constructor Detail

DWideToolBar

public DWideToolBar()
This constructor creates a DWideToolBar object.
Method Detail

addExternalizedOptions

public void addExternalizedOptions()
This method add the externalized option list.

getJToolBarButtonConnectRepository

protected javax.swing.JButton getJToolBarButtonConnectRepository()
Return the JToolBarButtonConnectRepository property value.
Returns:
javax.swing.JButton

getJToolBarButtonDisConnectRepository

protected javax.swing.JButton getJToolBarButtonDisConnectRepository()
Return the JToolBarButtonDisConnectRepository property value.
Returns:
javax.swing.JButton

getJToolBarButtonEntitiesWizard

protected javax.swing.JButton getJToolBarButtonEntitiesWizard()
Return the JToolBarButtonEntitiesWizard property value.
Returns:
javax.swing.JButton

getJToolBarButtonGroupsWizard

protected javax.swing.JButton getJToolBarButtonGroupsWizard()
Return the JToolBarButtonGroupsWizard property value.
Returns:
javax.swing.JButton

getJToolBarButtonInstancesWizard

protected javax.swing.JButton getJToolBarButtonInstancesWizard()
Return the JToolBarButtonInstancesWizard property value.
Returns:
javax.swing.JButton

getJToolBarButtonRepositoryExplorer

protected javax.swing.JButton getJToolBarButtonRepositoryExplorer()
Return the JToolBarButtonRepositoryExplorer property value.
Returns:
javax.swing.JButton

jToolBarButtonEntitiesWizard_ActionPerformed

public void jToolBarButtonEntitiesWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Launches EntitiesWizard. In mode edition if an entity is selected otherwise in creation mode.
Parameters:
actionEvent - java.awt.event.ActionEvent

jToolBarButtonGroupsWizard_ActionPerformed

public void jToolBarButtonGroupsWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Launches GroupsWizard. In mode edition if a group is selected otherwise in creation mode.
Parameters:
actionEvent - java.awt.event.ActionEvent

jToolBarButtonInstancesWizard_ActionPerformed

public void jToolBarButtonInstancesWizard_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Launches IntanceWizard. In mode edition if a instance is selected otherwise in creation mode.
Parameters:
actionEvent - java.awt.event.ActionEvent

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[]

registryListener

public void registryListener(java.awt.event.ActionListener al)
This method register an ActionListener to all the abstract buttons inside the tool bar.
Parameters:
al - java.awt.event.ActionListener

unregistryListener

public void unregistryListener(java.awt.event.ActionListener al)
This method unregister an ActionListener from all the abstract buttons inside the tool bar.
Parameters:
al - java.awt.event.ActionListener