Examples of ISourceElement


Examples of org.eclipse.handly.model.ISourceElement

            final Object input = getTreeViewer().getInput();
            if (!(input instanceof ISourceElement)) {
                return null;
            }
            final ISourceFile sourceFile = ((ISourceElement) input).getSourceFile();
            final ISourceElement element = SourceElementUtil.getSourceElement(sourceFile,
                    selection.getOffset());
            if (element == null) {
                return null;
            }
            return new StructuredSelection(element);
View Full Code Here

Examples of org.epic.core.model.ISourceElement

          }
            }

      for (Iterator i = variablesModel.iterator(); i.hasNext();)
            {
        ISourceElement elem = (ISourceElement) i.next();
        String name = elem.getName();

        // Only insert variables once
        if (!variables.contains(name))
                {
          variables.add(name);
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.