Ignore:
Timestamp:
Apr 6, 2012, 1:07:39 PM (6 years ago)
Author:
tim.te.beek@…
Message:

If attribute selection is empty, select all attributes so we can plot something
Update test & launchers accordingly
Remove protected getter on plottingParams in PlotDialog?, as it's now no longer needed

Location:
trunk/expression-data-viewer/src/main/java/nl/nbic/brs/expview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expression-data-viewer/src/main/java/nl/nbic/brs/expview/model/SelectedAttributesModel.java

    r348 r350  
    5959                }
    6060
    61                 // TODO If selection is empty, select all so we can plot something
     61                // If selection is empty, select all so we can plot something
     62                if (isSelectionEmpty())
     63                        addSelectionInterval(0, availableAttributesModel.getSize() - 1);
    6264
    6365                // Done updating: Store all attributes for future use
  • trunk/expression-data-viewer/src/main/java/nl/nbic/brs/expview/view/PlotDialog.java

    r349 r350  
    2121import javax.swing.event.ChangeListener;
    2222
    23 import lombok.AccessLevel;
    24 import lombok.Getter;
    25 
    2623import org.apache.commons.lang.StringUtils;
    2724import org.jfree.chart.ChartFactory;
     
    3734
    3835public class PlotDialog extends JDialog implements ChangeListener {
    39         @Getter(value = AccessLevel.PROTECTED)
    4036        PlottingParams                                          plottingParams  = new PlottingParams();
    4137
Note: See TracChangeset for help on using the changeset viewer.