} catch (CoreException e) {
DesignerLogger.logError(e);
}
} else if (ElementMatch.CONTEXT_FORM_VALIDATION.equals(elementMatch.getContext())) {
FormNode formNode = (FormNode) elementMatch.getGraphElement();
OpenFormValidationDelegate delegate = new OpenFormValidationDelegate();
delegate.openValidationFile(formNode, elementMatch.getFile());
} else if (elementMatch.getGraphElement() instanceof Delegable) {
Delegable delegable = (Delegable) elementMatch.getGraphElement();
DelegableProvider provider = CustomizationRegistry.getProvider(delegable.getDelegationClassName());
String newConfig = provider.showConfigurationDialog(delegable);
if (newConfig != null) {
delegable.setDelegationConfiguration(newConfig);
}
} else if (elementMatch.getGraphElement() instanceof Subprocess) {
SubprocessDelegate delegate = new SubprocessDelegate();
delegate.openDetails((Subprocess) elementMatch.getGraphElement());
} else if (elementMatch.getGraphElement() != null) {
DesignerEditor designerEditor = (DesignerEditor) IDE.openEditor(getSite().getPage(), elementMatch.getFile());
designerEditor.select(elementMatch.getGraphElement());
}
if (editor == null) {