| /******************************************************************************* |
| * 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.pkm.refframework.refframework.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 RequirementEquivalenceMapPropertiesEditionPart { |
| |
| |
| |
| /** |
| * Init the equivalence |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initEquivalence(ReferencesTableSettings settings); |
| |
| /** |
| * Update the equivalence |
| * @param newValue the equivalence to update |
| * |
| */ |
| public void updateEquivalence(); |
| |
| /** |
| * Adds the given filter to the equivalence edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToEquivalence(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the equivalence edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToEquivalence(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the equivalence table |
| * |
| */ |
| public boolean isContainedInEquivalenceTable(EObject element); |
| |
| |
| |
| |
| /** |
| * Init the requirementEquivalenceMap |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initRequirementEquivalenceMap(ReferencesTableSettings settings); |
| |
| /** |
| * Update the requirementEquivalenceMap |
| * @param newValue the requirementEquivalenceMap to update |
| * |
| */ |
| public void updateRequirementEquivalenceMap(); |
| |
| /** |
| * Adds the given filter to the requirementEquivalenceMap edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToRequirementEquivalenceMap(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the requirementEquivalenceMap edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToRequirementEquivalenceMap(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the requirementEquivalenceMap table |
| * |
| */ |
| public boolean isContainedInRequirementEquivalenceMapTable(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 |
| |
| } |