blob: 57a5124ca47a1a6d3e11577ed0f371888e1a1f37 [file] [log] [blame]
/*
* Copyright (c) 2014, 2015 Eike Stepper (Loehne, Germany) and others.
* 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
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.oomph.workingsets;
import org.eclipse.oomph.base.ModelElement;
import org.eclipse.oomph.predicates.Predicate;
import org.eclipse.emf.common.util.EList;
import org.eclipse.core.resources.IResource;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Working Set</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.oomph.workingsets.WorkingSet#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.oomph.workingsets.WorkingSet#getPredicates <em>Predicates</em>}</li>
* <li>{@link org.eclipse.oomph.workingsets.WorkingSet#getID <em>ID</em>}</li>
* </ul>
*
* @see org.eclipse.oomph.workingsets.WorkingSetsPackage#getWorkingSet()
* @model
* @generated
*/
public interface WorkingSet extends ModelElement
{
/**
* Returns the value of the '<em><b>Predicates</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.oomph.predicates.Predicate}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Predicates</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Predicates</em>' containment reference list.
* @see org.eclipse.oomph.workingsets.WorkingSetsPackage#getWorkingSet_Predicates()
* @model containment="true"
* extendedMetaData="name='predicate'"
* @generated
*/
EList<Predicate> getPredicates();
/**
* Returns the value of the '<em><b>ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>ID</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>ID</em>' attribute.
* @see #setID(String)
* @see org.eclipse.oomph.workingsets.WorkingSetsPackage#getWorkingSet_ID()
* @model extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getID();
/**
* Sets the value of the '{@link org.eclipse.oomph.workingsets.WorkingSet#getID <em>ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>ID</em>' attribute.
* @see #getID()
* @generated
*/
void setID(String value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model resourceDataType="org.eclipse.oomph.predicates.Resource"
* @generated
*/
boolean matches(IResource resource);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.oomph.workingsets.WorkingSetsPackage#getWorkingSet_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.oomph.workingsets.WorkingSet#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
} // WorkingSet