/**
* <copyright>
* </copyright>
*
*
*/
package robot.resource.robot.ui;
public class RobotOutlinePageAutoExpandAction extends robot.resource.robot.ui.AbstractRobotOutlinePageAction {
public RobotOutlinePageAutoExpandAction(robot.resource.robot.ui.RobotOutlinePageTreeViewer treeViewer) {
super(treeViewer, "Auto expand", org.eclipse.jface.action.IAction.AS_CHECK_BOX);
initialize("icons/auto_expand_icon.gif");
}
public void runInternal(boolean on) {
getTreeViewer().setAutoExpand(on);
getTreeViewer().refresh();
}
}