Skip to content
Snippets Groups Projects
Commit a5adeff0 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

moves activate/deactivate to UI service

refs 2620
parent e0994658
No related branches found
No related tags found
No related merge requests found
package org.fortiss.tooling.kernel.ui.service;
import static org.fortiss.tooling.kernel.ui.ToolingKernelUIActivator.getService;
import org.fortiss.tooling.kernel.ToolingKernelActivator;
import org.fortiss.tooling.kernel.model.constraints.IConstraint;
import org.fortiss.tooling.kernel.model.constraints.IConstraintVerificationStatus;
......@@ -38,4 +36,16 @@ public interface IConstraintVerificationUIService {
/** Install the given constraint: install notifiers and triggers an "onOutdate" event. */
public void install(IConstraint constraint);
/**
* The following features deal with the usage of constraints to drive the process.
*
* EXPERIMENTAL.
*/
/** Activates the constraint type. */
public <T extends IConstraint> void activate(Class<T> constraintEltClass);
/** Deactivates the constraint type. */
public <T extends IConstraint> void deactivate(Class<T> constraintEltClass);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment