|
||||||||||
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 IDebugHandlerManager
public void dispose()
IDebugHandlerManager
dispose
in interface IDebugHandlerManager
public boolean okToClose(ConnectEvent event)
ISQLToolsConnectListener
okToClose
in interface ISQLToolsConnectListener
event
- the connect event
public void aboutToClose(ConnectEvent event)
ISQLToolsConnectListener
aboutToClose
in interface ISQLToolsConnectListener
event
- the connect eventpublic void profileConnected(ConnectEvent event)
ISQLToolsConnectListener
profileConnected
in interface ISQLToolsConnectListener
event
- the connect eventpublic void closeConnection(ConnectEvent event)
ISQLToolsConnectListener
closeConnection
in interface ISQLToolsConnectListener
event
- the connect eventpublic 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.ISQLToolsProfileListener
public void profileAdded(IConnectionProfile profile)
profileAdded
in interface org.eclipse.datatools.sqltools.core.profile.ISQLToolsProfileListener
public void profileDeleted(IConnectionProfile profile)
profileDeleted
in interface org.eclipse.datatools.sqltools.core.profile.ISQLToolsProfileListener
public void profileChanged(IConnectionProfile profile)
public IDebugHandler[] getDebugHandler(org.eclipse.datatools.sqltools.core.ServerIdentifier serverIdentifier)
IDebugHandlerManager
getDebugHandler
in interface IDebugHandlerManager
public IDebugHandler[] getDebugHandlers()
IDebugHandlerManager
getDebugHandlers
in interface IDebugHandlerManager
public IDebugHandler getDebugHandler(java.lang.String profileName)
IDebugHandlerManager
getDebugHandler
in interface IDebugHandlerManager
public 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 |