public class ConnectionListAction extends UpdateAction
UpdateAction.ComponentRemoveEvent, UpdateAction.UseMenuItem
限定符和类型 | 字段和说明 |
---|---|
static MenuKeySet |
DEFINE_DATA_CONNECTION |
CURRENT_LEVEL, TEMPLATE_TREE
构造器和说明 |
---|
ConnectionListAction() |
限定符和类型 | 方法和说明 |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
执行动作
|
static boolean |
doWithDatasourceManager(ConnectionConfig datasourceManager,
ConnectionShowPane connectionShowPane,
BasicDialog databaseListDialog)
更新datasourceManager
|
static int |
isConnectionMapContainsRename(ConnectionConfig datasourceManager)
是否包含重命名key
|
void |
update()
update enable
|
addPropertyChangeListener, createCheckBoxMenuItem, createMenuItem, createMenuItemEastAttr, createToolBarComponent, createUseMenuItem, equals, generateAndSetSearchText, getAccelerator, getComponentTexts, getMnemonic, getName, getSearchText, getSmallIcon, getToolTipText, getValue, hashCode, intoJPopupMenu, intoJToolBar, isEnabled, putValue, removePropertyChangeListener, setAccelerator, setEnabled, setMnemonic, setName, setSearchText, setSmallIcon, setSmallIcon
asToolBarDef, currentAPILevel, getMenuKeySet, mark4Provider, notifyFromAuhtorityChange, setMenuKeySet
public static final MenuKeySet DEFINE_DATA_CONNECTION
public void actionPerformed(java.awt.event.ActionEvent evt)
evt
- 事件public static boolean doWithDatasourceManager(ConnectionConfig datasourceManager, ConnectionShowPane connectionShowPane, BasicDialog databaseListDialog)
datasourceManager
- datasource管理对象connectionShowPane
- datasource面板databaseListDialog
- datasource管理对话框public static int isConnectionMapContainsRename(ConnectionConfig datasourceManager)
public void update()
UpdateAction
update
在类中 UpdateAction