Examples of ITortoiseInterpreter


Examples of org.xtext.tortoiseshell.lib.ITortoiseInterpreter

            boolean _xblockexpression = false;
            {
              final Tortoise tortoise = new Tortoise();
              tortoise.addListener(TortoiseView.this);
              IResourceServiceProvider _resourceServiceProvider = it.getResourceServiceProvider();
              final ITortoiseInterpreter interpreter = _resourceServiceProvider.<ITortoiseInterpreter>get(ITortoiseInterpreter.class);
              boolean _and_1 = false;
              boolean _notEquals_1 = (!Objects.equal(interpreter, null));
              if (!_notEquals_1) {
                _and_1 = false;
              } else {
                EList<EObject> _contents = it.getContents();
                boolean _isEmpty = _contents.isEmpty();
                boolean _not_1 = (!_isEmpty);
                _and_1 = _not_1;
              }
              if (_and_1) {
                try {
                  EList<EObject> _contents_1 = it.getContents();
                  EObject _get = _contents_1.get(0);
                  interpreter.run(tortoise, _get, stopAtLine);
                } catch (final Throwable _t) {
                  if (_t instanceof Exception) {
                    final Exception e = (Exception)_t;
                    IWorkbenchPartSite _site = TortoiseView.this.getSite();
                    Shell _shell = _site.getShell();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.