App

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

SetMasterMaskActiveCommand.java
Go to the documentation of this file.
1 package mhr.appcore.commands.imagecommands;
2
3 import mhr.appcore.AppCore;
4 import mhr.appcore.commands.AppCommand;
5
6
10 public class SetMasterMaskActiveCommand extends AppCommand {
11
12 protected boolean active;
13
18 public SetMasterMaskActiveCommand(boolean active) {
19 this.active = active;
20 }
21
22 @Override
23 protected void action(AppCore target) {
24 synchronized (this) {
25 target.getImg().setMasterMaskActive(active);
26 }
27 }
28
29 }