title: GWT openlayers, DrawFeature line style
body: <p>I am using gwt openlayers to draw some linestrings on the map. I would like to change the draw feature line appearance. I noticed that PathHandler class has setStyle method, but setting style using this method does not change the line appearance.</p>
  
  <pre><code>private DrawFeature createDrawFeature() {
      DrawFeatureOptions options = new DrawFeatureOptions();
      options.onFeatureAdded(getStyle());
      PathHandler handler = new PathHandler();
      handler.setStyle(style);
      return new DrawFeature(layer, handler, options );
  }
  private Style getStyle() {
      Style style = new Style();
      style.setStrokeColor("#ffffff");
      style.setStrokeWidth(2.0);
      return style;
  }
  </code></pre>
  
  <p>I was trying to set different style options but there was no effect.
  Does anyone know how to change appearance of DrawFeature line?</p>