| /** |
| * Copyright (c) 2008 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| */ |
| package org.eclipse.e4.ui.model.application; |
| |
| import java.util.Map; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Contribution</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.e4.ui.model.application.MContribution#getContributionURI <em>Contribution URI</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MContribution#getObject <em>Object</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MContribution#getPersistedState <em>Persisted State</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface MContribution extends MApplicationElement { |
| /** |
| * Returns the value of the '<em><b>Contribution URI</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Contribution URI</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Contribution URI</em>' attribute. |
| * @see #setContributionURI(String) |
| * @model |
| * @generated |
| */ |
| String getContributionURI(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MContribution#getContributionURI <em>Contribution URI</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Contribution URI</em>' attribute. |
| * @see #getContributionURI() |
| * @generated |
| */ |
| void setContributionURI(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Object</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Object</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Object</em>' attribute. |
| * @see #setObject(Object) |
| * @model transient="true" |
| * @generated |
| */ |
| Object getObject(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MContribution#getObject <em>Object</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Object</em>' attribute. |
| * @see #getObject() |
| * @generated |
| */ |
| void setObject(Object value); |
| |
| /** |
| * Returns the value of the '<em><b>Persisted State</b></em>' map. |
| * The key is of type {@link java.lang.String}, |
| * and the value is of type {@link java.lang.String}, |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Persisted State</em>' map isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Persisted State</em>' map. |
| * @model mapType="org.eclipse.e4.ui.model.application.StringToStringMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" |
| * @generated |
| */ |
| Map<String, String> getPersistedState(); |
| |
| } // MContribution |