Search in sources :

Example 1 with DependencyValidator

use of org.kie.workbench.common.screens.projecteditor.client.forms.dependencies.validation.DependencyValidator in project kie-wb-common by kiegroup.

the class NewDependencyPopup method show.

public void show(final Callback<Dependency> callback) {
    this.callback = callback;
    dependency = new Dependency();
    validator = new DependencyValidator(dependency);
    view.clean();
    view.show();
}
Also used : DependencyValidator(org.kie.workbench.common.screens.projecteditor.client.forms.dependencies.validation.DependencyValidator) Dependency(org.guvnor.common.services.project.model.Dependency)

Aggregations

Dependency (org.guvnor.common.services.project.model.Dependency)1 DependencyValidator (org.kie.workbench.common.screens.projecteditor.client.forms.dependencies.validation.DependencyValidator)1