|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.core.connections.AbstractConnectionCustomizer
public abstract class AbstractConnectionCustomizer
convenience partial implementation
Constructor Summary | |
---|---|
AbstractConnectionCustomizer()
|
Method Summary | |
---|---|
void |
addListener(IConnectionCustomizerListener listener)
Invoked by the connections framework, which adds an IConnectionCustomizerListener . |
IConnectionsInfoProvider |
getConnectionPreferencePage()
|
java.lang.String |
getDefaultValue(java.lang.String extendedAttributeName)
Return the default value for an extended attribute |
java.util.List<IConnectionCustomizerListener> |
getListeners()
|
boolean |
performOk()
|
void |
removeListener(IConnectionCustomizerListener listener)
Removes the supplied IConnectionCustomizerListener , if it is currently registered. |
void |
setConnectionsInfoProvider(IConnectionsInfoProvider provider)
Invoked by the connections framework to provide a service which can be used to query the connection framework for existing ConnectionConfiguration |
void |
setDirty(boolean isDirty)
|
void |
setInitializationData(IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
|
java.lang.String |
validateEnteredData()
Called by the connections framework to validate the user data entered into this IConnectionCustomizer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.cics.core.connections.IConnectionCustomizer |
---|
clear, createControl, performDefaults, setConfiguration, updateCurrentConfiguration |
Constructor Detail |
---|
public AbstractConnectionCustomizer()
Method Detail |
---|
public java.util.List<IConnectionCustomizerListener> getListeners()
public IConnectionsInfoProvider getConnectionPreferencePage()
public void setInitializationData(IConfigurationElement config, java.lang.String propertyName, java.lang.Object data) throws CoreException
CoreException
public void addListener(IConnectionCustomizerListener listener)
IConnectionCustomizer
IConnectionCustomizerListener
.
This listener should be notified with property change events, and will be used to trigger revalidation.
addListener
in interface IConnectionCustomizer
listener
- the IConnectionCustomizerListener
to add.public void removeListener(IConnectionCustomizerListener listener)
IConnectionCustomizer
IConnectionCustomizerListener
, if it is currently registered. Has
no effect if it is not.
removeListener
in interface IConnectionCustomizer
public void setConnectionsInfoProvider(IConnectionsInfoProvider provider)
IConnectionCustomizer
ConnectionConfigurations. Clients should
prefer to use IConnectionManager
directly to access data for ConnectionProfile
s.
- Specified by:
setConnectionsInfoProvider
in interface IConnectionCustomizer
- Parameters:
provider
- the IConnectionsInfoProvider
service to use.
public boolean performOk()
performOk
in interface IConnectionCustomizer
public void setDirty(boolean isDirty)
setDirty
in interface IConnectionCustomizer
public java.lang.String validateEnteredData()
IConnectionCustomizer
IConnectionCustomizer
- Specified by:
validateEnteredData
in interface IConnectionCustomizer
- Returns:
- null if OK, else an error message
public java.lang.String getDefaultValue(java.lang.String extendedAttributeName)
extendedAttributeName
- the attribute to return the default attribute name for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |