/** * Creates a button for the given action. * * @param pathButtonComp parent composite for the button * @param action the action triggered by the button * @return the button that was created */ protected Button createButton(Composite pathButtonComp, RuntimeClasspathAction action) { Button button = createPushButton(pathButtonComp, action.getText(), null); action.setButton(button); return button; }