Generation Framework

org.eclipse.gmf.codegen.gmfgen
Interface Palette

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
PaletteImpl

public interface Palette
extends EObject

A representation of the model object 'Palette'.

The following features are supported:

See Also:
GMFGenPackage.getPalette()
** Generated **
Model:

Method Summary
 GenDiagram getDiagram()
          Returns the value of the 'Diagram' container reference.
 java.lang.String getFactoryClassName()
          Returns the value of the 'Factory Class Name' attribute
 java.lang.String getFactoryQualifiedClassName()
           
 EList getGroups()
          Returns the value of the 'Groups' containment reference list.
 java.lang.String getPackageName()
          Returns the value of the 'Package Name' attribute
 boolean isFlyout()
          Returns the value of the 'Flyout' attribute.
 void setFactoryClassName(java.lang.String value)
          Sets the value of the 'Factory Class Name' attribute
 void setFlyout(boolean value)
          Sets the value of the 'Flyout' attribute
 void setPackageName(java.lang.String value)
          Sets the value of the 'Package Name' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDiagram

public GenDiagram getDiagram()
Returns the value of the 'Diagram' container reference. It is bidirectional and its opposite is 'Palette'.

If the meaning of the 'Diagram' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Diagram' container reference.
See Also:
GMFGenPackage.getPalette_Diagram(), GenDiagram.getPalette()
** Generated **
Model:
opposite="palette" required="true" changeable="false"

isFlyout

public boolean isFlyout()
Returns the value of the 'Flyout' attribute. The default value is "true".

If the meaning of the 'Flyout' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Flyout' attribute.
See Also:
Palette.setFlyout(boolean), GMFGenPackage.getPalette_Flyout()
** Generated **
Model:
default="true"

setFlyout

public void setFlyout(boolean value)
Sets the value of the 'Flyout' attribute.

Parameters:
value - the new value of the 'Flyout' attribute.
See Also:
Palette.isFlyout()
** Generated **

getGroups

public EList getGroups()
Returns the value of the 'Groups' containment reference list. The list contents are of type ToolGroup. GEF allows only containers as palette immediate children

Returns:
the value of the 'Groups' containment reference list.
See Also:
GMFGenPackage.getPalette_Groups()
** Generated **
Model:
type="org.eclipse.gmf.codegen.gmfgen.ToolGroup" containment="true" required="true"

getPackageName

public java.lang.String getPackageName()
Returns the value of the 'Package Name' attribute.

If the meaning of the 'Package Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Package Name' attribute.
See Also:
Palette.setPackageName(String), GMFGenPackage.getPalette_PackageName()
** Generated **
Model:

setPackageName

public void setPackageName(java.lang.String value)
Sets the value of the 'Package Name' attribute.

Parameters:
value - the new value of the 'Package Name' attribute.
See Also:
Palette.getPackageName()
** Generated **

getFactoryClassName

public java.lang.String getFactoryClassName()
Returns the value of the 'Factory Class Name' attribute.

If the meaning of the 'Factory Class Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Factory Class Name' attribute.
See Also:
Palette.setFactoryClassName(String), GMFGenPackage.getPalette_FactoryClassName()
** Generated **
Model:

setFactoryClassName

public void setFactoryClassName(java.lang.String value)
Sets the value of the 'Factory Class Name' attribute.

Parameters:
value - the new value of the 'Factory Class Name' attribute.
See Also:
Palette.getFactoryClassName()
** Generated **

getFactoryQualifiedClassName

public java.lang.String getFactoryQualifiedClassName()

** Generated **
Model:
kind="operation"

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.