|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds offline capabilities to an IConnectionFactory. Connection profiles that have connection factories defined for them that implement this interface will have the additional "Work offline..." and "Save offline..." methods.
Method Summary | |
boolean |
canWorkOffline(IConnectionProfile profile)
This method is used by the framework to determine whether or not data for a particular connection profile has been saved for offline use. |
IOfflineConnection |
createConnection(IConnectionProfile profile,
IProgressMonitor monitor)
This method creates a connection to a server based on the properties specified by the connection profile. |
IOfflineConnection |
createOfflineConnection(IConnectionProfile profile,
IProgressMonitor monitor)
Creates an offline connection. |
Methods inherited from interface org.eclipse.datatools.connectivity.IConnectionFactory |
createConnection, createConnection |
Method Detail |
public IOfflineConnection createOfflineConnection(IConnectionProfile profile, IProgressMonitor monitor)
profile
- monitor
- for communicating progress
public IOfflineConnection createConnection(IConnectionProfile profile, IProgressMonitor monitor)
profile
- the profile to connect to.monitor
- for communicating progress
IConnectionFactory.createConnection(org.eclipse.datatools.connectivity.IConnectionProfile)
public boolean canWorkOffline(IConnectionProfile profile)
profile
- the profile
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |