@@ -458,10 +458,7 @@ JScrollPane getScrollPane() {
458
458
459
459
protected JButton getResetStyleButton () {
460
460
if (resetStyleButton == null ) {
461
- resetStyleButton = new JButton (ICON_REFRESH );
462
- resetStyleButton .setFont (serviceRegistrar .getService (IconManager .class ).getIconFont (13.0f ));
463
- resetStyleButton .setToolTipText ("Reset Style" );
464
-
461
+ resetStyleButton = new JButton ("Reset Style" );
465
462
if (isAquaLAF ())
466
463
resetStyleButton .putClientProperty ("JButton.buttonType" , "gradient" );
467
464
}
@@ -496,10 +493,8 @@ class EMViewControlPanel extends AbstractViewControlPanel {
496
493
497
494
private DataSetSelector dataSetSelector ;
498
495
private JCheckBox publicationReadyCheck ;
499
- private JButton setEdgeWidthButton ;
500
496
private JButton showLegendButton ;
501
497
502
- private JLabel aaLink ;
503
498
private JComboBox <ChartData > chartDataCombo ;
504
499
private JComboBox <ChartType > chartTypeCombo ;
505
500
private JComboBox <ColorScheme > chartColorsCombo ;
@@ -718,8 +713,8 @@ private JPanel createFilterPanel() {
718
713
719
714
private JPanel createStylePanel () {
720
715
makeSmall (chartDataLabel , chartTypeLabel , chartColorsLabel );
721
- makeSmall (getAutoAnnotateOpenLink (), getChartDataCombo (), getChartTypeCombo (), getChartColorsCombo (), getShowChartLabelsCheck ());
722
- makeSmall (getPublicationReadyCheck (), getShowLegendButton (), getSetEdgeWidthButton (), getResetStyleButton ());
716
+ makeSmall (getChartDataCombo (), getChartTypeCombo (), getChartColorsCombo (), getShowChartLabelsCheck ());
717
+ makeSmall (getPublicationReadyCheck (), getShowLegendButton (), getResetStyleButton ());
723
718
724
719
final JPanel panel = new JPanel ();
725
720
panel .setBorder (LookAndFeelUtil .createTitledBorder ("Style" ));
@@ -738,7 +733,6 @@ private JPanel createStylePanel() {
738
733
)
739
734
.addPreferredGap (ComponentPlacement .RELATED )
740
735
.addGroup (layout .createParallelGroup (LEADING , true )
741
- .addComponent (getAutoAnnotateOpenLink (), DEFAULT_SIZE , DEFAULT_SIZE , Short .MAX_VALUE )
742
736
.addComponent (getChartDataCombo (), DEFAULT_SIZE , DEFAULT_SIZE , Short .MAX_VALUE )
743
737
.addComponent (getChartTypeCombo (), DEFAULT_SIZE , DEFAULT_SIZE , Short .MAX_VALUE )
744
738
.addComponent (getChartColorsCombo (), DEFAULT_SIZE , DEFAULT_SIZE , Short .MAX_VALUE )
@@ -747,16 +741,13 @@ private JPanel createStylePanel() {
747
741
)
748
742
)
749
743
.addGroup (layout .createSequentialGroup ()
750
- .addComponent (getSetEdgeWidthButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
751
- .addPreferredGap (ComponentPlacement .UNRELATED )
752
744
.addComponent (getShowLegendButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
753
745
.addPreferredGap (ComponentPlacement .UNRELATED )
754
746
.addComponent (getResetStyleButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
755
747
)
756
748
);
757
749
758
750
layout .setVerticalGroup (layout .createSequentialGroup ()
759
- .addComponent (getAutoAnnotateOpenLink ())
760
751
.addGroup (layout .createParallelGroup (CENTER , false )
761
752
.addComponent (chartDataLabel )
762
753
.addComponent (getChartDataCombo (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
@@ -773,7 +764,6 @@ private JPanel createStylePanel() {
773
764
.addComponent (getPublicationReadyCheck (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
774
765
.addPreferredGap (ComponentPlacement .UNRELATED )
775
766
.addGroup (layout .createParallelGroup (CENTER , false )
776
- .addComponent (getSetEdgeWidthButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
777
767
.addComponent (getShowLegendButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
778
768
.addComponent (getResetStyleButton (), PREFERRED_SIZE , DEFAULT_SIZE , PREFERRED_SIZE )
779
769
)
@@ -892,15 +882,6 @@ DataSetSelector getDataSetSelector() {
892
882
}
893
883
return dataSetSelector ;
894
884
}
895
-
896
- JLabel getAutoAnnotateOpenLink () {
897
- if (aaLink == null ) {
898
- aaLink = SwingUtil .createLinkLabel ("Use AutoAnnotate to find clusters of similar gene-sets" );
899
- aaLink .setVisible (dependencyChecker .isCommandAvailable ("autoannotate" , "open" ));
900
- aaLink .setBorder (BorderFactory .createEmptyBorder (0 , 8 , 4 , 0 ));
901
- }
902
- return aaLink ;
903
- }
904
885
905
886
906
887
JComboBox <ChartData > getChartDataCombo () {
@@ -1019,15 +1000,7 @@ JCheckBox getPublicationReadyCheck() {
1019
1000
return publicationReadyCheck ;
1020
1001
}
1021
1002
1022
- JButton getSetEdgeWidthButton () {
1023
- if (setEdgeWidthButton == null ) {
1024
- setEdgeWidthButton = new JButton ("Set Signature Edge Width..." );
1025
- if (isAquaLAF ())
1026
- setEdgeWidthButton .putClientProperty ("JButton.buttonType" , "gradient" );
1027
- }
1028
- return setEdgeWidthButton ;
1029
- }
1030
-
1003
+
1031
1004
JButton getShowLegendButton () {
1032
1005
if (showLegendButton == null ) {
1033
1006
showLegendButton = new JButton ("Show Legend..." );
0 commit comments