Examples of Map


Examples of org.jboss.internal.soa.esb.webservice.addressing.MAP

        }
    }
   
    private boolean handleRequest(final SOAPMessageContext context)
    {
        final MAP props = MAPBuilderFactory.getInstance().getBuilderInstance().inboundMap(context) ;
        AddressingContext.setAddressingProperties(props) ;
       
        return true ;
    }
View Full Code Here

Examples of org.jpokemon.overworld.Map

  }

  @Override
  public void execute(Player player) throws ServiceException {
    OverworldService overworldService = (OverworldService) PlayerManager.getService("overworld");
    Map nextMap = overworldService.getMap(nextMapId);
    Entity nextDoor = nextMap.getEntity(mapId);
    Location nextLocation = nextDoor.getLocation().clone();
    nextLocation.setWidth(1);
    nextLocation.setHeight(1);
    nextLocation.setDirection("down");
View Full Code Here

Examples of org.locationtech.udig.project.internal.Map

            table.clear();
            table.update();
            return;
        }
       
        Map map = currentEditor.getMap();
        final ILayer selectedLayer = map.getEditManager().getSelectedLayer();
        // layerSelecte returns if layer==newLayer.  If both are null we still want to listen to map for a
        // layer being added (and selected).
        if( selectedLayer==null && layer == null ){
            map.getEditManager().addListener(editManagerListener);
            return;
        }
       
        PlatformGIS.run(new ISafeRunnable(){
View Full Code Here

Examples of org.openiaml.model.model.visual.Map

    assertNotGenerated(home);

    InputTextField input = assertHasInputTextField(home, "select address");
    assertNotGenerated(input);

    Map map = assertHasMap(home, "Target Map");
    assertNotGenerated(map);

    assertNotGenerated(assertHasSetWire(root, input, map, "set"));
  }
View Full Code Here

Examples of org.solarus.editor.Map

     * @param map The new map.
     * @param QuestEditorException if this entity cannot exist in the new map.
     */
    public void setMap(Map map) throws QuestEditorException {

        Map oldMap = this.map;
        Tileset oldTileset = oldMap != null ? oldMap.getTileset() : null;
        this.map = map;
        notifyMapChanged(oldMap, map);
        notifyTilesetChanged(oldTileset, map.getTileset());
    }
View Full Code Here

Examples of org.spout.vanilla.material.map.Map

    }
    ItemStack i = inventory.getQuickbar().getSelectedSlot().get();
    if (i == null || !(i.getMaterial() instanceof Map)) {
      throw new CommandException("Held item is not a map");
    }
    Map m = (Map) i.getMaterial();
    int bx = args.popInteger("bx");
    int by = args.popInteger("by");
    int tx = args.popInteger("tx");
    int ty = args.popInteger("ty");
    int col = args.popInteger("col");
    args.assertCompletelyParsed();

    if (bx < 0 || bx >= m.getWidth()) {
      throw new CommandException("bx component is out of range");
    }
    if (by < 0 || by >= m.getHeight()) {
      throw new CommandException("by component is out of range");
    }
    if (tx < 0 || tx >= m.getWidth()) {
      throw new CommandException("tx component is out of range");
    }
    if (ty < 0 || ty >= m.getHeight()) {
      throw new CommandException("ty component is out of range");
    }
    if (bx > tx) {
      throw new CommandException("bx cannot be greater than tx");
    }
    if (by > ty) {
      throw new CommandException("by cannot be greater than ty");
    }
    for (ProtocolEvent e : m.drawRectangle(i, bx, by, tx, ty, col)) {
      player.getNetwork().callProtocolEvent(e);
    }
  }
View Full Code Here

Examples of org.wicketstuff.openlayers3.api.Map

        // create and add our marker
        map = new DefaultOpenLayersMap("map",

                // create the model for our map
                Model.of(new Map(

                        // list of layers
                        Arrays.<Layer>asList(

                                // a new tile layer with the map of the world
View Full Code Here

Examples of ptolemy.backtrack.util.java.util.Map

     @param args
     */
    public static void main(String[] args) throws Exception {
        String className = args[0];
        Class mapClass = MapTest1.class.getClassLoader().loadClass(className);
        Map map = (Map) mapClass.newInstance();
        int iteration = 20;

        // Test clear() function.
        for (int i = 0; i < iteration; i++) {
            map.put(new Integer(i), new Integer(iteration - i));
        }

        long handle1 = map.$GET$CHECKPOINT().createCheckpoint();
        map.clear();
        map.$GET$CHECKPOINT().rollback(handle1, true);
        System.out.println(map);

        // Test keySet() and clear() of the key set.
        for (int i = 0; i < iteration; i++) {
            map.put(new Integer(i), new Integer(iteration - i));
        }

        long handle2 = map.$GET$CHECKPOINT().createCheckpoint();
        map.keySet().clear();
        map.$GET$CHECKPOINT().rollback(handle2, true);
        System.out.println(map);

        // Test entrySet() and clear() of the entry set.
        for (int i = 0; i < iteration; i++) {
            map.put(new Integer(i), new Integer(iteration - i));
        }

        long handle3 = map.$GET$CHECKPOINT().createCheckpoint();
        map.entrySet().clear();
        map.$GET$CHECKPOINT().rollback(handle2, true);
        System.out.println(map);

        // Test removal with iterator().
        for (int i = 0; i < iteration; i++) {
            map.put(new Integer(i), new Integer(iteration - i));
        }

        long handle4 = map.$GET$CHECKPOINT().createCheckpoint();
        Iterator iterator = map.keySet().iterator();

        while (iterator.hasNext()) {
            iterator.next();
            iterator.remove();
        }

        map.$GET$CHECKPOINT().rollback(handle2, true);
        System.out.println(map);
    }
View Full Code Here

Examples of ru.shalnov.pacman.protocol.Map

        /////////////

        //width, height, density, min step
        System.out.println("Generate map...");
        MapGenerator mapGen = new MapGenerator(20, 10, 0.44, 3);
        Map map = mapGen.generateMap();

        MapUI mapUI = new MapUI();
        mapUI.create(map, -1);

        System.out.println("success");
        Game game = new Game(map, mapUI);
        map.print();

        GameServerRegistrator registrator = new GameServerRegistrator(game);
        Thread registratorThread = new Thread(registrator);
        registratorThread.start();
View Full Code Here

Examples of tiled.core.Map

   * @throws Exception */
  public void convert(final String tmxFile) throws Exception {
    final File file = new File(tmxFile);

    final String filename = file.getAbsolutePath();
    final Map map = new XMLMapTransformer().readMap(filename);
    saveImageMap(map, tmxFile);
  }
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.