diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java b/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java index a763faa98..ce43fef6e 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java @@ -4,13 +4,11 @@ import com.fr.design.constants.UIConstants; import com.fr.design.dialog.BasicPane; import com.fr.design.gui.ibutton.UIButton; import com.fr.design.i18n.Toolkit; -import com.fr.design.mainframe.DesignerContext; import com.fr.design.mainframe.guide.collect.GuideCollector; import com.fr.design.mainframe.guide.ui.BubbleHintDialog; import com.fr.design.mainframe.guide.ui.GuideManageDialog; import com.fr.general.IOUtils; -import javax.swing.SwingUtilities; import javax.swing.event.AncestorEvent; import javax.swing.event.AncestorListener; import java.awt.BorderLayout; @@ -47,7 +45,7 @@ public class GuideEntryPane extends BasicPane { button.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { - GuideManageDialog.getInstance().showDialog(); + onClick(); } }); this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND); @@ -73,4 +71,8 @@ public class GuideEntryPane extends BasicPane { } + private void onClick() { + GuideManageDialog.getInstance().showDialog(); + } + }