/** * <copyright> * </copyright> * * */ package robot.resource.robot.ui; public class RobotOutlinePageExpandAllAction extends robot.resource.robot.ui.AbstractRobotOutlinePageAction { public RobotOutlinePageExpandAllAction(robot.resource.robot.ui.RobotOutlinePageTreeViewer treeViewer) { super(treeViewer, "Expand all", org.eclipse.jface.action.IAction.AS_PUSH_BUTTON); initialize("icons/expand_all_icon.gif"); } public void runInternal(boolean on) { if (on) { getTreeViewer().expandAll(); } } public boolean keepState() { return false; } }