| /** |
| * <copyright> |
| * |
| * Copyright (c) 2014-2015 itemis and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * itemis - Initial API and implementation |
| * itemis - [473260] Progress indication of check framework |
| * itemis - [473261] Check Validation: Cancel button unresponsive |
| * |
| * </copyright> |
| */ |
| package org.eclipse.sphinx.examples.hummingbird20.workflows.check |
| |
| import org.eclipse.sphinx.emf.mwe.dynamic.WorkspaceWorkflow |
| import org.eclipse.sphinx.emf.check.ICheckValidator |
| import org.eclipse.sphinx.emf.check.workflows.AbstractCheckValidationWorkflowComponent |
| |
| class CheckHummingbird20Workflow extends WorkspaceWorkflow { |
| |
| new(){ |
| children += new CheckHummingbird20WorkflowComponent |
| } |
| } |
| |
| class CheckHummingbird20WorkflowComponent extends AbstractCheckValidationWorkflowComponent { |
| |
| new() { |
| categories += "Category1" |
| categories += "Category2" |
| categories += ICheckValidator.OPTION_CATEGORIES_OTHER_ID; |
| |
| intrinsicModelIntegrityConstraintsEnabled = true |
| } |
| } |