initEReference( getLegend_Title( ), theComponentPackage.getLabel( ), null, "title", null, 0, 1, Legend.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED ); initEAttribute( getLegend_TitlePosition( ), theAttributePackage.getPosition( ), "titlePosition", "Above", 0, 1, Legend.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED );
	public void initializePackageContents( )	{		if ( isInitialized )			return;		isInitialized = true;		// Initialize package		setName( eNAME );		setNsPrefix( eNS_PREFIX );		setNsURI( eNS_URI );		// Obtain other dependent packages		AttributePackageImpl theAttributePackage = (AttributePackageImpl) EPackage.Registry.INSTANCE.getEPackage( AttributePackage.eNS_URI );		XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl) EPackage.Registry.INSTANCE.getEPackage( XMLTypePackage.eNS_URI );		DataPackageImpl theDataPackage = (DataPackageImpl) EPackage.Registry.INSTANCE.getEPackage( DataPackage.eNS_URI );		ComponentPackageImpl theComponentPackage = (ComponentPackageImpl) EPackage.Registry.INSTANCE.getEPackage( ComponentPackage.eNS_URI );		// Add supertypes to classes		labelBlockEClass.getESuperTypes( ).add( this.getBlock( ) );		legendEClass.getESuperTypes( ).add( this.getBlock( ) );		plotEClass.getESuperTypes( ).add( this.getBlock( ) );		titleBlockEClass.getESuperTypes( ).add( this.getLabelBlock( ) );		// Initialize classes and features; add operations and parameters		initEClass( blockEClass,				Block.class,				"Block", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		initEReference( getBlock_Children( ),				this.getBlock( ),				null,				"children", //$NON-NLS-1$				null,				1,				-1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_Bounds( ),				theAttributePackage.getBounds( ),				null,				"bounds", //$NON-NLS-1$				null,				0,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Anchor( ),				theAttributePackage.getAnchor( ),				"anchor", //$NON-NLS-1$				"North", //$NON-NLS-1$				0,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Stretch( ),				theAttributePackage.getStretch( ),				"stretch", //$NON-NLS-1$				"Horizontal", //$NON-NLS-1$				0,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_Insets( ),				theAttributePackage.getInsets( ),				null,				"insets", //$NON-NLS-1$				null,				0,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Row( ),				theXMLTypePackage.getInt( ),				"row", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Column( ),				theXMLTypePackage.getInt( ),				"column", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Rowspan( ),				theXMLTypePackage.getInt( ),				"rowspan", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Columnspan( ),				theXMLTypePackage.getInt( ),				"columnspan", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_MinSize( ),				theAttributePackage.getSize( ),				null,				"minSize", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_Outline( ),				theAttributePackage.getLineAttributes( ),				null,				"outline", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_Background( ),				theAttributePackage.getFill( ),				null,				"background", //$NON-NLS-1$				null,				0,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getBlock_Visible( ),				theXMLTypePackage.getBoolean( ),				"visible", //$NON-NLS-1$				null,				1,				1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getBlock_Triggers( ),				theDataPackage.getTrigger( ),				null,				"triggers", //$NON-NLS-1$				null,				0,				-1,				Block.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEClass( clientAreaEClass,				ClientArea.class,				"ClientArea", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		initEReference( getClientArea_Background( ),				theAttributePackage.getFill( ),				null,				"background", //$NON-NLS-1$				null,				1,				1,				ClientArea.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getClientArea_Outline( ),				theAttributePackage.getLineAttributes( ),				null,				"outline", //$NON-NLS-1$				null,				1,				1,				ClientArea.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getClientArea_ShadowColor( ),				theAttributePackage.getColorDefinition( ),				null,				"shadowColor", //$NON-NLS-1$				null,				1,				1,				ClientArea.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getClientArea_Insets( ),				theAttributePackage.getInsets( ),				null,				"insets", //$NON-NLS-1$				null,				1,				1,				ClientArea.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEClass( labelBlockEClass,				LabelBlock.class,				"LabelBlock", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		initEReference( getLabelBlock_Label( ),				theComponentPackage.getLabel( ),				null,				"label", //$NON-NLS-1$				null,				0,				1,				LabelBlock.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEClass( legendEClass,				Legend.class,				"Legend", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		initEAttribute( getLegend_HorizontalSpacing( ),				theXMLTypePackage.getInt( ),				"horizontalSpacing", //$NON-NLS-1$				null,				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getLegend_VerticalSpacing( ),				theXMLTypePackage.getInt( ),				"verticalSpacing", //$NON-NLS-1$				null,				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getLegend_ClientArea( ),				this.getClientArea( ),				null,				"clientArea", //$NON-NLS-1$				null,				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getLegend_Text( ),				theAttributePackage.getText( ),				null,				"text", //$NON-NLS-1$				null,				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getLegend_Orientation( ),				theAttributePackage.getOrientation( ),				"orientation", //$NON-NLS-1$				"Horizontal", //$NON-NLS-1$				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getLegend_Direction( ),				theAttributePackage.getDirection( ),				"direction", //$NON-NLS-1$				"Left_Right", //$NON-NLS-1$				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getLegend_Separator( ),				theAttributePackage.getLineAttributes( ),				null,				"separator", //$NON-NLS-1$				null,				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getLegend_Position( ),				theAttributePackage.getPosition( ),				"position", //$NON-NLS-1$				"Above", //$NON-NLS-1$				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getLegend_ItemType( ),				theAttributePackage.getLegendItemType( ),				"itemType", //$NON-NLS-1$				"Series", //$NON-NLS-1$				1,				1,				Legend.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEClass( plotEClass,				Plot.class,				"Plot", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		initEAttribute( getPlot_HorizontalSpacing( ),				theXMLTypePackage.getInt( ),				"horizontalSpacing", //$NON-NLS-1$				null,				1,				1,				Plot.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEAttribute( getPlot_VerticalSpacing( ),				theXMLTypePackage.getInt( ),				"verticalSpacing", //$NON-NLS-1$				null,				1,				1,				Plot.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_UNSETTABLE,				!IS_ID,				!IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEReference( getPlot_ClientArea( ),				this.getClientArea( ),				null,				"clientArea", //$NON-NLS-1$				null,				1,				1,				Plot.class,				!IS_TRANSIENT,				!IS_VOLATILE,				IS_CHANGEABLE,				IS_COMPOSITE,				!IS_RESOLVE_PROXIES,				!IS_UNSETTABLE,				IS_UNIQUE,				!IS_DERIVED,				IS_ORDERED );		initEClass( titleBlockEClass,				TitleBlock.class,				"TitleBlock", //$NON-NLS-1$				!IS_ABSTRACT,				!IS_INTERFACE,				IS_GENERATED_INSTANCE_CLASS );		// Create resource		createResource( eNS_URI );		// Create annotations		// http:///org/eclipse/emf/ecore/util/ExtendedMetaData		createExtendedMetaDataAnnotations( );	}