|
|
|
@ -148,7 +148,7 @@ public class TableDataTreePane extends BasicTableDataTreePane {
|
|
|
|
|
private EsdOffAction esdOffAction; |
|
|
|
|
private SwitchAction switchAction; |
|
|
|
|
private PreviewTableDataAction previewTableDataAction; |
|
|
|
|
private Set<ExtraAction> extraActions = new HashSet<>(); |
|
|
|
|
private Set<AbstractExtraAction> extraActions = new HashSet<>(); |
|
|
|
|
private JPanel serverDatasetAuthTipJPanel = new JPanel(); |
|
|
|
|
|
|
|
|
|
private TableDataSearchRemindPane remindPane; |
|
|
|
@ -727,7 +727,7 @@ public class TableDataTreePane extends BasicTableDataTreePane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void checkExtraActionEnable(int dataMode, int selectioncount, boolean hasSelectedIndependentColumns) { |
|
|
|
|
for (ExtraAction action : extraActions) { |
|
|
|
|
for (AbstractExtraAction action : extraActions) { |
|
|
|
|
action.setEnabled(action.checkEnable(dataMode, selectioncount, hasSelectedIndependentColumns)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1239,9 +1239,12 @@ public class TableDataTreePane extends BasicTableDataTreePane {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public abstract class ExtraAction extends UpdateAction { |
|
|
|
|
/** |
|
|
|
|
* TableDataTree工具栏的扩展接口Action |
|
|
|
|
*/ |
|
|
|
|
public abstract class AbstractExtraAction extends UpdateAction { |
|
|
|
|
|
|
|
|
|
public ExtraAction() { |
|
|
|
|
public AbstractExtraAction() { |
|
|
|
|
init(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|