Examples of ChangeObjectEdit


Examples of de.yaams.extensions.basemap.tiled.mapeditor.undo.ChangeObjectEdit

  }

  @Override
  protected void buildPropertiesAndDispose() {
    // Make sure the changes to the object can be undone
    undoSupport.postEdit(new ChangeObjectEdit(object));

    object.setName(objectName.getText());
    object.setType(objectType.getText());
    object.setImageSource(objectImageSource.getText());
    object.setWidth(objectWidth.intValue());
View Full Code Here

Examples of tiled.mapeditor.undo.ChangeObjectEdit

        unitHeight.setValue(unit.getHeight());
    }

    protected void buildPropertiesAndDispose() {
        // Make sure the changes to the unit can be undone
        undoSupport.postEdit(new ChangeObjectEdit(unit));

        unit.setName(unitName.getText());
        unit.setType(unitType.getText());
        unit.setWidth(unitWidth.intValue());
        unit.setHeight(unitHeight.intValue());
View Full Code Here

Examples of tiled.mapeditor.undo.ChangeObjectEdit

        heightSpinner.setSelection(mapObject.getHeight());
    }

    protected void buildProperties() {
        // Make sure the changes to the object can be undone
        undoSupport.addEdit(new ChangeObjectEdit(mapObject));

        mapObject.setName(nameText.getText());
        mapObject.setType(typeText.getText());
        String sourceFileName = imageSourceText.getText();
        String baseFilename = mapObject.getObjectGroup().getMap().getFilename();
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.