App
RemoveRasterDataCommand.java
Go to the documentation of this file.
1 package mhr.appcore.commands.imagecommands.rasterdatacommands;
2 
3 import mhr.appcore.AppCore;
4 import mhr.appcore.commands.AppCommand;
5 import mhr.appcore.image.ImageSelectedState;
6 
10 public class RemoveRasterDataCommand extends AppCommand {
11 
12  protected int itemId;
14 
21  this.item = item;
22  this.itemId = itemId;
23  }
24 
25  @Override
26  protected void action(AppCore target) {
27  target.getImg().removeClipBoard(item, itemId);
28  target.getRenderer().render();
29  }
30 }