blob: 25719d20553c009f5e87243f7e5545803d208e34 [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#getFactory <em>Factory</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>
* </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>Factory</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Factory</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Factory</em>' attribute.
* @see #setFactory(Object)
* @see org.eclipse.e4.ui.model.application.MApplicationPackage#getUIElement_Factory()
* @model transient="true"
* @generated
*/
Object getFactory();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.MUIElement#getFactory <em>Factory</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Factory</em>' attribute.
* @see #getFactory()
* @generated
*/
void setFactory(Object 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);
} // MUIElement