blob: cd7d80324ae996bf25efb31e009719a158327f85 [file] [log] [blame]
/*******************************************************************************
* 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.apm.baseline.baseline.parts;
// Start of user code for imports
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
import org.eclipse.jface.viewers.ViewerFilter;
// End of user code
/**
*
*
*/
public interface BaseComplianceMapPropertiesEditionPart {
/**
* @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 mapGroup
*
*/
public EObject getMapGroup();
/**
* Init the mapGroup
* @param settings the combo setting
*/
public void initMapGroup(EObjectFlatComboSettings settings);
/**
* Defines a new mapGroup
* @param newValue the new mapGroup to set
*
*/
public void setMapGroup(EObject newValue);
/**
* Defines the button mode
* @param newValue the new mode to set
*
*/
public void setMapGroupButtonMode(ButtonsModeEnum newValue);
/**
* Adds the given filter to the mapGroup edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addFilterToMapGroup(ViewerFilter filter);
/**
* Adds the given filter to the mapGroup edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addBusinessFilterToMapGroup(ViewerFilter filter);
/**
* @return the mapGroupCombo
*
*/
public Object getMapGroupCombo();
/**
* Init the mapGroupCombo
* @param input choice of values
* @param currentValue the current value
*/
public void initMapGroupCombo(Object input, Object currentValue);
/**
* Defines a new mapGroupCombo
* @param newValue the new mapGroupCombo to set
*
*/
public void setMapGroupCombo(Object newValue);
/**
* Adds the given filter to the mapGroupCombo edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addFilterToMapGroupCombo(ViewerFilter filter);
/**
* @return the type
*
*/
public Enumerator getType();
/**
* Init the type
* @param input the viewer input
* @param current the current value
*/
public void initType(Object input, Enumerator current);
/**
* Defines a new type
* @param newValue the new type to set
*
*/
public void setType(Enumerator newValue);
/**
* @return the justification
*
*/
public String getJustification();
/**
* Defines a new justification
* @param newValue the new justification to set
*
*/
public void setJustification(String newValue);
/**
* Init the target
* @param settings settings for the target ReferencesTable
*/
public void initTarget(ReferencesTableSettings settings);
/**
* Update the target
* @param newValue the target to update
*
*/
public void updateTarget();
/**
* Adds the given filter to the target edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addFilterToTarget(ViewerFilter filter);
/**
* Adds the given filter to the target edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addBusinessFilterToTarget(ViewerFilter filter);
/**
* @return true if the given element is contained inside the target table
*
*/
public boolean isContainedInTargetTable(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
}