public class ValidateHandler extends Object
ECPDiagnostician.| Constructor and Description |
|---|
ValidateHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute(org.eclipse.emf.ecore.EObject object)
Whether the handler can be executed for the current selection.
|
void |
execute(org.eclipse.emf.ecore.EObject object)
Performs a validation for currently selected EObject and passes the result to the
ECPValidationResultService. |
@Execute
public void execute(@Named(value="org.eclipse.ui.selection") @Optional
org.eclipse.emf.ecore.EObject object)
ECPValidationResultService.object - the object to validate@CanExecute
public boolean canExecute(@Named(value="org.eclipse.ui.selection") @Optional
org.eclipse.emf.ecore.EObject object)
object - the current selectiontrue if executable, false otherwiseCopyright © 2020. All rights reserved.