|
|
|
@ -11,6 +11,7 @@ import com.fr.design.mainframe.CenterRegionContainerPane;
|
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.DesignerFrame; |
|
|
|
|
import com.fr.design.mainframe.EastRegionContainerPane; |
|
|
|
|
import com.fr.design.mainframe.WidgetPropertyPane; |
|
|
|
|
import com.fr.design.mainframe.guide.GuideIds; |
|
|
|
|
import com.fr.design.mainframe.guide.base.Guide; |
|
|
|
|
import com.fr.design.mainframe.guide.base.GuideBuilder; |
|
|
|
@ -61,6 +62,7 @@ public class ThemeToggleGuide {
|
|
|
|
|
@Override |
|
|
|
|
public boolean prepared() { |
|
|
|
|
filePath = GuideCreateUtils.openGuideFile("/com/fr/report/guide/template", "toggle_theme", ".frm"); |
|
|
|
|
EastRegionContainerPane.getInstance().switchTabTo(EastRegionContainerPane.KEY_WIDGET_SETTINGS); |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -139,7 +141,7 @@ public class ThemeToggleGuide {
|
|
|
|
|
@Override |
|
|
|
|
public boolean prepared() { |
|
|
|
|
scene.addClickTarget(ComponentUtils.findComponentByName(themeDialog, TemplateThemeUsingDialog.COMPLETE_BUTTON), ClickScene.ClickType.LEFT, true); |
|
|
|
|
scene.addBubbleTip(Toolkit.i18nText("Fine-Design_Guide_Scene_F002001_Tip_Click_Confirm"), BubbleTip.Direction.TOP); |
|
|
|
|
scene.addBubbleTip(Toolkit.i18nText("Fine-Design_Guide_Scene_Base_Tip_Click_Confirm"), BubbleTip.Direction.TOP); |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -165,7 +167,7 @@ public class ThemeToggleGuide {
|
|
|
|
|
if (target2 != null) { |
|
|
|
|
uiButtonGroup[0] = (UIButtonGroup) target2; |
|
|
|
|
target2 = ((UIButtonGroup) target2).getButton(0); |
|
|
|
|
scene.addClickTarget(target2, ClickScene.ClickType.LEFT); |
|
|
|
|
scene.addClickTarget(target2, ClickScene.ClickType.LEFT, true); |
|
|
|
|
scene.addBubbleTip( |
|
|
|
|
Toolkit.i18nText("Fine-Design_Guide_Scene_F002001_Tip_Toggle_Follow_Theme"), |
|
|
|
|
Toolkit.i18nText("Fine-Design_Guide_Scene_F002001_Tip_Toggle_Follow_Theme_Description"), |
|
|
|
|