com.ibm.di.admin.ui
Interface BaseUIInterface

All Known Implementing Classes:
ALCheckpointConfigUI, ALInitParamUI, ALMappingConfigUI, ALSandboxUI, AssemblyLineHooksUI, AssemblyLineUI, AttributeMapItemUI, AttributeMapSimpleUI, AttributeMapUI, BaseUI, BranchingConfigUI, ConfigChooser, ConfigInstanceUI, ConfigUI, ConnectorConfigUI, ConnectorSchemaUI, ConnectorThread, ConnectorTreeUI, ConnectorUI, ControlPanel, DeltaConfigUI, EventHandlerActionUI, EventHandlerHooksUI, EventHandlerUI, ExternalEditorUI, ExternalProperties2UI, ExternalPropertiesUI, FormConfigUI, FormUI, FunctionConfigUI, FunctionMapUI, GenericAttributeMapUI, GenericSchemaUI, LinkCriteriaItemUI, LinkCriteriaUI, ListDragger, LogConfigUI, LoopConfigUI, MSPropUI, MultipleStoreUI, NamespaceConfigUI, OperationsUI, PackageUI, ParserConfigUI, PoolConfigUI, PropertyStoreUI, ReconnectConfigUI, ScriptConfigUI, SimpleListUI, SolutionInterfaceUI, StoreUI, SwitchedBranchConfigUI, TaskCallBlockUI, TaskCallBlockUI.OperationPage, TombstonesConfigUI, TriggerUI

public interface BaseUIInterface

This interface is implemented by UI components to show/edit configuration objects. When miadmin opens a configuration object (e.g. ConnectorConfig etc) it will consult the UserInterface class for a description of the UI component that will handle the UI. miadmin always puts these UI components inside a TitledPanel to provide a standard header and toolbar for each component. The implementing class is first constructed and then setConfig() and createUI() methods are called. The TitledPanel will give the child component an opportunity to add items to the upper right toolbar. It does so by calling a method addTitledPanelBar ( JPanel panel ). Then it appends the Close button to whatever the client added. when the panel is closed, the TitledPanel will call boolean onPanelClosing() where the child component is given a chance to veto and/or perform specific code before the panel is closed. If the method returns false the panel will not be closed.


Method Summary
 void createUI()
          Creates user interface for config object
 BaseConfiguration getConfig()
          Gets the config attribute of the BaseUIInterface object
 void setConfig(BaseConfiguration config)
          Sets the config attribute of the BaseUIInterface object
 

Method Detail

setConfig

void setConfig(BaseConfiguration config)
Sets the config attribute of the BaseUIInterface object

Parameters:
config - The new config value

getConfig

BaseConfiguration getConfig()
Gets the config attribute of the BaseUIInterface object

Returns:
The config value.

createUI

void createUI()
              throws Exception
Creates user interface for config object

Throws:
Exception - if an error occurs while creating user interface