initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 2, -1,
initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 1, -1,
    public void initializePackageContents()    {        if (isInitialized)            return;        isInitialized = true;        // Initialize package        setName(eNAME);        setNsPrefix(eNS_PREFIX);        setNsURI(eNS_URI);        // Obtain other dependent packages        XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl) EPackage.Registry.INSTANCE            .getEPackage(XMLTypePackage.eNS_URI);        AttributePackageImpl theAttributePackage = (AttributePackageImpl) EPackage.Registry.INSTANCE            .getEPackage(AttributePackage.eNS_URI);        LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl) EPackage.Registry.INSTANCE            .getEPackage(LayoutPackage.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        chartWithAxesEClass.getESuperTypes().add(this.getChart());        chartWithoutAxesEClass.getESuperTypes().add(this.getChart());        // Initialize classes and features; add operations and parameters        initEClass(chartEClass, Chart.class, "Chart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);        initEAttribute(getChart_Version(), theXMLTypePackage.getString(), "version", null, 1, 1, Chart.class,            !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_Type(), theXMLTypePackage.getString(), "type", null, 1, 1, Chart.class, !IS_TRANSIENT,            !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_SubType(), theXMLTypePackage.getString(), "subType", null, 1, 1, Chart.class,            !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEReference(getChart_Description(), theAttributePackage.getText(), null, "description", null, 0, 1,            Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,            IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEReference(getChart_Block(), theLayoutPackage.getBlock(), null, "block", null, 1, 1, Chart.class,            !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,            !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_Dimension(), theAttributePackage.getChartDimension(), "dimension", "Two_Dimensional",            1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,            !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_Script(), theXMLTypePackage.getString(), "script", null, 1, 1, Chart.class,            !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_Units(), theXMLTypePackage.getString(), "units", null, 0, 1, Chart.class,            !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_SeriesThickness(), theAttributePackage.getPercentage(), "seriesThickness", null, 0, 1,            Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,            IS_ORDERED);        initEReference(getChart_SeriesHints(), theAttributePackage.getSeriesHint(), null, "seriesHints", null, 0, 1,            Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,            IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChart_GridColumnCount(), theXMLTypePackage.getInt(), "gridColumnCount", null, 1, 1,            Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,            IS_ORDERED);        initEReference(getChart_ExtendedProperties(), theAttributePackage.getExtendedProperty(), null,            "extendedProperties", null, 1, -1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,            !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEReference(getChart_SampleData(), theDataPackage.getSampleData(), null, "sampleData", null, 0, 1,            Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,            IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEClass(chartWithAxesEClass, ChartWithAxes.class, "ChartWithAxes", !IS_ABSTRACT, !IS_INTERFACE,            IS_GENERATED_INSTANCE_CLASS);        initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 2, -1,            ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,            !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEReference(getChartWithAxes_WallFill(), theAttributePackage.getFill(), null, "wallFill", null, 1, 1,            ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,            !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEReference(getChartWithAxes_FloorFill(), theAttributePackage.getFill(), null, "floorFill", null, 1, 1,            ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,            !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChartWithAxes_Orientation(), theAttributePackage.getOrientation(), "orientation",            "Horizontal", 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,            !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        initEAttribute(getChartWithAxes_UnitSpacing(), theAttributePackage.getPercentage(), "unitSpacing", null, 1, 1,            ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,            !IS_DERIVED, IS_ORDERED);        initEClass(chartWithoutAxesEClass, ChartWithoutAxes.class, "ChartWithoutAxes", !IS_ABSTRACT, !IS_INTERFACE,            IS_GENERATED_INSTANCE_CLASS);        initEReference(getChartWithoutAxes_SeriesDefinitions(), theDataPackage.getSeriesDefinition(), null,            "seriesDefinitions", null, 1, -1, ChartWithoutAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,            IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);        // Create resource        createResource(eNS_URI);        // Create annotations        // http:///org/eclipse/emf/ecore/util/ExtendedMetaData        createExtendedMetaDataAnnotations();    }