08-05-2014 11:32 PM
public Object execute(ExecutionEvent event) throws ExecutionException {
final IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
final IEditorPart activeEditor = window.getActivePage().getActiveEditor();
ActivitiDiagramEditor editor = (ActivitiDiagramEditor) activeEditor;
final IDiagramTypeProvider pro = editor.getDiagramTypeProvider();
final Diagram diagram = pro.getDiagram();
final ProcessValidator processValidator = (ProcessValidator) ExtensionPointUtil.getProcessValidator(PluginConstants.VALIDATOR_ID);
processValidator.validateDiagram(diagram, new NullProgressMonitor());
08-06-2014 04:56 AM
08-17-2014 06:43 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.