| /***************************************************************************** |
| * Copyright (c) 2013 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: |
| * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation |
| *****************************************************************************/ |
| package org.eclipse.papyrus.sysml.nattable.menu.handlers; |
| |
| import org.eclipse.gmf.runtime.emf.type.core.IElementType; |
| import org.eclipse.papyrus.sysml.service.types.element.SysMLElementTypes; |
| |
| /** |
| * <pre> |
| * Command handler for Unit creation |
| * |
| * </pre> |
| * |
| * @generated |
| */ |
| public class UnitHandler extends AbstractSysmlNattableCreateCommandHandler { |
| |
| /** |
| * <pre> |
| * @see org.eclipse.papyrus.uml.service.types.ui.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() |
| * |
| * @return the IElementType this handler is supposed to create |
| * |
| * </pre> |
| * |
| * @generated |
| */ |
| @Override |
| protected IElementType getElementTypeToCreate() { |
| return SysMLElementTypes.UNIT; |
| } |
| } |