blob: 983ce1afcaaafd604431e23dd11be2e70327314e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.expandbar.widgets;
import org.eclipse.rcptt.tesla.core.ui.Widget;
import org.eclipse.rcptt.tesla.core.ui.WithImage;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Expand Item</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#getCaption <em>Caption</em>}</li>
* <li>{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#isExpanded <em>Expanded</em>}</li>
* <li>{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#getIndex <em>Index</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.rcptt.expandbar.widgets.WidgetsPackage#getExpandItem()
* @model
* @generated
*/
public interface ExpandItem extends Widget, WithImage {
/**
* Returns the value of the '<em><b>Caption</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Caption</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Caption</em>' attribute.
* @see #setCaption(String)
* @see org.eclipse.rcptt.expandbar.widgets.WidgetsPackage#getExpandItem_Caption()
* @model
* @generated
*/
String getCaption();
/**
* Sets the value of the '{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#getCaption <em>Caption</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Caption</em>' attribute.
* @see #getCaption()
* @generated
*/
void setCaption(String value);
/**
* Returns the value of the '<em><b>Expanded</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Expanded</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Expanded</em>' attribute.
* @see #setExpanded(boolean)
* @see org.eclipse.rcptt.expandbar.widgets.WidgetsPackage#getExpandItem_Expanded()
* @model
* @generated
*/
boolean isExpanded();
/**
* Sets the value of the '{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#isExpanded <em>Expanded</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Expanded</em>' attribute.
* @see #isExpanded()
* @generated
*/
void setExpanded(boolean value);
/**
* Returns the value of the '<em><b>Index</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Index</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Index</em>' attribute.
* @see #setIndex(int)
* @see org.eclipse.rcptt.expandbar.widgets.WidgetsPackage#getExpandItem_Index()
* @model
* @generated
*/
int getIndex();
/**
* Sets the value of the '{@link org.eclipse.rcptt.expandbar.widgets.ExpandItem#getIndex <em>Index</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Index</em>' attribute.
* @see #getIndex()
* @generated
*/
void setIndex(int value);
} // ExpandItem