| /** |
| * 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>Window</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.e4.ui.model.application.MWindow#getMainMenu <em>Main Menu</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MWindow#getX <em>X</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MWindow#getY <em>Y</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MWindow#getWidth <em>Width</em>}</li> |
| * <li>{@link org.eclipse.e4.ui.model.application.MWindow#getHeight <em>Height</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow() |
| * @model |
| * @generated |
| */ |
| public interface MWindow extends MUILabel, MElementContainer<MPSCElement>, MContext, MHandlerContainer, MBindingContainer, MPSCElement { |
| /** |
| * Returns the value of the '<em><b>Main Menu</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Main Menu</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Main Menu</em>' containment reference. |
| * @see #setMainMenu(MMenu) |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow_MainMenu() |
| * @model containment="true" |
| * @generated |
| */ |
| MMenu getMainMenu(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MWindow#getMainMenu <em>Main Menu</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Main Menu</em>' containment reference. |
| * @see #getMainMenu() |
| * @generated |
| */ |
| void setMainMenu(MMenu value); |
| |
| /** |
| * Returns the value of the '<em><b>X</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>X</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>X</em>' attribute. |
| * @see #setX(int) |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow_X() |
| * @model |
| * @generated |
| */ |
| int getX(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MWindow#getX <em>X</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>X</em>' attribute. |
| * @see #getX() |
| * @generated |
| */ |
| void setX(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Y</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Y</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Y</em>' attribute. |
| * @see #setY(int) |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow_Y() |
| * @model |
| * @generated |
| */ |
| int getY(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MWindow#getY <em>Y</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Y</em>' attribute. |
| * @see #getY() |
| * @generated |
| */ |
| void setY(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Width</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Width</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Width</em>' attribute. |
| * @see #setWidth(int) |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow_Width() |
| * @model |
| * @generated |
| */ |
| int getWidth(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MWindow#getWidth <em>Width</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Width</em>' attribute. |
| * @see #getWidth() |
| * @generated |
| */ |
| void setWidth(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Height</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Height</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Height</em>' attribute. |
| * @see #setHeight(int) |
| * @see org.eclipse.e4.ui.model.application.MApplicationPackage#getWindow_Height() |
| * @model |
| * @generated |
| */ |
| int getHeight(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.e4.ui.model.application.MWindow#getHeight <em>Height</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Height</em>' attribute. |
| * @see #getHeight() |
| * @generated |
| */ |
| void setHeight(int value); |
| |
| } // MWindow |