use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method showBrowser.
@Bindable
public void showBrowser() {
IPluginPerspective perspective = PerspectiveManager.getInstance().getActivePerspective();
boolean showing = perspective.getId().equalsIgnoreCase(PerspectiveManager.OPENED_PERSPECTIVE);
if (!showing) {
PerspectiveManager.getInstance().setPerspective(PerspectiveManager.OPENED_PERSPECTIVE);
}
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executeShareContent.
@Bindable
public void executeShareContent() {
OpenFileCommand cmd = new OpenFileCommand(COMMAND.SHARE);
cmd.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method launchNewDropdownCommand.
@Bindable
public void launchNewDropdownCommand(XulToolbarbutton button) {
NewDropdownCommand launchNewDropdownCommand = new NewDropdownCommand(((ToolbarButton) button.getManagedObject()).getPushButton());
launchNewDropdownCommand.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executeSaveCommand.
@Bindable
public void executeSaveCommand() {
SaveCommand saveCommand = new SaveCommand();
saveCommand.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executeOpenFileCommand.
@Bindable
public void executeOpenFileCommand() {
OpenFileCommand openFileCommand = new OpenFileCommand();
openFileCommand.execute();
}
Aggregations