public class LifecycleServiceImpl extends java.lang.Object implements ELifecycleService
ELifecycleService| Constructor and Description |
|---|
LifecycleServiceImpl() |
| 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
|
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)
Validate an annotation
|
public void registerLifecycleURI(MUIElement element,
java.lang.String lifecycleURI)
ELifecycleServiceregisterLifecycleURI in interface ELifecycleServiceelement - the model elementlifecycleURI - the uripublic boolean validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MUIElement element,
IEclipseContext context)
ELifecycleServicevalidateAnnotation in interface ELifecycleServiceannotationClass - the annotation classelement - the elementcontext - the contexttrue if validation succeededpublic boolean validateAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
MApplicationElement element,
IEclipseContext context,
IEclipseContext localContext)
ELifecycleServicevalidateAnnotation in interface ELifecycleServiceannotationClass - the annotation classelement - the elementcontext - the contextlocalContext - the local contexttrue if validation succeededpublic void unregisterLifecycleContribution(MUIElement element,
java.lang.Object contribution)
ELifecycleServiceunregisterLifecycleContribution in interface ELifecycleServiceelement - the elementcontribution - the contribution instance