blob: 83ec10a999dd7437858105cb4794d877bf884d87 [file] [log] [blame]
/**
* 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;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>UI Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#getWidget <em>Widget</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#getRenderer <em>Renderer</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#isToBeRendered <em>To Be Rendered</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#isOnTop <em>On Top</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#isVisible <em>Visible</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#getParent <em>Parent</em>}</li>
* <li>{@link org.eclipse.e4.ui.model.application.MUIElement#getContainerData <em>Container Data</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement()
* @model abstract="true"
* @generated
*/
public interface MUIElement extends MApplicationElement {
/**
* Returns the value of the '<em><b>Widget</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Widget</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Widget</em>' attribute.
* @see #setWidget(Object)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_Widget()
* @model transient="true"
* @generated
*/
Object getWidget();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#getWidget <em>Widget</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Widget</em>' attribute.
* @see #getWidget()
* @generated
*/
void setWidget(Object value);
/**
* Returns the value of the '<em><b>Renderer</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Renderer</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Renderer</em>' attribute.
* @see #setRenderer(Object)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_Renderer()
* @model transient="true"
* @generated
*/
Object getRenderer();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#getRenderer <em>Renderer</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Renderer</em>' attribute.
* @see #getRenderer()
* @generated
*/
void setRenderer(Object value);
/**
* Returns the value of the '<em><b>To Be Rendered</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>To Be Rendered</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>To Be Rendered</em>' attribute.
* @see #setToBeRendered(boolean)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_ToBeRendered()
* @model default="true"
* @generated
*/
boolean isToBeRendered();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#isToBeRendered <em>To Be Rendered</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>To Be Rendered</em>' attribute.
* @see #isToBeRendered()
* @generated
*/
void setToBeRendered(boolean value);
/**
* Returns the value of the '<em><b>On Top</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>On Top</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>On Top</em>' attribute.
* @see #setOnTop(boolean)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_OnTop()
* @model
* @generated
*/
boolean isOnTop();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#isOnTop <em>On Top</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>On Top</em>' attribute.
* @see #isOnTop()
* @generated
*/
void setOnTop(boolean value);
/**
* Returns the value of the '<em><b>Visible</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Visible</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Visible</em>' attribute.
* @see #setVisible(boolean)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_Visible()
* @model default="true"
* @generated
*/
boolean isVisible();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#isVisible <em>Visible</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Visible</em>' attribute.
* @see #isVisible()
* @generated
*/
void setVisible(boolean value);
/**
* Returns the value of the '<em><b>Parent</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.e4.ui.model.application.MElementContainer#getChildren <em>Children</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parent</em>' container reference.
* @see #setParent(MElementContainer)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_Parent()
* @see org.eclipse.e4.ui.model.application.MElementContainer#getChildren
* @model opposite="children" transient="false"
* @generated
*/
MElementContainer<MUIElement> getParent();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#getParent <em>Parent</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent</em>' container reference.
* @see #getParent()
* @generated
*/
void setParent(MElementContainer<MUIElement> value);
/**
* Returns the value of the '<em><b>Container Data</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Container Data</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Container Data</em>' attribute.
* @see #setContainerData(String)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_ContainerData()
* @model
* @generated
*/
String getContainerData();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#getContainerData <em>Container Data</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Container Data</em>' attribute.
* @see #getContainerData()
* @generated
*/
void setContainerData(String value);
} // MUIElement