Examples of ILocationInfo


Examples of org.eclipse.graphiti.util.ILocationInfo

        int height = ga.getHeight();

        if (mX > x && mX < x + width && mY > y && mY < y + height) {
          int relativeX = mX - x;
          int relativeY = mY - y;
          ILocationInfo locationInfo = Graphiti.getLayoutService().getLocationInfo((Shape) pe, relativeX, relativeY);
          context.setInnerPictogramElement(locationInfo.getShape());
          context.setInnerGraphicsAlgorithm(locationInfo.getGraphicsAlgorithm());
        }
      }
    }
  }
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.