/* * Copyright (c) 2012-2016 Marsha Chechik, Alessio Di Sandro, Michalis Famelis, * Rick Salay. * 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: * Alessio Di Sandro - Implementation. */ package edu.toronto.cs.se.mmint.mid.diagram.providers.assistants; import java.util.ArrayList; import java.util.List; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.gmf.runtime.emf.type.core.IElementType; import edu.toronto.cs.se.mmint.mid.diagram.providers.MIDElementTypes; import edu.toronto.cs.se.mmint.mid.diagram.providers.MIDModelingAssistantProvider; /** * @generated */ public class MIDModelingAssistantProviderOfMIDEditPart extends MIDModelingAssistantProvider { /** * @generated */ @Override public List<IElementType> getTypesForPopupBar(IAdaptable host) { List<IElementType> types = new ArrayList<IElementType>(5); types.add(MIDElementTypes.Model_2001); types.add(MIDElementTypes.Model_2002); types.add(MIDElementTypes.ModelRel_2003); types.add(MIDElementTypes.ModelRel_2004); types.add(MIDElementTypes.Operator_2005); return types; } }