org.sape.carbon.services.console
Class Configurator
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
|
+--org.sape.carbon.services.console.Configurator
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants
- public class Configurator
- extends JFrame
This class provides a basic interface to the Carbon Component Model and
the configuration subsystem.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.27 $($Author: atayal $ / $Date: 2003/04/29 13:40:31 $)
- Author:
- Greg Hinkle, January 2002
- See Also:
- Serialized Form
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.Window |
|
Fields inherited from class java.awt.Container |
|
Constructor Summary |
Configurator()
Creates new form Configurator |
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 |
log
private org.apache.commons.logging.Log log
configurationClassFinder
private ClassFinder configurationClassFinder
componentClassFinder
private ClassFinder componentClassFinder
configuratorConfig
private ConfiguratorConfiguration configuratorConfig
serverConnections
private Map serverConnections
jSeparator2
private JSeparator jSeparator2
jSeparator4
private JSeparator jSeparator4
desktopScrollPane
private JScrollPane desktopScrollPane
serverSelectTree
private JTree serverSelectTree
fileMenu
private JMenu fileMenu
localServerTabPane
private JTabbedPane localServerTabPane
newConfigurationMenuItem
private JMenuItem newConfigurationMenuItem
contentMenuItem
private JMenuItem contentMenuItem
configDocumentPopupMenu
private JPopupMenu configDocumentPopupMenu
serverRefreshMenuItem
private JMenuItem serverRefreshMenuItem
exitMenuItem
private JMenuItem exitMenuItem
saveMenuItem
private JMenuItem saveMenuItem
copyMenuItem
private JMenuItem copyMenuItem
refreshMenuItem
private JMenuItem refreshMenuItem
cutMenuItem
private JMenuItem cutMenuItem
menuBar
private JMenuBar menuBar
configFolderPopupMenu
private JPopupMenu configFolderPopupMenu
configJScrollPane
private JScrollPane configJScrollPane
executeTestJMenuItem
private JMenuItem executeTestJMenuItem
editMenu
private JMenu editMenu
jPanel1
private JPanel jPanel1
namespaceJTree
private JTree namespaceJTree
openComponentMenuItem
private JMenuItem openComponentMenuItem
componentPopupMenu
private JPopupMenu componentPopupMenu
serverConnectHolderPane
private JPanel serverConnectHolderPane
nsCopyMenuItem
private JMenuItem nsCopyMenuItem
testMenu
private JMenu testMenu
jSeparator3
private JSeparator jSeparator3
newDirectoryMenuItem
private JMenuItem newDirectoryMenuItem
loadMBeansMenuItem
private JMenuItem loadMBeansMenuItem
serverSelectPopupMenu
private JPopupMenu serverSelectPopupMenu
newConfigurationSubMenu
private JMenu newConfigurationSubMenu
connectToServerMenuItem
private JMenuItem connectToServerMenuItem
jScrollPane1
private JScrollPane jScrollPane1
reloadConfigMenuItem
private JMenuItem reloadConfigMenuItem
jLabel1
private JLabel jLabel1
componentJScrollPane
private JScrollPane componentJScrollPane
repositoryMenu
private JMenu repositoryMenu
desktopPane
private JDesktopPane desktopPane
jSplitPane2
private JSplitPane jSplitPane2
componentJTree
private JTree componentJTree
nsOpenMenuItem
private JMenuItem nsOpenMenuItem
jSplitPane1
private JSplitPane jSplitPane1
nsDeleteMenuItem
private JMenuItem nsDeleteMenuItem
saveAsMenuItem
private JMenuItem saveAsMenuItem
jPanel2
private JPanel jPanel2
nsPasteMenuItem
private JMenuItem nsPasteMenuItem
pasteMenuItem
private JMenuItem pasteMenuItem
openMenuItem
private JMenuItem openMenuItem
nsCutMenuItem
private JMenuItem nsCutMenuItem
jSeparator1
private JSeparator jSeparator1
windowMenu
private JMenu windowMenu
aboutMenuItem
private JMenuItem aboutMenuItem
helpMenu
private JMenu helpMenu
deleteMenuItem
private JMenuItem deleteMenuItem
serverDisconnectMenuItem
private JMenuItem serverDisconnectMenuItem
Configurator
public Configurator()
- Creates new form Configurator
setup
private void setup()
tearDown
private void tearDown()
loadConfigurationChoices
private void loadConfigurationChoices()
connectToServer
public void connectToServer(String initialContextFactory,
String serverURL,
String principle,
String credentials)
initComponents
private void initComponents()
- This method is called from within the constructor to
initialize the form.
WARNING: Do NOT modify this code. The content of this method is
always regenerated by the Form Editor.
serverRefreshMenuItemActionPerformed
private void serverRefreshMenuItemActionPerformed(ActionEvent evt)
namespaceJTreeKeyTyped
private void namespaceJTreeKeyTyped(KeyEvent evt)
serverDisconnectMenuItemActionPerformed
private void serverDisconnectMenuItemActionPerformed(ActionEvent evt)
serverSelectTreeMouseClicked
private void serverSelectTreeMouseClicked(MouseEvent evt)
serverSelectTreeValueChanged
private void serverSelectTreeValueChanged(TreeSelectionEvent evt)
connectToServerMenuItemActionPerformed
private void connectToServerMenuItemActionPerformed(ActionEvent evt)
loadMBeansMenuItemActionPerformed
private void loadMBeansMenuItemActionPerformed(ActionEvent evt)
nsDeleteMenuItemActionPerformed
private void nsDeleteMenuItemActionPerformed(ActionEvent evt)
aboutMenuItemActionPerformed
private void aboutMenuItemActionPerformed(ActionEvent evt)
componentJTreeMouseClicked
private void componentJTreeMouseClicked(MouseEvent evt)
openComponentMenuItemActionPerformed
private void openComponentMenuItemActionPerformed(ActionEvent evt)
newConfigurationMenuItemActionPerformed
private void newConfigurationMenuItemActionPerformed(ActionEvent evt)
executeTestJMenuItemActionPerformed
private void executeTestJMenuItemActionPerformed(ActionEvent evt)
testMenuActionPerformed
private void testMenuActionPerformed(ActionEvent evt)
editMenuActionPerformed
private void editMenuActionPerformed(ActionEvent evt)
fileMenuActionPerformed
private void fileMenuActionPerformed(ActionEvent evt)
helpMenuActionPerformed
private void helpMenuActionPerformed(ActionEvent evt)
repositoryMenuActionPerformed
private void repositoryMenuActionPerformed(ActionEvent evt)
nsOpenMenuItemActionPerformed
private void nsOpenMenuItemActionPerformed(ActionEvent evt)
newDirectoryMenuItemActionPerformed
private void newDirectoryMenuItemActionPerformed(ActionEvent evt)
namespaceJTreeMouseClicked
private void namespaceJTreeMouseClicked(MouseEvent evt)
refreshMenuItemActionPerformed
private void refreshMenuItemActionPerformed(ActionEvent evt)
refreshConfigurations
public void refreshConfigurations()
refreshComponents
public void refreshComponents()
addDirectory
private void addDirectory(DefaultMutableTreeNode node)
exitMenuItemActionPerformed
private void exitMenuItemActionPerformed(ActionEvent evt)
exitForm
private void exitForm(WindowEvent evt)
- Exit the Application
main
public static void main(String[] args)
- Parameters:
args
- the command line arguments
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.