Loading plugins/org.etsi.mts.tdl.tx/src/org/etsi/mts/tdl/scoping/TDLtxScopeProvider.java +10 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,9 @@ package org.etsi.mts.tdl.scoping; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.ocl.pivot.internal.utilities.IllegalLibraryException; import org.eclipse.xtext.scoping.IScope; import org.etsi.mts.tdl.Validator; /** * This class contains custom scoping description. Loading @@ -17,7 +19,14 @@ public class TDLtxScopeProvider extends TDLScopeProvider { @Override public IScope getScope(EObject context, EReference reference) { try { return super.getScope(context, reference); } catch (IllegalLibraryException e) { // catch and log the exception to avoid breaking the editor e.printStackTrace(); Validator.reload(); return super.getScope(context, reference); } } @Override Loading Loading
plugins/org.etsi.mts.tdl.tx/src/org/etsi/mts/tdl/scoping/TDLtxScopeProvider.java +10 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,9 @@ package org.etsi.mts.tdl.scoping; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.ocl.pivot.internal.utilities.IllegalLibraryException; import org.eclipse.xtext.scoping.IScope; import org.etsi.mts.tdl.Validator; /** * This class contains custom scoping description. Loading @@ -17,7 +19,14 @@ public class TDLtxScopeProvider extends TDLScopeProvider { @Override public IScope getScope(EObject context, EReference reference) { try { return super.getScope(context, reference); } catch (IllegalLibraryException e) { // catch and log the exception to avoid breaking the editor e.printStackTrace(); Validator.reload(); return super.getScope(context, reference); } } @Override Loading