switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
	public void eSet( EStructuralFeature eFeature, Object newValue )	{		switch ( eDerivedStructuralFeatureID( eFeature ) )		{			case LayoutPackage.LEGEND__CHILDREN :				getChildren( ).clear( );				getChildren( ).addAll( (Collection) newValue );				return;			case LayoutPackage.LEGEND__BOUNDS :				setBounds( (Bounds) newValue );				return;			case LayoutPackage.LEGEND__ANCHOR :				setAnchor( (Anchor) newValue );				return;			case LayoutPackage.LEGEND__STRETCH :				setStretch( (Stretch) newValue );				return;			case LayoutPackage.LEGEND__INSETS :				setInsets( (Insets) newValue );				return;			case LayoutPackage.LEGEND__ROW :				setRow( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__COLUMN :				setColumn( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__ROWSPAN :				setRowspan( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__COLUMNSPAN :				setColumnspan( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__MIN_SIZE :				setMinSize( (Size) newValue );				return;			case LayoutPackage.LEGEND__OUTLINE :				setOutline( (LineAttributes) newValue );				return;			case LayoutPackage.LEGEND__BACKGROUND :				setBackground( (Fill) newValue );				return;			case LayoutPackage.LEGEND__VISIBLE :				setVisible( ( (Boolean) newValue ).booleanValue( ) );				return;			case LayoutPackage.LEGEND__TRIGGERS :				getTriggers( ).clear( );				getTriggers( ).addAll( (Collection) newValue );				return;			case LayoutPackage.LEGEND__HORIZONTAL_SPACING :				setHorizontalSpacing( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__VERTICAL_SPACING :				setVerticalSpacing( ( (Integer) newValue ).intValue( ) );				return;			case LayoutPackage.LEGEND__CLIENT_AREA :				setClientArea( (ClientArea) newValue );				return;			case LayoutPackage.LEGEND__TEXT :				setText( (Text) newValue );				return;			case LayoutPackage.LEGEND__ORIENTATION :				setOrientation( (Orientation) newValue );				return;			case LayoutPackage.LEGEND__DIRECTION :				setDirection( (Direction) newValue );				return;			case LayoutPackage.LEGEND__SEPARATOR :				setSeparator( (LineAttributes) newValue );				return;			case LayoutPackage.LEGEND__POSITION :				setPosition( (Position) newValue );				return;			case LayoutPackage.LEGEND__ITEM_TYPE :				setItemType( (LegendItemType) newValue );				return;			case LayoutPackage.LEGEND__TITLE :				setTitle( (Label) newValue );				return;			case LayoutPackage.LEGEND__TITLE_POSITION :				setTitlePosition( (Position) newValue );				return;			case LayoutPackage.LEGEND__SHOW_VALUE :				setShowValue( ( (Boolean) newValue ).booleanValue( ) );				return;			case LayoutPackage.LEGEND__SHOW_PERCENT :				setShowPercent( ( (Boolean) newValue ).booleanValue( ) );				return;			case LayoutPackage.LEGEND__SHOW_TOTAL :				setShowTotal( ( (Boolean) newValue ).booleanValue( ) );				return;		}		eDynamicSet( eFeature, newValue );	}