|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.core.connections.ConnectionWidgetManager
IConnectionUserInterfaceService#createConnectionWidget(org.eclipse.swt.widgets.Composite, String)
to
@Deprecated public class ConnectionWidgetManager
Manages a IConnectionStateViewer
, controlling which category is displayed, and listening to the
IConnectionService
to receive updates on the state of that connection. It should no longer be necessary to use this class,
as IConnectionUserInterfaceService#createConnectionWidget(org.eclipse.swt.widgets.Composite, String)
can be used to
construct a connection widget.
Constructor Summary | |
---|---|
ConnectionWidgetManager(IConnectionService connectionService)
Deprecated. Constructor. |
|
ConnectionWidgetManager(IConnectionService connectionService,
boolean isInDialog)
Deprecated. Constructor. |
Method Summary | |
---|---|
void |
addActiveConnectionCategoryListener(IActiveConnectionCategoryListener listener)
Deprecated. Adds a new IActiveConnectionCategoryListener to this service, which will be notified whenever the active
connection category provided by this service changes. |
void |
dispose()
Deprecated. Disposes the ConnectionWidgetManager |
java.lang.String |
getActiveConnectionCategory()
Deprecated. Returns the ID of the currently active connection category, according to this connection category service, or null if no connection category is active. |
IConnectionStatusController |
getConnectionStatusController()
Deprecated. |
boolean |
isDialogMode()
Deprecated. Answers whether this ConnectionWidgetManager is in dialog mode. |
void |
removeActiveConnectionCategoryListener(IActiveConnectionCategoryListener listener)
Deprecated. Removes an existing IActiveConnectionCategoryListener from this service. |
void |
setConnectionStateViewer(IConnectionStateViewer connectionStateViewer)
Deprecated. Sets the IConnectionStateViewer to be used by this ConnectionWidgetManager |
void |
setCurrentCategory(java.lang.String aCategory)
Deprecated. Sets the connection category displayed by the connection status viewer managed by this manager |
void |
setDialogMode(boolean dialogMode)
Deprecated. Set whether this ConnectionWidgetManager is in dialog mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionWidgetManager(IConnectionService connectionService)
connectionService
- the connection service this ConnectionWidgetManager should usepublic ConnectionWidgetManager(IConnectionService connectionService, boolean isInDialog)
connectionService
- connection service to useisInDialog
- whether or not the ConnectionTrimWidget is in a dialogMethod Detail |
---|
public void dispose()
public void addActiveConnectionCategoryListener(IActiveConnectionCategoryListener listener)
IActiveConnectionCategoryService
IActiveConnectionCategoryListener
to this service, which will be notified whenever the active
connection category provided by this service changes.
addActiveConnectionCategoryListener
in interface IActiveConnectionCategoryService
listener
- the listener to be addedpublic void removeActiveConnectionCategoryListener(IActiveConnectionCategoryListener listener)
IActiveConnectionCategoryService
IActiveConnectionCategoryListener
from this service.
removeActiveConnectionCategoryListener
in interface IActiveConnectionCategoryService
listener
- the listener to removepublic void setConnectionStateViewer(IConnectionStateViewer connectionStateViewer)
public IConnectionStatusController getConnectionStatusController()
public void setCurrentCategory(java.lang.String aCategory)
aCategory
- public java.lang.String getActiveConnectionCategory()
IActiveConnectionCategoryService
getActiveConnectionCategory
in interface IActiveConnectionCategoryService
public boolean isDialogMode()
public void setDialogMode(boolean dialogMode)
dialogMode
- a boolean indicating whether or not this ConnectionWidgetManager is in dialog mode.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |