|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.ibm.di.admin.miadmin
public class miadmin
Main Class of the Config Editor
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
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.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
miadmin()
Constructor with command line arguments |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
|
void |
addConfiguration(MetamergeConfig config)
Adds a feature to the Configuration attribute of the miadmin object |
void |
cloneObjects()
clone the seleted objects |
void |
deleteConfigItem(BaseConfiguration config)
Delete a config item and remove any detail panel open for it |
void |
deleteSelectedItems()
Deleted currently selected items in the folder tree |
void |
doActionEvent(ActionEvent event)
General action event handler |
boolean |
doClose(MetamergeConfig mc)
Close configuration. |
void |
doCloseConfig()
Close configuration. |
void |
doFolderEvent(FolderActionEvent event)
Folder Event handler. |
void |
doOpen()
Open configuration |
void |
doSaveAll()
Save all configurations |
void |
enableAction(String name,
boolean enable)
|
FolderTree |
getConfigEditorTree()
|
PanelManager |
getPanelManager()
|
MetamergeConfig |
getSelectedMC()
Gets the selectedMC attribute of the miadmin object |
JComponent |
getToolBar()
|
static String |
getVersion()
Gets the version attribute of the miadmin class |
boolean |
hasConfiguration(String path)
This method verifies if specified configuration is already open. |
String |
hasOpenTabs(MetamergeConfig mc)
|
void |
logmsg(String msg)
Log message. |
static void |
main(String[] args)
The main program for the miadmin class |
void |
openExternal()
|
void |
openItem(Object obj)
Open configuration item. |
void |
resetPanelManager()
Reset Panel Manager. |
void |
run(String[] args)
Main processing method for the miadmin object |
void |
selectPanel(TitledPanel tp)
Select panel. |
void |
setStatusText(String text)
Sets the statusText attribute of the miadmin object |
void |
showExecuteTab(BaseConfiguration obj)
Opens execute tab. |
void |
showExecuteTab(BaseConfiguration obj,
boolean debug)
Opens execute tab. |
void |
showExecuteTab(BaseConfiguration obj,
boolean debug,
int runmode)
Opens execute tab. |
void |
updateMenuState()
Updates menu state. |
void |
updateToolbarStatusbar()
Updates status bar. |
void |
valueChanged(TreeSelectionEvent event)
Called whenever the value of the selection changes. |
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
---|
public miadmin()
Method Detail |
---|
public static void main(String[] args)
args
- The command line argumentspublic static String getVersion()
public void run(String[] args) throws Exception
args
- command line parameters
Exception
- if an error occurs while starting Config Editorpublic void logmsg(String msg)
msg
- text of the messagepublic void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
public void doFolderEvent(FolderActionEvent event) throws Exception
event
- specifies the event
Exception
- if an error occurs while processing the eventpublic void doActionEvent(ActionEvent event) throws Exception
event
- specifies the event to be processed
Exception
- if an error occurs while processing the eventpublic void deleteSelectedItems() throws Exception
Exception
- if an error occurs while deleting itemspublic void deleteConfigItem(BaseConfiguration config) throws Exception
config
- specifies the config item
Exception
- if an error occurs while deleting itempublic void cloneObjects() throws Exception
Exception
- if an error occurs while clone selected objectspublic String hasOpenTabs(MetamergeConfig mc)
public MetamergeConfig getSelectedMC()
public void doCloseConfig() throws Exception
Exception
- if an error occurs while closing configpublic boolean doClose(MetamergeConfig mc)
mc
- specifies configuration
public void doSaveAll() throws Exception
Exception
- if an error occurs while savepublic void doOpen()
public void openExternal()
public void openItem(Object obj) throws Exception
obj
- specifies configuration item
Exception
- if an error occurs while opening the itempublic void selectPanel(TitledPanel tp)
tp
- specifies panel to be selectedpublic boolean hasConfiguration(String path)
path
- specifies configuration path
public void addConfiguration(MetamergeConfig config)
config
- The feature to be added to the Configuration attributepublic void showExecuteTab(BaseConfiguration obj) throws Exception
obj
- specifies config object
Exception
- if an error occurs while showing execute tabpublic void showExecuteTab(BaseConfiguration obj, boolean debug) throws Exception
obj
- specifies config objectdebug
- specifies if debug mode is used
Exception
- if an error occurs while showing execute tabpublic void showExecuteTab(BaseConfiguration obj, boolean debug, int runmode) throws Exception
obj
- specifies config objectdebug
- specifies if debug mode is usedrunmode
- specifies runmode
Exception
- if an error occurs while showing execute tabpublic void resetPanelManager()
public void updateToolbarStatusbar()
public void setStatusText(String text)
text
- The new statusText valuepublic void valueChanged(TreeSelectionEvent event)
valueChanged
in interface TreeSelectionListener
public void updateMenuState()
public void enableAction(String name, boolean enable)
public FolderTree getConfigEditorTree()
public PanelManager getPanelManager()
public JComponent getToolBar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |