Browse Source

REPORT-60493 主题下载引导场景

research/11.0
kuangshuai 3 years ago
parent
commit
b574b7723c
  1. 5
      designer-realize/src/main/java/com/fr/design/mainframe/guide/creator/theme/DownloadComponentPackageGuide.java

5
designer-realize/src/main/java/com/fr/design/mainframe/guide/creator/theme/DownloadComponentPackageGuide.java

@ -171,6 +171,7 @@ public class DownloadComponentPackageGuide {
onlineWidgetPackageBlock = (OnlineWidgetPackageBlock) ComponentUtils.findComponentByClass(EastRegionContainerPane.getInstance(), OnlineWidgetPackageBlock.class);
if (onlineWidgetPackageBlock != null) {
scene.addClickTarget(onlineWidgetPackageBlock, ClickScene.ClickType.RIGHT);
scene.addBubbleTip(Toolkit.i18nText("Fine-Design_Guide_Scene_F002002_Tip_Right_Click_Package"), GuideTip.Direction.LEFT);
}
return true;
}
@ -212,7 +213,7 @@ public class DownloadComponentPackageGuide {
GuideCreateUtils.getRelativeBounds(popupMenu.getComponent(0), onlineWidgetPackageBlock, location.x, location.y),
ClickScene.ClickType.LEFT
);
scene.addClickTarget(popupMenu.getComponent(0), ClickScene.ClickType.LEFT, true);
scene.addBubbleTip(Toolkit.i18nText("Fine-Design_Guide_Scene_F002002_Tip_Get_Current_Theme"), GuideTip.Direction.LEFT);
popupMenu.setVisible(false);
return true;
@ -221,7 +222,7 @@ public class DownloadComponentPackageGuide {
@Override
public void onComplete() {
downLoadTheme();
GuideCreateUtils.showConfirmDialog(
themeConfirmDialog = GuideCreateUtils.showConfirmDialog(
DesignerContext.getDesignerFrame(),
Toolkit.i18nText("Fine-Design_Share_Apply_Suitable_Theme_Tip"),
Toolkit.i18nText("Fine-Design_Basic_Confirm"),

Loading…
Cancel
Save