| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * 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: |
| * Florian Pirchner - Initial implementation |
| */ |
| package org.eclipse.osbp.vaaclipse.ui.preferences.model; |
| |
| import org.eclipse.e4.ui.model.application.ui.MUIElement; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.osgi.service.prefs.Preferences; |
| |
| /** |
| * <!-- begin-user-doc --> A representation of the model object ' |
| * <em><b>Field Editor</b></em>'. <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getLabel |
| * <em>Label</em>}</li> |
| * <li> |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getPreferenceName |
| * <em>Preference Name</em>}</li> |
| * <li> |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getDefaultValue |
| * <em>Default Value</em>}</li> |
| * <li> |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getDefaultValueTyped |
| * <em>Default Value Typed</em>}</li> |
| * <li>{@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getBundle |
| * <em>Bundle</em>}</li> |
| * <li> |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getPreferences |
| * <em>Preferences</em>}</li> |
| * <li> |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getEquinoxPath |
| * <em>Equinox Path</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor() |
| * @model |
| * @generated |
| */ |
| public interface FieldEditor<T> extends EObject, MUIElement { |
| /** |
| * Returns the value of the '<em><b>Label</b></em>' attribute. The default |
| * value is <code>""</code>. <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Label</em>' attribute isn't clear, there |
| * really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Label</em>' attribute. |
| * @see #setLabel(String) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_Label() |
| * @model default="" |
| * @generated |
| */ |
| String getLabel(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getLabel |
| * <em>Label</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Label</em>' attribute. |
| * @see #getLabel() |
| * @generated |
| */ |
| void setLabel(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Preference Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Preference 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>Preference Name</em>' attribute. |
| * @see #setPreferenceName(String) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_PreferenceName() |
| * @model |
| * @generated |
| */ |
| String getPreferenceName(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getPreferenceName |
| * <em>Preference Name</em>}' attribute. <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Preference Name</em>' attribute. |
| * @see #getPreferenceName() |
| * @generated |
| */ |
| void setPreferenceName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Default Value</b></em>' attribute. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Default Value</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Default Value</em>' attribute. |
| * @see #setDefaultValue(String) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_DefaultValue() |
| * @model |
| * @generated |
| */ |
| String getDefaultValue(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getDefaultValue |
| * <em>Default Value</em>}' attribute. <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Default Value</em>' attribute. |
| * @see #getDefaultValue() |
| * @generated |
| */ |
| void setDefaultValue(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Default Value Typed</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Default Value Typed</em>' attribute isn't |
| * clear, there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Default Value Typed</em>' attribute. |
| * @see #setDefaultValueTyped(Object) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_DefaultValueTyped() |
| * @model |
| * @generated |
| */ |
| T getDefaultValueTyped(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getDefaultValueTyped |
| * <em>Default Value Typed</em>}' attribute. <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Default Value Typed</em>' attribute. |
| * @see #getDefaultValueTyped() |
| * @generated |
| */ |
| void setDefaultValueTyped(T value); |
| |
| /** |
| * Returns the value of the '<em><b>Bundle</b></em>' attribute. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Bundle</em>' attribute isn't clear, there |
| * really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Bundle</em>' attribute. |
| * @see #setBundle(String) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_Bundle() |
| * @model |
| * @generated |
| */ |
| String getBundle(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getBundle |
| * <em>Bundle</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> |
| * |
| * @param value |
| * the new value of the '<em>Bundle</em>' attribute. |
| * @see #getBundle() |
| * @generated |
| */ |
| void setBundle(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Preferences</b></em>' attribute. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Preferences</em>' attribute isn't clear, there |
| * really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Preferences</em>' attribute. |
| * @see #setPreferences(Preferences) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_Preferences() |
| * @model dataType="org.eclipse.osbp.vaaclipse.ui.preferences.model.Preferences" |
| * @generated |
| */ |
| Preferences getPreferences(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getPreferences |
| * <em>Preferences</em>}' attribute. <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Preferences</em>' attribute. |
| * @see #getPreferences() |
| * @generated |
| */ |
| void setPreferences(Preferences value); |
| |
| /** |
| * Returns the value of the '<em><b>Equinox Path</b></em>' attribute. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Equinox Path</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Equinox Path</em>' attribute. |
| * @see #setEquinoxPath(String) |
| * @see org.eclipse.osbp.vaaclipse.ui.preferences.model.metadata.PreferencesPackage#getFieldEditor_EquinoxPath() |
| * @model |
| * @generated |
| */ |
| String getEquinoxPath(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.vaaclipse.ui.preferences.model.FieldEditor#getEquinoxPath |
| * <em>Equinox Path</em>}' attribute. <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Equinox Path</em>' attribute. |
| * @see #getEquinoxPath() |
| * @generated |
| */ |
| void setEquinoxPath(String value); |
| |
| } // FieldEditor |