/***************************************************************************** * 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 GraphicalAspectActionProvider extends AbstractAspectActionProvider { /** semantic action key */ public final static String GRAPHICAL_ACTION_KEY = "org.eclipse.papyrus.postaction.graphicalaction"; /** * Constructor. * */ public GraphicalAspectActionProvider() { } /** * @{inheritDoc */ public IAspectAction createAction(Node configurationNode) { GraphicalPostAction action = new GraphicalPostAction(); action.init(configurationNode, this); return action; } /** * @{inheritDoc */ public boolean isEnable(IPaletteEntryProxy entryProxy) { return true; } }