blob: ce2819e0bedf18be0db0847431f435485e21db5f [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.jface.viewers.ViewerFilter;
// End of user code
/**
*
*
*/
public interface BaseActivityRelPropertiesEditionPart {
/**
* @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 source
*
*/
public EObject getSource();
/**
* Init the source
* @param settings the combo setting
*/
public void initSource(EObjectFlatComboSettings settings);
/**
* Defines a new source
* @param newValue the new source to set
*
*/
public void setSource(EObject newValue);
/**
* Defines the button mode
* @param newValue the new mode to set
*
*/
public void setSourceButtonMode(ButtonsModeEnum newValue);
/**
* Adds the given filter to the source edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addFilterToSource(ViewerFilter filter);
/**
* Adds the given filter to the source edition editor.
*
* @param filter
* a viewer filter
* @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
*
*/
public void addBusinessFilterToSource(ViewerFilter filter);
/**
* @return the target
*
*/
public EObject getTarget();
/**
* Init the target
* @param settings the combo setting
*/
public void initTarget(EObjectFlatComboSettings settings);
/**
* Defines a new target
* @param newValue the new target to set
*
*/
public void setTarget(EObject newValue);
/**
* Defines the button mode
* @param newValue the new mode to set
*
*/
public void setTargetButtonMode(ButtonsModeEnum newValue);
/**
* 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);
/**
* Returns the internationalized title text.
*
* @return the internationalized title text.
*
*/
public String getTitle();
// Start of user code for additional methods
// End of user code
}