use of org.csstudio.opibuilder.commands.ChangeOrientationCommand in project yamcs-studio by yamcs.
the class ChangeOrientationAction method run.
@Override
public void run() {
CompoundCommand compoundCommand = new CompoundCommand(orientationType.getLabel());
for (AbstractWidgetModel widgetModel : getSelectedWidgetModels()) {
compoundCommand.add(new ChangeOrientationCommand(widgetModel, orientationType));
}
execute(compoundCommand);
}
Aggregations