public boolean doAction(double x, double y, Object o, String action, CompoundEdit undoableEdit) {
if (action.equals(resources.getString("Properties..."))) {
new LongAction(LongAction.LONG_ACTION_SHAPE, null, this) {
protected void doAction() {
ChartPropertyEditPanel panel = new ChartPropertyEditPanel(chart);
JTabbedPane tab = findTab(panel);
XYPlot plot = (XYPlot)chart.getXYPlot();
PlotPanel plotPanel = new PlotPanel();
Container c = (Container)plotPanel.getComponent(0);
Box b = Box.createHorizontalBox();
b.add(new JLabel(resources.getString("TransparencyCoefficient")));
NumberField nfalpha;
b.add(Box.createHorizontalGlue());
b.add(nfalpha = new NumberField(plot.getForegroundAlpha()));
c.add(b);
b = Box.createHorizontalBox();
JCheckBox cbDrawContour;
b.add(cbDrawContour = new JCheckBox(resources.getString("OutlineEachSegment"), ((JSynopticAreaXYItemRenderer)plot.getRenderer()).isOutline()));
b.add(Box.createHorizontalGlue());
c.add(b);
if (tab!=null) tab.add(plotPanel,0);
int result = JOptionPane.showConfirmDialog(null, panel,
resources.getString("ChartProperties"), JOptionPane.OK_CANCEL_OPTION,
JOptionPane.PLAIN_MESSAGE);
if (result == JOptionPane.OK_OPTION) {
panel.updateChartProperties(chart);