/***************************************************************************** * Copyright (c) 2010 CEA LIST. * * 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: * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation *****************************************************************************/ package org.eclipse.papyrus.uml.diagram.common.service.palette; import org.w3c.dom.Node; /** * Factory in charge of the graphical aspect actions taken after palette actions */ public class DisplayAppliedStereotypeAspectActionProvider extends AbstractAspectActionProvider { /** semantic action key */ public final static String DISPLAY_APPLIED_STEREOTYPE_ACTION_KEY = "org.eclipse.papyrus.postaction.displayAppliedStereotypeaction"; /** * Constructor. */ public DisplayAppliedStereotypeAspectActionProvider() { } /** * @{inheritDoc */ public IAspectAction createAction(Node configurationNode) { DisplayAppliedStereotypePostAction action = new DisplayAppliedStereotypePostAction(); action.init(configurationNode, this); return action; } /** * @{inheritDoc */ public boolean isEnable(IPaletteEntryProxy entryProxy) { return true; } }