@@ -0,0 +1,1734 @@
+/*%0A *    Debrief - the Open Source Maritime Analysis Application%0A *    http://debrief.info%0A *%0A *    (C) 2000-2014, PlanetMayo Ltd%0A *%0A *    This library is free software; you can redistribute it and/or%0A *    modify it under the terms of the Eclipse Public License v1.0%0A *    (http://www.eclipse.org/legal/epl-v10.html)%0A *%0A *    This library is distributed in the hope that it will be useful,%0A *    but WITHOUT ANY WARRANTY; without even the implied warranty of%0A *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. %0A */%0A%0Apackage MWC.GUI.Properties;%0A%0Aimport java.beans.PropertyEditorSupport;%0A%0Apublic class GraphicSizePropertyEditor extends PropertyEditorSupport%0A%7B%0A%0A  protected Double _mySize;%0A%0A  private final String stringTags%5B%5D =%0A  %7B%22Small%22, %22Medium%22, %22Large%22%7D;%0A%0A  private final double vals%5B%5D =%0A  %7B6, 10, 14%7D;%0A%0A  @Override%0A  public String getAsText()%0A  %7B%0A    String res = null;%0A    final double current = _mySize.doubleValue();%0A    for (int i = 0; i %3C vals.length; i++)%0A    %7B%0A      final double v = vals%5Bi%5D;%0A      if (v == current)%0A      %7B%0A        res = stringTags%5Bi%5D;%0A      %7D%0A    %7D%0A%0A    return res;%0A  %7D%0A%0A  @Override%0A  public String%5B%5D getTags()%0A  %7B%0A    return stringTags;%0A  %7D%0A%0A  @Override%0A  public Object getValue()%0A  %7B%0A    return _mySize;%0A  %7D%0A%0A  @Override%0A  public void setAsText(final String val)%0A  %7B%0A    for (int i = 0; i %3C stringTags.length; i++)%0A    %7B%0A      final String thisS = stringTags%5Bi%5D;%0A      if (thisS.equals(val))%0A      %7B%0A        _mySize = new Double(vals%5Bi%5D);%0A      %7D%0A    %7D%0A  %7D%0A%0A  @Override%0A  public void setValue(final Object p1)%0A  %7B%0A    if (p1 instanceof Double)%0A    %7B%0A      _mySize = (Double) p1;%0A    %7D%0A    if (p1 instanceof String)%0A    %7B%0A      final String val = (String) p1;%0A      setAsText(val);%0A    %7D%0A  %7D%0A%7D%0A

Introduce custom editor for size of graphic features (esp JFreeChart symbols).