blob: 91ac8cbaea92d2b075fccad496afc72ac999f618 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.bpel.ui.bpelactions;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.terms.BPELTerms;
import org.eclipse.bpel.ui.Messages;
import org.eclipse.bpel.ui.adapters.BPELUIAdapterFactory;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.ecore.EClass;
public class SimpleAction extends AbstractBPELAction {
@Override
public EClass getModelType() {
return BPELPackage.eINSTANCE.getEmpty();
}
@Override
public String getLabel() {
return BPELTerms.getString("Empty"); //$NON-NLS-1$
}
@Override
public String getDescription() {
return Messages.SimpleAction_Simple_Action_0;
}
@Override
public AdapterFactory getAdapterFactory() {
return BPELUIAdapterFactory.getInstance();
}
}