addAnnotation(unitsOfMeasurementEEnum, source, new String[] { "name", "UnitsOfMeasurement" }); addAnnotation(unitsOfMeasurementObjectEDataType, source, new String[] { "name", "UnitsOfMeasurement:Object", "baseType", "UnitsOfMeasurement" });
    protected void createExtendedMetaDataAnnotations()    {        String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";        addAnnotation(actionTypeEEnum, source, new String[]        {            "name", "ActionType"        });        addAnnotation(actionTypeObjectEDataType, source, new String[]        {            "name", "ActionType:Object", "baseType", "ActionType"        });        addAnnotation(actionValueEClass, source, new String[]        {            "name", "ActionValue", "kind", "empty"        });        addAnnotation(anchorEEnum, source, new String[]        {            "name", "Anchor"        });        addAnnotation(anchorObjectEDataType, source, new String[]        {            "name", "Anchor:Object", "baseType", "Anchor"        });        addAnnotation(axisOriginEClass, source, new String[]        {            "name", "AxisOrigin", "kind", "elementOnly"        });        addAnnotation(getAxisOrigin_Type(), source, new String[]        {            "kind", "element", "name", "Type"        });        addAnnotation(getAxisOrigin_Value(), source, new String[]        {            "kind", "element", "name", "Value"        });        addAnnotation(axisTypeEEnum, source, new String[]        {            "name", "AxisType"        });        addAnnotation(axisTypeObjectEDataType, source, new String[]        {            "name", "AxisType:Object", "baseType", "AxisType"        });        addAnnotation(boundsEClass, source, new String[]        {            "name", "Bounds", "kind", "elementOnly"        });        addAnnotation(getBounds_Left(), source, new String[]        {            "kind", "element", "name", "Left"        });        addAnnotation(getBounds_Top(), source, new String[]        {            "kind", "element", "name", "Top"        });        addAnnotation(getBounds_Width(), source, new String[]        {            "kind", "element", "name", "Width"        });        addAnnotation(getBounds_Height(), source, new String[]        {            "kind", "element", "name", "Height"        });        addAnnotation(chartDimensionEEnum, source, new String[]        {            "name", "ChartDimension"        });        addAnnotation(chartDimensionObjectEDataType, source, new String[]        {            "name", "ChartDimension:Object", "baseType", "ChartDimension"        });        addAnnotation(chartTypeEEnum, source, new String[]        {            "name", "ChartType"        });        addAnnotation(chartTypeObjectEDataType, source, new String[]        {            "name", "ChartType:Object", "baseType", "ChartType"        });        addAnnotation(colorDefinitionEClass, source, new String[]        {            "name", "ColorDefinition", "kind", "elementOnly"        });        addAnnotation(getColorDefinition_Transparency(), source, new String[]        {            "kind", "element", "name", "Transparency"        });        addAnnotation(getColorDefinition_Red(), source, new String[]        {            "kind", "element", "name", "Red"        });        addAnnotation(getColorDefinition_Green(), source, new String[]        {            "kind", "element", "name", "Green"        });        addAnnotation(getColorDefinition_Blue(), source, new String[]        {            "kind", "element", "name", "Blue"        });        addAnnotation(dataPointEClass, source, new String[]        {            "name", "DataPoint", "kind", "elementOnly"        });        addAnnotation(getDataPoint_Components(), source, new String[]        {            "kind", "element", "name", "Components"        });        addAnnotation(getDataPoint_Prefix(), source, new String[]        {            "kind", "element", "name", "Prefix"        });        addAnnotation(getDataPoint_Suffix(), source, new String[]        {            "kind", "element", "name", "Suffix"        });        addAnnotation(getDataPoint_Separator(), source, new String[]        {            "kind", "element", "name", "Separator"        });        addAnnotation(dataPointComponentEClass, source, new String[]        {            "name", "DataPointComponent", "kind", "elementOnly"        });        addAnnotation(getDataPointComponent_Type(), source, new String[]        {            "kind", "element", "name", "Type"        });        addAnnotation(getDataPointComponent_FormatSpecifier(), source, new String[]        {            "kind", "element", "name", "FormatSpecifier"        });        addAnnotation(dataPointComponentTypeEEnum, source, new String[]        {            "name", "DataPointComponentType"        });        addAnnotation(dataPointComponentTypeObjectEDataType, source, new String[]        {            "name", "DataPointComponentType:Object", "baseType", "DataPointComponentType"        });        addAnnotation(dateFormatDetailEEnum, source, new String[]        {            "name", "DateFormatDetail"        });        addAnnotation(dateFormatDetailObjectEDataType, source, new String[]        {            "name", "DateFormatDetail:Object", "baseType", "DateFormatDetail"        });        addAnnotation(dateFormatSpecifierEClass, source, new String[]        {            "name", "DateFormatSpecifier", "kind", "elementOnly"        });        addAnnotation(getDateFormatSpecifier_Type(), source, new String[]        {            "kind", "element", "name", "Type"        });        addAnnotation(getDateFormatSpecifier_Detail(), source, new String[]        {            "kind", "element", "name", "Detail"        });        addAnnotation(dateFormatTypeEEnum, source, new String[]        {            "name", "DateFormatType"        });        addAnnotation(dateFormatTypeObjectEDataType, source, new String[]        {            "name", "DateFormatType:Object", "baseType", "DateFormatType"        });        addAnnotation(directionEEnum, source, new String[]        {            "name", "Direction"        });        addAnnotation(directionObjectEDataType, source, new String[]        {            "name", "Direction:Object", "baseType", "Direction"        });        addAnnotation(extendedPropertyEClass, source, new String[]        {            "name", "ExtendedProperty", "kind", "elementOnly"        });        addAnnotation(getExtendedProperty_Name(), source, new String[]        {            "kind", "element", "name", "Name"        });        addAnnotation(getExtendedProperty_Value(), source, new String[]        {            "kind", "element", "name", "Value"        });        addAnnotation(fillEClass, source, new String[]        {            "name", "Fill", "kind", "elementOnly"        });        addAnnotation(getFill_Type(), source, new String[]        {            "kind", "element", "name", "Type"        });        addAnnotation(fontDefinitionEClass, source, new String[]        {            "name", "FontDefinition", "kind", "elementOnly"        });        addAnnotation(getFontDefinition_Name(), source, new String[]        {            "kind", "element", "name", "Name"        });        addAnnotation(getFontDefinition_Size(), source, new String[]        {            "kind", "element", "name", "Size"        });        addAnnotation(getFontDefinition_Bold(), source, new String[]        {            "kind", "element", "name", "Bold"        });        addAnnotation(getFontDefinition_Italic(), source, new String[]        {            "kind", "element", "name", "Italic"        });        addAnnotation(getFontDefinition_Strikethrough(), source, new String[]        {            "kind", "element", "name", "Strikethrough"        });        addAnnotation(getFontDefinition_Underline(), source, new String[]        {            "kind", "element", "name", "Underline"        });        addAnnotation(getFontDefinition_WordWrap(), source, new String[]        {            "kind", "element", "name", "WordWrap"        });        addAnnotation(getFontDefinition_Alignment(), source, new String[]        {            "kind", "element", "name", "Alignment"        });        addAnnotation(getFontDefinition_Rotation(), source, new String[]        {            "kind", "element", "name", "Rotation"        });        addAnnotation(formatSpecifierEClass, source, new String[]        {            "name", "FormatSpecifier", "kind", "empty"        });        addAnnotation(gradientEClass, source, new String[]        {            "name", "Gradient", "kind", "elementOnly"        });        addAnnotation(getGradient_StartColor(), source, new String[]        {            "kind", "element", "name", "StartColor"        });        addAnnotation(getGradient_EndColor(), source, new String[]        {            "kind", "element", "name", "EndColor"        });        addAnnotation(getGradient_Direction(), source, new String[]        {            "kind", "element", "name", "Direction"        });        addAnnotation(getGradient_Cyclic(), source, new String[]        {            "kind", "element", "name", "Cyclic"        });        addAnnotation(getGradient_Transparency(), source, new String[]        {            "kind", "element", "name", "Transparency"        });        addAnnotation(horizontalAlignmentEEnum, source, new String[]        {            "name", "HorizontalAlignment"        });        addAnnotation(horizontalAlignmentObjectEDataType, source, new String[]        {            "name", "HorizontalAlignment:Object", "baseType", "HorizontalAlignment"        });        addAnnotation(idEDataType, source, new String[]        {            "name", "ID", "baseType", "http://www.eclipse.org/emf/2003/XMLType#string", "pattern", "[A-Z]"        });        addAnnotation(imageEClass, source, new String[]        {            "name", "Image", "kind", "elementOnly"        });        addAnnotation(getImage_URL(), source, new String[]        {            "kind", "element", "name", "URL"        });        addAnnotation(insetsEClass, source, new String[]        {            "name", "Insets", "kind", "elementOnly"        });        addAnnotation(getInsets_Top(), source, new String[]        {            "kind", "element", "name", "Top"        });        addAnnotation(getInsets_Left(), source, new String[]        {            "kind", "element", "name", "Left"        });        addAnnotation(getInsets_Bottom(), source, new String[]        {            "kind", "element", "name", "Bottom"        });        addAnnotation(getInsets_Right(), source, new String[]        {            "kind", "element", "name", "Right"        });        addAnnotation(intersectionTypeEEnum, source, new String[]        {            "name", "IntersectionType"        });        addAnnotation(intersectionTypeObjectEDataType, source, new String[]        {            "name", "IntersectionType:Object", "baseType", "IntersectionType"        });        addAnnotation(javaDateFormatSpecifierEClass, source, new String[]        {            "name", "JavaDateFormatSpecifier", "kind", "elementOnly"        });        addAnnotation(getJavaDateFormatSpecifier_Pattern(), source, new String[]        {            "kind", "element", "name", "Pattern"        });        addAnnotation(javaNumberFormatSpecifierEClass, source, new String[]        {            "name", "JavaNumberFormatSpecifier", "kind", "elementOnly"        });        addAnnotation(getJavaNumberFormatSpecifier_Pattern(), source, new String[]        {            "kind", "element", "name", "Pattern"        });        addAnnotation(getJavaNumberFormatSpecifier_Multiplier(), source, new String[]        {            "kind", "element", "name", "Multiplier"        });        addAnnotation(leaderLineStyleEEnum, source, new String[]        {            "name", "LeaderLineStyle"        });        addAnnotation(leaderLineStyleObjectEDataType, source, new String[]        {            "name", "LeaderLineStyle:Object", "baseType", "LeaderLineStyle"        });        addAnnotation(legendItemTypeEEnum, source, new String[]        {            "name", "LegendItemType"        });        addAnnotation(legendItemTypeObjectEDataType, source, new String[]        {            "name", "LegendItemType:Object", "baseType", "LegendItemType"        });        addAnnotation(lineAttributesEClass, source, new String[]        {            "name", "LineAttributes", "kind", "elementOnly"        });        addAnnotation(getLineAttributes_Style(), source, new String[]        {            "kind", "element", "name", "Style"        });        addAnnotation(getLineAttributes_Thickness(), source, new String[]        {            "kind", "element", "name", "Thickness"        });        addAnnotation(getLineAttributes_Color(), source, new String[]        {            "kind", "element", "name", "Color"        });        addAnnotation(getLineAttributes_Visible(), source, new String[]        {            "kind", "element", "name", "Visible"        });        addAnnotation(lineStyleEEnum, source, new String[]        {            "name", "LineStyle"        });        addAnnotation(lineStyleObjectEDataType, source, new String[]        {            "name", "LineStyle:Object", "baseType", "LineStyle"        });        addAnnotation(locationEClass, source, new String[]        {            "name", "Location", "kind", "elementOnly"        });        addAnnotation(getLocation_X(), source, new String[]        {            "kind", "element", "name", "x"        });        addAnnotation(getLocation_Y(), source, new String[]        {            "kind", "element", "name", "y"        });        addAnnotation(markerEClass, source, new String[]        {            "name", "Marker", "kind", "elementOnly"        });        addAnnotation(getMarker_Type(), source, new String[]        {            "kind", "element", "name", "Type"        });        addAnnotation(getMarker_Size(), source, new String[]        {            "kind", "element", "name", "Size"        });        addAnnotation(getMarker_Visible(), source, new String[]        {            "kind", "element", "name", "Visible"        });        addAnnotation(markerTypeEEnum, source, new String[]        {            "name", "MarkerType"        });        addAnnotation(markerTypeObjectEDataType, source, new String[]        {            "name", "MarkerType:Object", "baseType", "MarkerType"        });        addAnnotation(numberFormatSpecifierEClass, source, new String[]        {            "name", "NumberFormatSpecifier", "kind", "elementOnly"        });        addAnnotation(getNumberFormatSpecifier_Prefix(), source, new String[]        {            "kind", "element", "name", "Prefix"        });        addAnnotation(getNumberFormatSpecifier_Suffix(), source, new String[]        {            "kind", "element", "name", "Suffix"        });        addAnnotation(getNumberFormatSpecifier_Multiplier(), source, new String[]        {            "kind", "element", "name", "Multiplier"        });        addAnnotation(getNumberFormatSpecifier_FractionDigits(), source, new String[]        {            "kind", "element", "name", "FractionDigits"        });        addAnnotation(orientationEEnum, source, new String[]        {            "name", "Orientation"        });        addAnnotation(orientationObjectEDataType, source, new String[]        {            "name", "Orientation:Object", "baseType", "Orientation"        });        addAnnotation(paletteEClass, source, new String[]        {            "name", "Palette", "kind", "elementOnly"        });        addAnnotation(getPalette_Name(), source, new String[]        {            "kind", "element", "name", "Name"        });        addAnnotation(getPalette_Entries(), source, new String[]        {            "kind", "element", "name", "Entries"        });        addAnnotation(percentageEDataType, source, new String[]        {            "name", "Percentage", "baseType", "http://www.eclipse.org/emf/2003/XMLType#double", "minInclusive", "0.0",            "maxInclusive", "100.0"        });        addAnnotation(percentageObjectEDataType, source, new String[]        {            "name", "Percentage:Object", "baseType", "Percentage"        });        addAnnotation(positionEEnum, source, new String[]        {            "name", "Position"        });        addAnnotation(positionObjectEDataType, source, new String[]        {            "name", "Position:Object", "baseType", "Position"        });        addAnnotation(rgbValueEDataType, source, new String[]        {            "name", "RGBValue", "baseType", "http://www.eclipse.org/emf/2003/XMLType#int", "minInclusive", "0",            "maxInclusive", "255"        });        addAnnotation(rgbValueObjectEDataType, source, new String[]        {            "name", "RGBValue:Object", "baseType", "RGBValue"        });        addAnnotation(riserTypeEEnum, source, new String[]        {            "name", "RiserType"        });        addAnnotation(riserTypeObjectEDataType, source, new String[]        {            "name", "RiserType:Object", "baseType", "RiserType"        });        addAnnotation(ruleTypeEEnum, source, new String[]        {            "name", "RuleType"        });        addAnnotation(ruleTypeObjectEDataType, source, new String[]        {            "name", "RuleType:Object", "baseType", "RuleType"        });        addAnnotation(scaleUnitTypeEEnum, source, new String[]        {            "name", "ScaleUnitType"        });        addAnnotation(scaleUnitTypeObjectEDataType, source, new String[]        {            "name", "ScaleUnitType:Object", "baseType", "ScaleUnitType"        });        addAnnotation(scriptValueEClass, source, new String[]        {            "name", "ScriptValue", "kind", "elementOnly"        });        addAnnotation(getScriptValue_Script(), source, new String[]        {            "kind", "element", "name", "Script"        });        addAnnotation(seriesHintEClass, source, new String[]        {            "name", "SeriesHint", "kind", "elementOnly"        });        addAnnotation(getSeriesHint_SeriesClass(), source, new String[]        {            "kind", "element", "name", "SeriesClass"        });        addAnnotation(getSeriesHint_Modifier(), source, new String[]        {            "kind", "element", "name", "Modifier"        });        addAnnotation(seriesValueEClass, source, new String[]        {            "name", "SeriesValue", "kind", "elementOnly"        });        addAnnotation(getSeriesValue_Name(), source, new String[]        {            "kind", "element", "name", "Name"        });        addAnnotation(sizeEClass, source, new String[]        {            "name", "Size", "kind", "elementOnly"        });        addAnnotation(getSize_Height(), source, new String[]        {            "kind", "element", "name", "Height"        });        addAnnotation(getSize_Width(), source, new String[]        {            "kind", "element", "name", "Width"        });        addAnnotation(sortOptionEEnum, source, new String[]        {            "name", "SortOption"        });        addAnnotation(sortOptionObjectEDataType, source, new String[]        {            "name", "SortOption:Object", "baseType", "SortOption"        });        addAnnotation(stretchEEnum, source, new String[]        {            "name", "Stretch"        });        addAnnotation(stretchObjectEDataType, source, new String[]        {            "name", "Stretch:Object", "baseType", "Stretch"        });        addAnnotation(styledComponentEEnum, source, new String[]        {            "name", "StyledComponent"        });        addAnnotation(styledComponentObjectEDataType, source, new String[]        {            "name", "StyledComponent:Object", "baseType", "StyledComponent"        });        addAnnotation(styleMapEClass, source, new String[]        {            "name", "StyleMap", "kind", "elementOnly"        });        addAnnotation(getStyleMap_ComponentName(), source, new String[]        {            "kind", "element", "name", "ComponentName"        });        addAnnotation(getStyleMap_Style(), source, new String[]        {            "kind", "element", "name", "Style"        });        addAnnotation(textEClass, source, new String[]        {            "name", "Text", "kind", "elementOnly"        });        addAnnotation(getText_Value(), source, new String[]        {            "kind", "element", "name", "Value"        });        addAnnotation(getText_Font(), source, new String[]        {            "kind", "element", "name", "Font"        });        addAnnotation(getText_Color(), source, new String[]        {            "kind", "element", "name", "Color"        });        addAnnotation(textAlignmentEClass, source, new String[]        {            "name", "TextAlignment", "kind", "elementOnly"        });        addAnnotation(getTextAlignment_HorizontalAlignment(), source, new String[]        {            "kind", "element", "name", "horizontalAlignment"        });        addAnnotation(getTextAlignment_VerticalAlignment(), source, new String[]        {            "kind", "element", "name", "verticalAlignment"        });        addAnnotation(tickStyleEEnum, source, new String[]        {            "name", "TickStyle"        });        addAnnotation(tickStyleObjectEDataType, source, new String[]        {            "name", "TickStyle:Object", "baseType", "TickStyle"        });        addAnnotation(tooltipValueEClass, source, new String[]        {            "name", "TooltipValue", "kind", "elementOnly"        });        addAnnotation(getTooltipValue_Text(), source, new String[]        {            "kind", "element", "name", "Text"        });        addAnnotation(getTooltipValue_Delay(), source, new String[]        {            "kind", "element", "name", "Delay"        });        addAnnotation(triggerConditionEEnum, source, new String[]        {            "name", "TriggerCondition"        });        addAnnotation(triggerConditionObjectEDataType, source, new String[]        {            "name", "TriggerCondition:Object", "baseType", "TriggerCondition"        });        addAnnotation(urlValueEClass, source, new String[]        {            "name", "URLValue", "kind", "elementOnly"        });        addAnnotation(getURLValue_BaseUrl(), source, new String[]        {            "kind", "element", "name", "BaseUrl"        });        addAnnotation(getURLValue_Target(), source, new String[]        {            "kind", "element", "name", "Target"        });        addAnnotation(getURLValue_BaseParameterName(), source, new String[]        {            "kind", "element", "name", "BaseParameterName"        });        addAnnotation(getURLValue_ValueParameterName(), source, new String[]        {            "kind", "element", "name", "ValueParameterName"        });        addAnnotation(getURLValue_SeriesParameterName(), source, new String[]        {            "kind", "element", "name", "SeriesParameterName"        });        addAnnotation(verticalAlignmentEEnum, source, new String[]        {            "name", "VerticalAlignment"        });        addAnnotation(verticalAlignmentObjectEDataType, source, new String[]        {            "name", "VerticalAlignment:Object", "baseType", "VerticalAlignment"        });    }