Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.IInformationControlExtension3.computeTrim()


    IInformationControl informationControl= getInformationControl();
   
    Rectangle controlBounds= fContentBounds;
    if (informationControl instanceof IInformationControlExtension3) {
      IInformationControlExtension3 iControl3= (IInformationControlExtension3) informationControl;
      Rectangle trim= iControl3.computeTrim();
      controlBounds= Geometry.add(controlBounds, trim);
     
      /*
       * Ensure minimal size. Interacting with a tiny information control
       * (resizing, selecting text) would be a pain.
View Full Code Here


    IInformationControl informationControl= getInformationControl();

    Rectangle controlBounds= fContentBounds;
    if (informationControl instanceof IInformationControlExtension3) {
      IInformationControlExtension3 iControl3= (IInformationControlExtension3) informationControl;
      Rectangle trim= iControl3.computeTrim();
      controlBounds= Geometry.add(controlBounds, trim);

      /*
       * Ensure minimal size. Interacting with a tiny information control
       * (resizing, selecting text) would be a pain.
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.