public interface ELifecycleService
Modifier and Type | Method and Description |
---|---|
void |
registerLifecycleURI(@NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element,
@NonNull java.lang.String lifecycleURI)
Register a life-cycle handler
|
void |
unregisterLifecycleContribution(@NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element,
@NonNull java.lang.Object contribution)
Unregister a life-cycle handler
|
boolean |
validateAnnotation(@NonNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
@NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element,
@NonNull org.eclipse.e4.core.contexts.IEclipseContext context)
Validate an annotation
|
void registerLifecycleURI(@NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element, @NonNull java.lang.String lifecycleURI)
element
- the model elementlifecycleURI
- the urivoid unregisterLifecycleContribution(@NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element, @NonNull java.lang.Object contribution)
element
- the elementcontribution
- boolean validateAnnotation(@NonNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, @NonNull org.eclipse.e4.ui.model.application.ui.MUIElement element, @NonNull org.eclipse.e4.core.contexts.IEclipseContext context)
annotationClass
- the annotation classelement
- the elementcontext
- the contexttrue
if validation succeeded