blob: 6f4195b0606297ddd85ec7e38017cf6c139bb4ba [file] [log] [blame]
/**
* Copyright (c) 2013 Loetz GmbH&Co.KG(Heidelberg). 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: Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation
*/
package org.eclipse.osbp.ecview.core.extension.editpart.emf;
import org.eclipse.osbp.ecview.core.common.editpart.emf.ActionEditpart;
import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelFactory;
import org.eclipse.osbp.ecview.core.extension.model.extension.YButton;
import org.eclipse.osbp.ecview.core.ui.core.editparts.extension.IButtonEditpart;
/**
* The implementation of the IButtonEditpart.
*/
public class ButtonEditpart extends ActionEditpart<YButton> implements
IButtonEditpart {
protected YButton createModel() {
return (YButton) ExtensionModelFactory.eINSTANCE
.createYButton();
}
}