public Collection getChartSubtypes(String sDimension, Orientation orientation) { Vector vSubTypes = new Vector(); if (sDimension.equals("2D") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_LITERAL.getName())) { if (orientation.equals(Orientation.VERTICAL_LITERAL)) { img2D = UIHelper.getImage("icons/full/wizban/stockchartimage.gif"); } else { img2D = UIHelper.getImage("icons/full/wizban/horizontalstockchartimage.gif"); } vSubTypes.add(new DefaultChartSubTypeImpl("Standard Stock Chart", img2D, sStandardDescription)); } return vSubTypes; }
public Collection getChartSubtypes( String sDimension, Orientation orientation ) { Vector vSubTypes = new Vector( ); if ( sDimension.equals( TWO_DIMENSION_TYPE ) || sDimension.equals( ChartDimension.TWO_DIMENSIONAL_LITERAL.getName( ) ) ) { if ( orientation.equals( Orientation.VERTICAL_LITERAL ) ) { img2D = UIHelper.getImage( "icons/full/wizban/stockchartimage.gif" ); } else { img2D = UIHelper.getImage( "icons/full/wizban/horizontalstockchartimage.gif" ); } vSubTypes.add( new DefaultChartSubTypeImpl( "Standard Stock Chart", img2D, sStandardDescription ) ); } return vSubTypes; }
    public Collection getChartSubtypes(String sDimension, Orientation orientation)    {        Vector vSubTypes = new Vector();        if (sDimension.equals("2D") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_LITERAL.getName())) //$NON-NLS-1$        {            if (orientation.equals(Orientation.VERTICAL_LITERAL))            {                img2D = UIHelper.getImage("icons/full/wizban/stockchartimage.gif"); //$NON-NLS-1$            }            else            {                img2D = UIHelper.getImage("icons/full/wizban/horizontalstockchartimage.gif"); //$NON-NLS-1$            }            vSubTypes.add(new DefaultChartSubTypeImpl("Standard Stock Chart", img2D, sStandardDescription)); //$NON-NLS-1$        }        return vSubTypes;    }