public interface ELifecycleService
| Modifier and Type | Method and Description |
|---|---|
void |
registerLifecycleURI(MUIElement element,
java.lang.String lifecycleURI)
Register a life-cycle handler
|
void |
unregisterLifecycleContribution(MUIElement element,
java.lang.Object contribution)
Unregister a life-cycle handler
|
default boolean |
validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MApplicationElement element,
IEclipseContext context,
IEclipseContext localContext)
Validate an annotation
|
boolean |
validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MUIElement element,
IEclipseContext context)
|
void registerLifecycleURI(MUIElement element,
java.lang.String lifecycleURI)
element - the model elementlifecycleURI - the urivoid unregisterLifecycleContribution(MUIElement element,
java.lang.Object contribution)
element - the elementcontribution - the contribution instance@Deprecated
boolean validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MUIElement element,
IEclipseContext context)
annotationClass - the annotation classelement - the elementcontext - the contexttrue if validation succeededdefault boolean validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MApplicationElement element,
IEclipseContext context,
IEclipseContext localContext)
annotationClass - the annotation classelement - the elementcontext - the contextlocalContext - the local contexttrue if validation succeeded