![JAR search and dependency download from the Maven repository](/logo.png)
org.eclipse.ui.cheatsheets.ICheatSheetAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.rap.ui.cheatsheets
Show all versions of org.eclipse.rap.ui.cheatsheets
The RAP Widget Toolkit Eclipse UI Cheatsheets
The newest version!
/*******************************************************************************
* Copyright (c) 2004, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.cheatsheets;
/**
* Cheat sheet-aware action.
*
* This interface should be implemented by actions
* (subclasses of {@link org.eclipse.jface.action.Action}) that provide extra
* support for use in cheat sheets. These actions get passed additional
* parameters and the invoking cheat sheet manager.
*
*
* It is strongly recommended that actions intended to be invoked from cheat
* sheets should report success/fail outcome if running the action might fail
* (perhaps because the user cancels the action from its dialog).
* See {@link org.eclipse.jface.action.Action#notifyResult(boolean)} for
* details.
*
*
* @since 3.0
*/
public interface ICheatSheetAction {
/**
* Runs this Cheat sheet-aware action.
*
* @param params an array of strings
* @param manager the cheat sheet manager
*/
public void run(String [] params, ICheatSheetManager manager);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy