Examples of exposeArea()


Examples of org.eclipse.jst.pagedesigner.tools.ExposeHelper.exposeArea()

  private void reveal() {
    Caret caret = _viewer.getCaret();
    if (caret != null && !caret.isDisposed() && _viewer.isInRangeMode()) {
      org.eclipse.swt.graphics.Rectangle rect = caret.getBounds();
      ExposeHelper helper = new ExposeHelper(_viewer);
      helper.exposeArea(new Rectangle(rect.x, rect.y, rect.width,
          rect.height));
    }
  }
}
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.