| /******************************************************************************* |
| * Copyright (c) 2016 Fundación Tecnalia Research & Innovation. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Huascar Espinoza - initial API and implementation |
| * Alejandra Ruíz - initial API and implementation |
| * Idoya Del Río - initial API and implementation |
| * Mari Carmen Palacios - initial API and implementation |
| * Angel López - initial API and implementation |
| *******************************************************************************/ |
| /** |
| * Generated with Acceleo |
| */ |
| package org.eclipse.opencert.infra.mappings.mapping.parts; |
| |
| // Start of user code for imports |
| import org.eclipse.emf.ecore.EObject;
|
|
|
| import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
|
|
|
| import org.eclipse.jface.viewers.ViewerFilter; |
| |
| |
| // End of user code |
| |
| /** |
| * |
| * |
| */ |
| public interface MapModelPropertiesEditionPart { |
| |
| /** |
| * @return the id |
| * |
| */ |
| public String getId(); |
| |
| /** |
| * Defines a new id |
| * @param newValue the new id to set |
| * |
| */ |
| public void setId(String newValue); |
| |
| |
| /** |
| * @return the name |
| * |
| */ |
| public String getName(); |
| |
| /** |
| * Defines a new name |
| * @param newValue the new name to set |
| * |
| */ |
| public void setName(String newValue); |
| |
| |
| /** |
| * @return the description |
| * |
| */ |
| public String getDescription(); |
| |
| /** |
| * Defines a new description |
| * @param newValue the new description to set |
| * |
| */ |
| public void setDescription(String newValue); |
| |
| |
| |
| |
| /** |
| * Init the mapGroupModel |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initMapGroupModel(ReferencesTableSettings settings); |
| |
| /** |
| * Update the mapGroupModel |
| * @param newValue the mapGroupModel to update |
| * |
| */ |
| public void updateMapGroupModel(); |
| |
| /** |
| * Adds the given filter to the mapGroupModel edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToMapGroupModel(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the mapGroupModel edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToMapGroupModel(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the mapGroupModel table |
| * |
| */ |
| public boolean isContainedInMapGroupModelTable(EObject element); |
| |
| |
| |
| |
| /** |
| * Init the mapModel |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initMapModel(ReferencesTableSettings settings); |
| |
| /** |
| * Update the mapModel |
| * @param newValue the mapModel to update |
| * |
| */ |
| public void updateMapModel(); |
| |
| /** |
| * Adds the given filter to the mapModel edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToMapModel(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the mapModel edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToMapModel(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the mapModel table |
| * |
| */ |
| public boolean isContainedInMapModelTable(EObject element); |
| |
| |
| |
| |
| |
| /** |
| * Returns the internationalized title text. |
| * |
| * @return the internationalized title text. |
| * |
| */ |
| public String getTitle(); |
| |
| // Start of user code for additional methods |
| |
| // End of user code |
| |
| } |