| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.debugger.core.DebugHandlerManager
public class DebugHandlerManager
Used to manage all debug handlers: creation, destroy
| Constructor Summary | |
|---|---|
| DebugHandlerManager() | |
| Method Summary | |
|---|---|
|  void | aboutToClose(ConnectEvent event)The profile is about to close | 
|  void | closeConnection(ConnectEvent event)The profile is to be disconnected | 
|  void | dispose()Disposes all debug handlers in this manager | 
|  IDebugHandler[] | getDebugHandler(org.eclipse.datatools.sqltools.core.ServerIdentifier serverIdentifier)Returns the debug handler for the given server | 
|  IDebugHandler | getDebugHandler(java.lang.String profileName)Returns the debug handler for the given profile, may return null if there is no debug handler for this profile | 
|  IDebugHandler[] | getDebugHandlers()Returns all debug handlers | 
|  IDebugHandler | getOrCreateDebugHandler(java.lang.String profileName)Returns or creates the debug handler for the given profile. | 
|  org.eclipse.datatools.sqltools.core.ServerIdentifier[] | getServerIdentifiers()Returns all server ids which are connected | 
|  boolean | okToClose(ConnectEvent event)Asks if the profile can be closed currently | 
|  void | profileAdded(IConnectionProfile profile) | 
|  void | profileChanged(IConnectionProfile profile) | 
|  void | profileChanged(IConnectionProfile profile,
               java.lang.String oldName,
               java.lang.String oldDesc,
               java.lang.Boolean oldAutoConnect,
               boolean onlyNameChanged,
               org.eclipse.datatools.sqltools.core.profile.ConnectProfile oldProfile) | 
|  void | profileConnected(ConnectEvent event)The profile is connected. | 
|  void | profileDeleted(IConnectionProfile profile) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DebugHandlerManager()
| Method Detail | 
|---|
public IDebugHandler getOrCreateDebugHandler(java.lang.String profileName)
IDebugHandlerManager
getOrCreateDebugHandler in interface IDebugHandlerManagerpublic void dispose()
IDebugHandlerManager
dispose in interface IDebugHandlerManagerpublic boolean okToClose(ConnectEvent event)
ISQLToolsConnectListener
okToClose in interface ISQLToolsConnectListenerevent - the connect event
public void aboutToClose(ConnectEvent event)
ISQLToolsConnectListener
aboutToClose in interface ISQLToolsConnectListenerevent - the connect eventpublic void profileConnected(ConnectEvent event)
ISQLToolsConnectListener
profileConnected in interface ISQLToolsConnectListenerevent - the connect eventpublic void closeConnection(ConnectEvent event)
ISQLToolsConnectListener
closeConnection in interface ISQLToolsConnectListenerevent - the connect event
public void profileChanged(IConnectionProfile profile,
                           java.lang.String oldName,
                           java.lang.String oldDesc,
                           java.lang.Boolean oldAutoConnect,
                           boolean onlyNameChanged,
                           org.eclipse.datatools.sqltools.core.profile.ConnectProfile oldProfile)
profileChanged in interface org.eclipse.datatools.sqltools.core.profile.ISQLToolsProfileListenerpublic void profileAdded(IConnectionProfile profile)
profileAdded in interface org.eclipse.datatools.sqltools.core.profile.ISQLToolsProfileListenerpublic void profileDeleted(IConnectionProfile profile)
profileDeleted in interface org.eclipse.datatools.sqltools.core.profile.ISQLToolsProfileListenerpublic void profileChanged(IConnectionProfile profile)
public IDebugHandler[] getDebugHandler(org.eclipse.datatools.sqltools.core.ServerIdentifier serverIdentifier)
IDebugHandlerManager
getDebugHandler in interface IDebugHandlerManagerpublic IDebugHandler[] getDebugHandlers()
IDebugHandlerManager
getDebugHandlers in interface IDebugHandlerManagerpublic IDebugHandler getDebugHandler(java.lang.String profileName)
IDebugHandlerManager
getDebugHandler in interface IDebugHandlerManagerpublic org.eclipse.datatools.sqltools.core.ServerIdentifier[] getServerIdentifiers()
IDebugHandlerManager
getServerIdentifiers in interface IDebugHandlerManager| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||