Search in sources :

Example 1 with ShowBrowserCommand

use of org.pentaho.mantle.client.commands.ShowBrowserCommand in project pentaho-platform by pentaho.

the class MantleController method showNavigatorClicked.

@Bindable
public void showNavigatorClicked() {
    boolean show = !model.isShowNavigatorSelected();
    // toggle first
    model.setShowNavigatorSelected(show);
    ShowBrowserCommand showBrowserCommand = new ShowBrowserCommand(show);
    showBrowserCommand.execute();
}
Also used : ShowBrowserCommand(org.pentaho.mantle.client.commands.ShowBrowserCommand) Bindable(org.pentaho.ui.xul.stereotype.Bindable)

Aggregations

ShowBrowserCommand (org.pentaho.mantle.client.commands.ShowBrowserCommand)1 Bindable (org.pentaho.ui.xul.stereotype.Bindable)1