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