public interface ILocationProvider
Modifier and Type | Method and Description |
---|---|
boolean |
canProvideLocation(org.eclipse.emf.ecore.EObject eObject)
This method lets the caller check if a particular provider is providing location for the
given EObject
|
java.lang.String |
getLocation(org.eclipse.emf.ecore.EObject eObject)
This method gets the location uri corresponding to the given EObject
|
org.eclipse.core.runtime.IAdaptable |
getLocation(java.lang.String strURI)
This method gets the location as IAdaptable object, corresponding to the specified uri
location.
|
java.util.Collection<java.lang.String> |
getLocations()
This method is returns a collection of location uris.
|
boolean |
isLoginIndicated()
This method is used to check if this provider indicates use of Login in order to access location.
|
boolean |
isLoginRequired(java.lang.String strURI)
This method is used to check if Login is needed in order to connect to a particular location
at the time of invocation of check.
|
void |
onLogin(java.lang.String strUri)
This method is used to delegate Login call to the provider.
|
void |
selectElements(java.util.List<java.lang.Object> elements,
NavigatorSelectionComposite composite,
com.ibm.xtools.transform.ui.internal.dialogs.AbstractSelectionModel selectionModel)
This method is used by transform core ui to delegate selection mechanism to contributor.
|
java.util.Collection<java.lang.String> getLocations()
boolean isLoginIndicated()
boolean isLoginRequired(java.lang.String strURI)
strURI
- denotes location urivoid onLogin(java.lang.String strUri)
strUri
- denotes location for which Login has to be invoked.org.eclipse.core.runtime.IAdaptable getLocation(java.lang.String strURI)
strURI
- denotes locationvoid selectElements(java.util.List<java.lang.Object> elements, NavigatorSelectionComposite composite, com.ibm.xtools.transform.ui.internal.dialogs.AbstractSelectionModel selectionModel)
elements
- composite
- selectionModel
- boolean canProvideLocation(org.eclipse.emf.ecore.EObject eObject)
eObject
- java.lang.String getLocation(org.eclipse.emf.ecore.EObject eObject)
eObject
-