Examples of ILocation


Examples of org.apache.tapestry.ILocation

        // Yes, but does it *need* a property created?

        if (!isMissingProperty(propertyName))
            return;

        ILocation location = ps.getLocation();

        Class propertyType = convertPropertyType(ps.getType(), location);

        String readMethodName = checkAccessors(propertyName, propertyType, location);

View Full Code Here

Examples of org.eclipse.graphiti.datatypes.ILocation

    context.setY(mY);

    if (pe instanceof Shape && !(pe instanceof Diagram)) {
      GraphicsAlgorithm ga = pe.getGraphicsAlgorithm();
      if (ga != null) {
        ILocation relLocation = Graphiti.getPeService().getLocationRelativeToDiagram((Shape) pe);
        int x = relLocation.getX();
        int y = relLocation.getY();
        int width = ga.getWidth();
        int height = ga.getHeight();

        if (mX > x && mX < x + width && mY > y && mY < y + height) {
          int relativeX = mX - x;
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.