Browse Source

REPORT-100942 【版本管理三期】版本中心,版本详情,回收站的操作是否要加悬浮提示

newui
Destiny.Lin 1 year ago
parent
commit
548d28dd7a
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/RecyclePane.java
  2. 3
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java
  3. 3
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsNewPane.java

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

@ -128,6 +128,7 @@ public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity>
private void initDeleteLabelListener() { private void initDeleteLabelListener() {
if (isNeedDelete()) { if (isNeedDelete()) {
deleteLabel.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Delete"));
deleteLabel.addMouseListener(new MouseAdapter() { deleteLabel.addMouseListener(new MouseAdapter() {
@Override @Override
public void mouseClicked(MouseEvent e) { public void mouseClicked(MouseEvent e) {
@ -144,6 +145,7 @@ public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity>
private void initRestoreListener() { private void initRestoreListener() {
if (isNeedRestore()) { if (isNeedRestore()) {
restoreLabel.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Restore"));
restoreLabel.addMouseListener(new MouseAdapter() { restoreLabel.addMouseListener(new MouseAdapter() {
@Override @Override
public void mouseClicked(MouseEvent e) { public void mouseClicked(MouseEvent e) {

3
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java

@ -83,8 +83,11 @@ public class VcsCenterPane extends VcsNewPane {
@Override @Override
public VcsOperatorPane createOperatorPane() { public VcsOperatorPane createOperatorPane() {
manager = new UILabel(MANAGER_ICON); manager = new UILabel(MANAGER_ICON);
manager.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Manager"));
open = new UILabel(OPEN_ICON); open = new UILabel(OPEN_ICON);
open.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Open"));
delete = new UILabel(DELETE_ICON); delete = new UILabel(DELETE_ICON);
delete.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Delete"));
initManagerListener(); initManagerListener();
initOpenListener(); initOpenListener();
initDeleteListener(); initDeleteListener();

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

@ -128,8 +128,11 @@ public class VcsNewPane extends RecyclePane {
*/ */
public VcsOperatorPane createOperatorPane() { public VcsOperatorPane createOperatorPane() {
restore = new UILabel(RESTORE_ICON); restore = new UILabel(RESTORE_ICON);
restore.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Restore"));
delete = new UILabel(DELETE_ICON); delete = new UILabel(DELETE_ICON);
delete.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Delete"));
preview = new UILabel(PREVIEW_ICON); preview = new UILabel(PREVIEW_ICON);
preview.setToolTipText(Toolkit.i18nText("Fine-Design_Vcs_ToolTip_Preview"));
initPreviewListener(); initPreviewListener();
initDeleteListener(); initDeleteListener();
initRestoreListener(); initRestoreListener();

Loading…
Cancel
Save