| /* |
| * 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.projectconfig; |
| |
| import org.eclipse.oomph.base.ModelElement; |
| import org.eclipse.oomph.preferences.PreferenceNode; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Workspace Configuration</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.oomph.projectconfig.WorkspaceConfiguration#getProjects <em>Projects</em>}</li> |
| * <li>{@link org.eclipse.oomph.projectconfig.WorkspaceConfiguration#getDefaultPreferenceNode <em>Default Preference Node</em>}</li> |
| * <li>{@link org.eclipse.oomph.projectconfig.WorkspaceConfiguration#getInstancePreferenceNode <em>Instance Preference Node</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.oomph.projectconfig.ProjectConfigPackage#getWorkspaceConfiguration() |
| * @model |
| * @generated |
| */ |
| public interface WorkspaceConfiguration extends ModelElement |
| { |
| /** |
| * Returns the value of the '<em><b>Projects</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.oomph.projectconfig.Project}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.oomph.projectconfig.Project#getConfiguration <em>Configuration</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Projects</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>Projects</em>' containment reference list. |
| * @see org.eclipse.oomph.projectconfig.ProjectConfigPackage#getWorkspaceConfiguration_Projects() |
| * @see org.eclipse.oomph.projectconfig.Project#getConfiguration |
| * @model opposite="configuration" containment="true" |
| * extendedMetaData="name='project'" |
| * @generated |
| */ |
| EList<Project> getProjects(); |
| |
| /** |
| * Returns the value of the '<em><b>Default Preference Node</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Default Preference Node</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Default Preference Node</em>' reference. |
| * @see #setDefaultPreferenceNode(PreferenceNode) |
| * @see org.eclipse.oomph.projectconfig.ProjectConfigPackage#getWorkspaceConfiguration_DefaultPreferenceNode() |
| * @model required="true" |
| * @generated |
| */ |
| PreferenceNode getDefaultPreferenceNode(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.oomph.projectconfig.WorkspaceConfiguration#getDefaultPreferenceNode <em>Default Preference Node</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Default Preference Node</em>' reference. |
| * @see #getDefaultPreferenceNode() |
| * @generated |
| */ |
| void setDefaultPreferenceNode(PreferenceNode value); |
| |
| /** |
| * Returns the value of the '<em><b>Instance Preference Node</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Instance Preference Node</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Instance Preference Node</em>' reference. |
| * @see #setInstancePreferenceNode(PreferenceNode) |
| * @see org.eclipse.oomph.projectconfig.ProjectConfigPackage#getWorkspaceConfiguration_InstancePreferenceNode() |
| * @model required="true" |
| * @generated |
| */ |
| PreferenceNode getInstancePreferenceNode(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.oomph.projectconfig.WorkspaceConfiguration#getInstancePreferenceNode <em>Instance Preference Node</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Instance Preference Node</em>' reference. |
| * @see #getInstancePreferenceNode() |
| * @generated |
| */ |
| void setInstancePreferenceNode(PreferenceNode value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| void applyPreferenceProfiles(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| void updatePreferenceProfileReferences(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| Project getProject(String name); |
| |
| } // WorkspaceConfiguration |