private void initValidationJob() {
   final IFile file = ((IFileEditorInput) getEditorInput()).getFile();
   validationJob = new SCTValidationJob(getDiagram());
   IExpressionLanguageProvider registeredProvider =
       ExpressionLanguageProviderExtensions.getRegisteredProvider(
           SemanticTarget.StatechartSpecification, file.getFileExtension());
   Injector injector = registeredProvider.getInjector();
   injector.injectMembers(validationJob);
   validationJob.setRule(file);
 }
 protected Injector getInjector(SemanticTarget semanticTarget) {
   IExpressionLanguageProvider registeredProvider =
       ExpressionLanguageProviderExtensions.getRegisteredProvider(
           semanticTarget, getActiveEditorResource().getURI().lastSegment());
   return registeredProvider.getInjector();
 }