|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--com.ibm.dse.tools.workbench.gui.DWide
This class provides the main frame of the development workbench ide.
Inner classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Field Summary | |
static java.lang.String |
DATE_PATTERN
|
static java.lang.String |
HOME_DIR
|
static java.lang.String |
homeDirectory
|
static java.lang.String |
ICON_DIRECTORY
|
static java.lang.String |
IDE_SETTINGS
|
protected static DWide |
instance
|
static java.lang.String |
LANGUAGE
|
static java.lang.String |
LOCALE_COUNTRY
|
static java.lang.String |
LOCALE_LANGUAGE
|
protected static java.lang.String |
NO_WORKSPACE_AVAILABLE
|
static java.lang.String |
NUMBER_PATTERN
|
protected static java.lang.String |
READY_MESSAGE
|
protected Repository |
repository
|
protected RepositoryExplorer |
repositoryExplorer
|
protected static java.lang.String |
SECTION
|
static java.lang.String |
SHOW_CONSOLE_ON_STARTUP
|
static java.lang.String |
SHOW_VERSION
|
protected static java.lang.String |
TITLE
|
static java.lang.String |
TYPE_VALIDATOR_CLASS
|
protected Workspace |
userWorkspace
|
Fields inherited from class javax.swing.JFrame |
accessibleContext,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR,
DEFAULT_CURSOR,
E_RESIZE_CURSOR,
HAND_CURSOR,
ICONIFIED,
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 com.ibm.dse.tools.workbench.base.WorkbenchVariables |
BaseSettings,
IDESettings,
InstanceWizards,
NewInstanceMenu,
RepositoryLastURL,
RepositoryLastUser,
RepositorySettings,
ShowConsoleOnStartup,
WorkspaceLastURL,
WorkspaceLastUser,
WorkspaceSettings |
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 | |
DWide()
This constructor creates a DWide object. |
Method Summary | |
protected void |
centerWindow()
This method centers the DWide in the screen |
void |
createBasicPages()
This method creates the default pages opened at startup. |
void |
dispose()
This method closes the application. |
protected boolean |
doCreateWorkspaceConnection()
This method creates a connection to the user workspace, and returns true if the connection has benn changed. |
void |
doExit()
This method is executed when the user wants close the application. |
protected void |
doInitializeEnvironmentSettings()
This method initializes the environment settings. |
protected void |
doInitializeGraphicConsole()
This method initializes the graphic console. |
protected void |
doReadSettings()
This method reads the initialization and language files. |
DWideBook |
getBook()
Return the Book property value. |
static java.lang.String |
getHomeDirectory()
This method returns the home directory of the development workbench. |
static DWide |
getInstance()
This method returns the instance for the current VM of the development workbench ide. |
protected DWideToolBar |
getToolBar()
Return the toolBar property value. |
Workspace |
getUserWorkspace()
This method returns the user workspace to that the user is connected. |
static int |
indexOf(java.lang.String[] vector,
java.lang.String header)
This method returns the first occurrence of the header in the array. |
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 information in the screen, this refresh don't need to retrieve data from the repository. |
void |
setHomeDirectory(java.lang.String dir)
This method sets the home Directory |
void |
setReadyMode()
This method sets the cursor to the default. |
void |
setWaitingMode()
This method sets the cursor to the wait cursor. |
void |
synchronize()
This method synchronizes the information in screen and workspace. |
protected void |
updateStatusBar()
This method updates the status bar. |
Methods inherited from class javax.swing.JFrame |
addImpl,
createRootPane,
frameInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
processWindowEvent,
remove,
setContentPane,
setDefaultCloseOperation,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setRootPane,
setRootPaneCheckingEnabled,
update |
Methods inherited from class java.awt.Frame |
addNotify,
finalize,
getCursorType,
getFrames,
getIconImage,
getMenuBar,
getState,
getTitle,
isResizable,
remove,
removeNotify,
setCursor,
setIconImage,
setMenuBar,
setResizable,
setState,
setTitle |
Methods inherited from class java.awt.Window |
addWindowListener,
applyResourceBundle,
applyResourceBundle,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
hide,
isShowing,
pack,
postEvent,
processEvent,
removeWindowListener,
setCursor,
show,
toBack,
toFront |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
remove,
removeAll,
removeContainerListener,
setFont,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
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,
processInputMethodEvent,
processMouseEvent,
processMouseMotionEvent,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected static DWide instance
protected Workspace userWorkspace
protected Repository repository
protected RepositoryExplorer repositoryExplorer
public static final java.lang.String IDE_SETTINGS
public static final java.lang.String HOME_DIR
public static final java.lang.String LANGUAGE
public static final java.lang.String SHOW_CONSOLE_ON_STARTUP
public static final java.lang.String SHOW_VERSION
public static java.lang.String homeDirectory
public static final java.lang.String ICON_DIRECTORY
public static final java.lang.String TYPE_VALIDATOR_CLASS
public static final java.lang.String DATE_PATTERN
public static final java.lang.String NUMBER_PATTERN
public static final java.lang.String LOCALE_LANGUAGE
public static final java.lang.String LOCALE_COUNTRY
protected static final java.lang.String SECTION
protected static final java.lang.String TITLE
protected static final java.lang.String NO_WORKSPACE_AVAILABLE
protected static final java.lang.String READY_MESSAGE
Constructor Detail |
public DWide()
Method Detail |
protected void centerWindow()
public void createBasicPages()
public void dispose()
protected boolean doCreateWorkspaceConnection() throws WorkbenchException
public void doExit()
protected void doInitializeEnvironmentSettings()
protected void doInitializeGraphicConsole()
protected void doReadSettings() throws WorkbenchException
public DWideBook getBook()
public static java.lang.String getHomeDirectory()
public static DWide getInstance()
protected DWideToolBar getToolBar()
public Workspace getUserWorkspace()
public static int indexOf(java.lang.String[] vector, java.lang.String header)
vector
- java.lang.String[]header
- java.lang.Stringpublic static void main(java.lang.String[] args)
args
- java.lang.String[]public void refresh()
public void setHomeDirectory(java.lang.String dir)
dir
- java.lang.Stringpublic void setReadyMode()
public void setWaitingMode()
public void synchronize()
protected void updateStatusBar()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |