Package com.onpositive.mapper.handlers

Source Code of com.onpositive.mapper.handlers.AddTilesetHandler

package com.onpositive.mapper.handlers;

import org.eclipse.core.commands.ExecutionEvent;

import com.onpositive.mapper.actions.AddTilesetAction;
import com.onpositive.mapper.editors.MapEditor;

public class AddTilesetHandler extends MapEditorActionHandler {

  @Override
  public void executeForEditor(ExecutionEvent event, MapEditor activeEditor) {
    AddTilesetAction tilesetAction = new AddTilesetAction();
    tilesetAction.runForMap(tilesetAction,activeEditor.getMap());
  }

}
TOP

Related Classes of com.onpositive.mapper.handlers.AddTilesetHandler

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.