public abstract class AbstractLocationProvider extends java.lang.Object implements ILocationProvider
| Constructor and Description |
|---|
AbstractLocationProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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
|
abstract java.lang.String |
getLocation(org.eclipse.emf.ecore.EObject eObject)
This method gets the location uri corresponding to the given EObject
|
abstract org.eclipse.core.runtime.IAdaptable |
getLocation(java.lang.String strURI)
This method gets the location as IAdaptable object, corresponding to the specified uri
location.
|
abstract 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.
|
abstract 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.
|
public boolean isLoginIndicated()
ILocationProviderisLoginIndicated in interface ILocationProviderpublic boolean isLoginRequired(java.lang.String strURI)
ILocationProviderisLoginRequired in interface ILocationProviderstrURI - denotes location uripublic void onLogin(java.lang.String strUri)
ILocationProvideronLogin in interface ILocationProviderstrUri - denotes location for which Login has to be invoked.public abstract java.util.Collection<java.lang.String> getLocations()
ILocationProvidergetLocations in interface ILocationProviderpublic abstract org.eclipse.core.runtime.IAdaptable getLocation(java.lang.String strURI)
ILocationProvidergetLocation in interface ILocationProviderstrURI - denotes locationpublic abstract void selectElements(java.util.List<java.lang.Object> elements,
NavigatorSelectionComposite composite,
com.ibm.xtools.transform.ui.internal.dialogs.AbstractSelectionModel selectionModel)
ILocationProviderselectElements in interface ILocationProviderpublic abstract boolean canProvideLocation(org.eclipse.emf.ecore.EObject eObject)
ILocationProvidercanProvideLocation in interface ILocationProviderpublic abstract java.lang.String getLocation(org.eclipse.emf.ecore.EObject eObject)
ILocationProvidergetLocation in interface ILocationProvider