Bug 315281 update copyrights for 3.6
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CloseResourceAction.java
initAction();
    }
    /**
	 * Override super constructor to allow subclass to 
	 * override with unique text.
	 * @deprecated See {@link #CloseResourceAction(IShellProvider, String)}
	 */
    protected CloseResourceAction(Shell shell, String text) {
    	super(shell, text);
    }
    
    /**
	 * Create the new action.
	 * 
	 * @param provider
	 *            the shell provider for any dialogs
	 * @since 3.4
	 */
    public CloseResourceAction(IShellProvider provider) {
    	super(provider, IDEWorkbenchMessages.CloseResourceAction_text);
        initAction();
    }
    
    /**
	 * Provide text to the action.
	 * 
	 * @param provider
	 *            the shell provider for any dialogs
	 * @param text
	 *            label