All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ui.internal.ActionSetsEvent Maven / Gradle / Ivy

There is a newer version: 3.108.0.v20160602-1232
Show newest version
/*******************************************************************************
 * Copyright (c) 2006, 2007 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.internal;

import org.eclipse.ui.internal.registry.IActionSetDescriptor;

/**
 * 

* An event indicating changes to the action sets in a particular workbench * window. *

*

* This class is only intended for internal use within * org.eclipse.ui.workbench. *

*

* PROVISIONAL. This class or interface has been added as part * of a work in progress. There is a guarantee neither that this API will work * nor that it will remain the same. Please do not use this API without * consulting with the Platform/UI team. *

*

* This class is eventually intended to exist in * org.eclipse.jface.menus. *

* * @since 3.2 */ public final class ActionSetsEvent { /** * The array of action sets that are now active. This value may be * null. */ private final IActionSetDescriptor[] newActionSets; /** * Constructs a new instance of {@link ActionSetsEvent}. * * @param newActionSets * The action sets that are now active; may be null. */ ActionSetsEvent(final IActionSetDescriptor[] newActionSets) { this.newActionSets = newActionSets; } /** * Returns the currently active action sets. * * @return The action sets that are now active; may be null. */ public final IActionSetDescriptor[] getNewActionSets() { return newActionSets; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy