Examples of manageDefaultFont()


Examples of org.eclipse.graphiti.services.IGaService.manageDefaultFont()

      text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
      Font font = null;
      if (OSUtil.getOperatingSystem() == OSEnum.Mac) {
        font = gaService.manageFont(getDiagram(), text.getFont().getName(), 11, false, true);
      } else {
        font = gaService.manageDefaultFont(getDiagram(), false, true);
      }
      text.setFont(font);
      gaService.setLocationAndSize(text, 0, 0, width, 20);

      // create link and wire it
View Full Code Here

Examples of org.eclipse.graphiti.services.IGaService.manageDefaultFont()

      text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
      Font font = null;
      if (OSUtil.getOperatingSystem() == OSEnum.Mac) {
        font = gaService.manageFont(getDiagram(), text.getFont().getName(), 11, false, true);
      } else {
        font = gaService.manageDefaultFont(getDiagram(), false, true);
      }
      text.setFont(font);
      gaService.setLocationAndSize(text, 0, 0, width, 20);

      // create link and wire it
View Full Code Here

Examples of org.eclipse.graphiti.services.IGaService.manageDefaultFont()

      text.setAngle(-90);
      Font font = null;
      if (OSUtil.getOperatingSystem() == OSEnum.Mac) {
        font = gaService.manageFont(getDiagram(), text.getFont().getName(), 11, false, true);
      } else {
        font = gaService.manageDefaultFont(getDiagram(), false, true);
      }
      text.setFont(font);

      // create link and wire it
      link(shape, addedPool);
View Full Code Here

Examples of org.eclipse.graphiti.services.IGaService.manageDefaultFont()

      text.setAngle(-90);
      Font font = null;
      if (OSUtil.getOperatingSystem() == OSEnum.Mac) {
        font = gaService.manageFont(getDiagram(), text.getFont().getName(), 11, false, true);
      } else {
        font = gaService.manageDefaultFont(getDiagram(), false, true);
      }
      text.setFont(font);

      // create link and wire it
      link(shape, addedLane);
View Full Code Here

Examples of org.eclipse.graphiti.services.IGaService.manageDefaultFont()

      text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);
      Font font = null;
      if (OSUtil.getOperatingSystem() == OSEnum.Mac) {
        font = gaService.manageFont(getDiagram(), text.getFont().getName(), 11, false, true);
      } else {
        font = gaService.manageDefaultFont(getDiagram(), false, true);
      }
      text.setFont(font);

      gaService.setLocationAndSize(text, 0, 20, width, 30);
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.