/*
 * Copyright (c) 2008-2009 David Muller <roxon@users.sourceforge.net>.
 * All rights reserved. Use of the code is allowed under the
 * Artistic License 2.0 terms, as specified in the LICENSE file
 * distributed with this code, or available from
 * http://www.opensource.org/licenses/artistic-license-2.0.php
 */
package org.pwsafe.passwordsafeswt.action;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.resource.ImageDescriptor;
import org.pwsafe.passwordsafeswt.PasswordSafeJFace;

/**
 * Displays the Help.
 *
 * @author Glen Smith
 */
public class HelpAction extends Action {

    public HelpAction() {
        super(Messages.getString("HelpAction.Label")); //$NON-NLS-1$
        setImageDescriptor(ImageDescriptor.createFromURL(this.getClass().getClassLoader().getResource("org/pwsafe/passwordsafeswt/images/tool_newbar_help.gif"))); //$NON-NLS-1$
        setToolTipText(Messages.getString("HelpAction.Tooltip")); //$NON-NLS-1$
    }

    /**
     * @see org.eclipse.jface.action.Action#run()
     */
    public void run() {
        final PasswordSafeJFace app = PasswordSafeJFace.getApp();
        //TODO show help here...
    }

}
@@ -942,24 +942,99 @@
 $NON-NLS-1$%0A
+        // TODO once it's working, enable it...%0A        setEnabled(false);%0A
     %7D%0A%0A    /
@@ -1094,24 +1094,35 @@
      */%0A    
+@Override%0A%09
 public void 

disable unimplemented help action