Browse Source

REPORT-98345 版本管理三期 修改代码规范

feature/x
Destiny.Lin 1 year ago
parent
commit
bfb3f7f312
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/TableEntity.java
  2. 6
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/AbstractSupportSelectTablePane.java
  3. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/RecyclePane.java
  4. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsNewPane.java
  5. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsOperatorPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/TableEntity.java

@ -1,7 +1,7 @@
package com.fr.design.mainframe.vcs;
/**
* 表格选中接口
* 表格选中包装类
*
* @author Destiny.Lin
* @since 11.0

6
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/AbstractTablePane.java → designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/AbstractSupportSelectTablePane.java

@ -49,7 +49,7 @@ import java.util.concurrent.ExecutionException;
* @since 11.0
* Created on 2023/7/11
*/
public abstract class AbstractTablePane<T extends TableEntity> extends BasicPane {
public abstract class AbstractSupportSelectTablePane<T extends TableEntity> extends BasicPane {
public static final Color DEFAULT_HEADER_COLOR = new Color(232, 232, 233);
public static final Color DEFAULT_SELECT_TABLE_ROW_COLOR = new ColorUIResource(200, 221, 233);
@ -86,7 +86,7 @@ public abstract class AbstractTablePane<T extends TableEntity> extends BasicPane
protected TableValueOperator<T> operator;
public AbstractTablePane(String title, TableValueOperator<T> operators, String[] tableNames, boolean needBorder) {
public AbstractSupportSelectTablePane(String title, TableValueOperator<T> operators, String[] tableNames, boolean needBorder) {
this.operator = operators;
this.model = new DefaultModel(tableNames, new Class[]{
Boolean.class,
@ -99,7 +99,7 @@ public abstract class AbstractTablePane<T extends TableEntity> extends BasicPane
init(title, needBorder);
}
public AbstractTablePane(String title, TableValueOperator<T> operators, boolean needBorder) {
public AbstractSupportSelectTablePane(String title, TableValueOperator<T> operators, boolean needBorder) {
this.operator = operators;
init(title, needBorder);
}

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/RecyclePane.java

@ -35,7 +35,7 @@ import static com.fr.design.i18n.Toolkit.i18nText;
* @since 11.0
* Created on 2023/7/5
*/
public class RecyclePane extends AbstractTablePane<VcsTableEntity> {
public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity> {
public static final Icon ICON_SEARCH = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_recycle_search");
public static final Icon ICON_REFRESH = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_recycle_restore");
public static final Icon ICON_DELETE = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_recycle_delete");

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsNewPane.java

@ -42,7 +42,7 @@ import java.util.concurrent.ExecutionException;
* @since 11.0
* Created on 2023/7/11
*/
public class VcsNewPane extends RecyclePane{
public class VcsNewPane extends RecyclePane {
private String filePath = StringUtils.EMPTY;

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsOperatorPane.java

@ -16,7 +16,7 @@ import java.awt.*;
import java.util.List;
import static com.fr.design.mainframe.vcs.ui.AbstractTablePane.DEFAULT_SELECT_TABLE_ROW_COLOR;
import static com.fr.design.mainframe.vcs.ui.AbstractSupportSelectTablePane.DEFAULT_SELECT_TABLE_ROW_COLOR;
/**
* 操作面板用于置放常用的操作label

Loading…
Cancel
Save