|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IConnectionCustomizer
Provides a user interface for modifying connection configurations associated with a specific connection type.
Connection customizers should be registered and bound to a specific connection type
using the com.ibm.cics.core.connections.connectionCustomizers extension point.
Clients should not directly implement this interface, instead
extending AbstractConnectionCustomizer
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Method Summary | |
|---|---|
void |
addListener(IConnectionCustomizerListener aListener)
Invoked by the connections framework, which adds an IConnectionCustomizerListener. |
void |
clear()
Invoked by the connection framework to clear any existing data in the controls for this IConnectionCustomizer. |
void |
createControl(Composite parent)
Creates the SWT controls for this connection customizer. |
void |
performDefaults()
Deprecated. no longer used. |
boolean |
performOk()
Deprecated. no longer used. |
void |
removeListener(IConnectionCustomizerListener aListener)
Removes the supplied IConnectionCustomizerListener, if it is currently registered. |
void |
setConfiguration(ConnectionConfiguration connectionConfiguration)
Sets the ConnectionConfiguration that should be modified when making
changes through this IConnectionCustomizer |
void |
setConnectionsInfoProvider(IConnectionsInfoProvider provider)
Deprecated. |
void |
setDirty(boolean isDirty)
Deprecated. |
void |
updateCurrentConfiguration()
The implementation should write the data from the UI to the extended attributes in the configuration set by setConfiguration(ConnectionConfiguration) |
java.lang.String |
validateEnteredData()
Called by the connections framework to validate the user data entered into this IConnectionCustomizer |
| Field Detail |
|---|
static final java.lang.String COPYRIGHT
| Method Detail |
|---|
void setConfiguration(ConnectionConfiguration connectionConfiguration)
ConnectionConfiguration that should be modified when making
changes through this IConnectionCustomizer
connectionConfiguration - the ConnectionConfiguration to be modified.void createControl(Composite parent)
Clients should not call this method, it will be called by the connection framework when this class is initialized.
parent - parent composite to use.@Deprecated boolean performOk()
@Deprecated void setDirty(boolean isDirty)
void addListener(IConnectionCustomizerListener aListener)
IConnectionCustomizerListener.
This listener should be notified with property change events, and will be used to trigger revalidation.
aListener - the IConnectionCustomizerListener to add.void removeListener(IConnectionCustomizerListener aListener)
IConnectionCustomizerListener, if it is currently registered. Has
no effect if it is not.
aListener - void clear()
IConnectionCustomizer.
@Deprecated void performDefaults()
@Deprecated void setConnectionsInfoProvider(IConnectionsInfoProvider provider)
ConnectionConfigurations. Clients should
prefer to use IConnectionManager directly to access data for ConnectionProfiles.
- Parameters:
provider - the IConnectionsInfoProvider service to use.
void updateCurrentConfiguration()
Any data witten to the ConnectionConfiguration will be persisted by the connections framework.
java.lang.String validateEnteredData()
IConnectionCustomizer
- Returns:
- null if OK, else an error message
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||