/*****************************************************************************
* 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 semantic aspect actions taken after palette actions
*/
public class SemanticAspectActionProvider extends AbstractAspectActionProvider {
/** semantic action key */
public final static String SEMANTIC_ACTION_KEY = "org.eclipse.papyrus.postaction.semanticaction";
/**
* Constructor.
*
*/
public SemanticAspectActionProvider() {
}
/**
* @{inheritDoc
*/
public IAspectAction createAction(Node configurationNode) {
SemanticPostAction action = new SemanticPostAction();
action.init(configurationNode, this);
return action;
}
/**
* @{inheritDoc
*/
public boolean isEnable(IPaletteEntryProxy entryProxy) {
return true;
}
}