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

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

Go to download

This plug-in contains the bulk of the Workbench implementation, and depends on JFace, SWT, and Core Runtime. It cannot be used independently from org.eclipse.ui. Workbench client plug-ins should not depend directly on this plug-in.

The newest version!
/*******************************************************************************
 * Copyright (c) 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.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