| /******************************************************************************* |
| * 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.evm.evidspec.evidence.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 ArtefactDefinitionArtefactPropertiesEditionPart { |
| |
| |
| |
| /** |
| * Init the artefact |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initArtefact(ReferencesTableSettings settings); |
| |
| /** |
| * Update the artefact |
| * @param newValue the artefact to update |
| * |
| */ |
| public void updateArtefact(); |
| |
| /** |
| * Adds the given filter to the artefact edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToArtefact(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the artefact edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToArtefact(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the artefact table |
| * |
| */ |
| public boolean isContainedInArtefactTable(EObject element); |
| |
| |
| |
| |
| /** |
| * Init the artefactTable |
| * @param current the current value |
| * @param containgFeature the feature where to navigate if necessary |
| * @param feature the feature to manage |
| */ |
| public void initArtefactTable(ReferencesTableSettings settings); |
| |
| /** |
| * Update the artefactTable |
| * @param newValue the artefactTable to update |
| * |
| */ |
| public void updateArtefactTable(); |
| |
| /** |
| * Adds the given filter to the artefactTable edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addFilterToArtefactTable(ViewerFilter filter); |
| |
| /** |
| * Adds the given filter to the artefactTable edition editor. |
| * |
| * @param filter |
| * a viewer filter |
| * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) |
| * |
| */ |
| public void addBusinessFilterToArtefactTable(ViewerFilter filter); |
| |
| /** |
| * @return true if the given element is contained inside the artefactTable table |
| * |
| */ |
| public boolean isContainedInArtefactTableTable(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 |
| |
| } |