Search in sources :

Example 1 with ToolItem

use of org.eclipse.reddeer.swt.api.ToolItem in project jbosstools-openshift by jbosstools.

the class OpenShiftProject method togglePinPropertiesView.

/**
 * Sets properties view to pinned or not for selected domain. Properties
 * view has to be opened to perform this method.
 *
 * @param toggle toggle pinned properties view or not
 */
public void togglePinPropertiesView(boolean toggle) {
    ToolItem pinItem = new DefaultToolItem("Pins this property view to the current selection");
    pinItem.toggle(toggle);
}
Also used : DefaultToolItem(org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem) ToolItem(org.eclipse.reddeer.swt.api.ToolItem) DefaultToolItem(org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem)

Aggregations

ToolItem (org.eclipse.reddeer.swt.api.ToolItem)1 DefaultToolItem (org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem)1