/**
* Copyright (c) 2008, 2015 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.ui.menu;
import org.eclipse.e4.ui.model.application.ui.MElementContainer;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Menu</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* <p>
* This is a concrete class used to represent a menu in the UI Model.
* </p>
* @since 1.0
* @noimplement This interface is not intended to be implemented by clients.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.e4.ui.model.application.ui.menu.MMenu#isEnabled <em>Enabled</em>}</li>
* </ul>
*
* @model
* @generated
*/
public interface MMenu extends MMenuElement, MElementContainer<MMenuElement> {
/**
* Returns the value of the '<em><b>Enabled</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p>
* This field determines whether the associated menu is enabled or not.
* </p>
* <!-- end-model-doc -->
* @return the value of the '<em>Enabled</em>' attribute.
* @see #setEnabled(boolean)
* @model default="true"
* @generated
*/
boolean isEnabled();
/**
* Sets the value of the '{@link org.eclipse.e4.ui.model.application.ui.menu.MMenu#isEnabled <em>Enabled</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Enabled</em>' attribute.
* @see #isEnabled()
* @generated
*/
void setEnabled(boolean value);
} // MMenu