ArrayList tabularData = new ArrayList();
float[] part0 = new float[] { 35.0f, -120.0f, -25.0f, -95.0f,
56.0f, -30.0f };
float[] part1 = new float[] { -15.0f, -110.0f, 13.0f, -80.0f,
-25.0f, 10.0f };
EsriPolyline poly0 = new EsriPolyline(part0, OMGraphic.DECIMAL_DEGREES, OMGraphic.LINETYPE_RHUMB);
EsriPolyline poly1 = new EsriPolyline(part1, OMGraphic.DECIMAL_DEGREES, OMGraphic.LINETYPE_RHUMB);
shapeData.add(poly0); //part 1
shapeData.add(poly1); //part 2
shapeData.generate(_mapBean.getProjection());
tabularData.add(0, "a value");
_drawableLayer.addRecord(shapeData, tabularData);