/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.gmf.codegen.gmfgen;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Palette</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.Palette#getDiagram <em>Diagram</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.Palette#isFlyout <em>Flyout</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.Palette#getGroups <em>Groups</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.Palette#getPackageName <em>Package Name</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.Palette#getFactoryClassName <em>Factory Class Name</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette()
* @model
* @generated
*/
public interface Palette extends EObject {
/**
* Returns the value of the '<em><b>Diagram</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.gmf.codegen.gmfgen.GenDiagram#getPalette <em>Palette</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Diagram</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>Diagram</em>' container reference.
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette_Diagram()
* @see org.eclipse.gmf.codegen.gmfgen.GenDiagram#getPalette
* @model opposite="palette" resolveProxies="false" required="true" transient="false" changeable="false"
* @generated
*/
GenDiagram getDiagram();
/**
* Returns the value of the '<em><b>Flyout</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Flyout</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Flyout</em>' attribute.
* @see #setFlyout(boolean)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette_Flyout()
* @model default="true"
* @generated
*/
boolean isFlyout();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.Palette#isFlyout <em>Flyout</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Flyout</em>' attribute.
* @see #isFlyout()
* @generated
*/
void setFlyout(boolean value);
/**
* Returns the value of the '<em><b>Groups</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.ToolGroup}.
* It is bidirectional and its opposite is '{@link org.eclipse.gmf.codegen.gmfgen.ToolGroup#getPalette <em>Palette</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* GEF allows only containers as palette immediate children
* <!-- end-model-doc -->
* @return the value of the '<em>Groups</em>' containment reference list.
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette_Groups()
* @see org.eclipse.gmf.codegen.gmfgen.ToolGroup#getPalette
* @model opposite="palette" containment="true" required="true"
* @generated
*/
EList<ToolGroup> getGroups();
/**
* Returns the value of the '<em><b>Package Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Package Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Package Name</em>' attribute.
* @see #setPackageName(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette_PackageName()
* @model
* @generated
*/
String getPackageName();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.Palette#getPackageName <em>Package Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Package Name</em>' attribute.
* @see #getPackageName()
* @generated
*/
void setPackageName(String value);
/**
* Returns the value of the '<em><b>Factory Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Factory Class Name</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 Class Name</em>' attribute.
* @see #setFactoryClassName(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getPalette_FactoryClassName()
* @model
* @generated
*/
String getFactoryClassName();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.Palette#getFactoryClassName <em>Factory Class Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Factory Class Name</em>' attribute.
* @see #getFactoryClassName()
* @generated
*/
void setFactoryClassName(String value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model kind="operation"
* @generated
*/
String getFactoryQualifiedClassName();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model
* @generated
*/
boolean definesStandardTools();
} // Palette