/** | |
* Copyright (c) 2015 Mia-Software. | |
* 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: | |
* Thomas Cicognani (Mia-Software) - Bug 470962 - Add shortcuts to activate customs | |
*/ | |
package org.eclipse.modisco.infra.browser.ecore.ui.internal.handler; | |
import org.eclipse.jface.action.IContributionItem; | |
import org.eclipse.modisco.facet.custom.ui.LoadCustomShortcutsMenuUtils; | |
import org.eclipse.ui.actions.CompoundContributionItem; | |
public class LoadCustomShortcutsMenu extends CompoundContributionItem { | |
@Override | |
protected IContributionItem[] getContributionItems() { | |
return LoadCustomShortcutsMenuUtils.getCustomItemsFromCurrentPart(); | |
} | |
} |