|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.view.internal.provider.ViewProviderImpl
public class ViewProviderImpl
| Constructor Summary | |
|---|---|
ViewProviderImpl()
Default Constructor. |
|
ViewProviderImpl(boolean shouldReadExtensionPointPerRequest)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addProvider(IViewProvider provider)
Adds a IViewProvider. |
void |
clearProviders()
Clears all IViewProviders. |
VView |
getView(org.eclipse.emf.ecore.EObject eObject,
Map<String,Object> context)
This allows to retrieve a VView based on an EObject. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewProviderImpl()
public ViewProviderImpl(boolean shouldReadExtensionPointPerRequest)
shouldReadExtensionPointPerRequest - whether the view providers extension should be read on each request| Method Detail |
|---|
public void clearProviders()
IViewProviders.
public void addProvider(IViewProvider provider)
IViewProvider.
provider - the IViewProvider to be added
public VView getView(org.eclipse.emf.ecore.EObject eObject,
Map<String,Object> context)
VView based on an EObject. This method reads all IViewProviders and searches for the best fitting. If none can be found, then null is returned.
eObject - the EObject to find a VView forcontext - a key-value-map from String to Object
EObject or null if no suited provider could be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||