Package org.objectstyle.wolips.wodclipse.core.document

Examples of org.objectstyle.wolips.wodclipse.core.document.DocumentWodElement


  public void webObjectTagSelected(String name) {
    try {
      IWodElement wodElement = getWodModel(false).getElementNamed(name);
      if (wodElement instanceof DocumentWodElement) {
        DocumentWodElement docWodElement = (DocumentWodElement)wodElement;
        Position namePosition = docWodElement.getElementNamePosition();
        getSourceViewer().setSelectedRange(namePosition.getOffset(), namePosition.getLength());
        getSourceViewer().revealRange(namePosition.getOffset(), namePosition.getLength());
        //setHighlightRange(namePosition.getOffset(), namePosition.getLength(), true);
      }
    } catch (BadLocationException e) {
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.wodclipse.core.document.DocumentWodElement

Copyright © 2018 www.massapicom. 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.