Browse Source

REPORT-57813 埋点方法分离

research/11.0
kuangshuai 3 years ago
parent
commit
f57e804602
  1. 8
      designer-realize/src/main/java/com/fr/design/mainframe/guide/entry/GuideEntryPane.java

8
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.dialog.BasicPane;
import com.fr.design.gui.ibutton.UIButton; import com.fr.design.gui.ibutton.UIButton;
import com.fr.design.i18n.Toolkit; 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.collect.GuideCollector;
import com.fr.design.mainframe.guide.ui.BubbleHintDialog; import com.fr.design.mainframe.guide.ui.BubbleHintDialog;
import com.fr.design.mainframe.guide.ui.GuideManageDialog; import com.fr.design.mainframe.guide.ui.GuideManageDialog;
import com.fr.general.IOUtils; import com.fr.general.IOUtils;
import javax.swing.SwingUtilities;
import javax.swing.event.AncestorEvent; import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener; import javax.swing.event.AncestorListener;
import java.awt.BorderLayout; import java.awt.BorderLayout;
@ -47,7 +45,7 @@ public class GuideEntryPane extends BasicPane {
button.addMouseListener(new MouseAdapter() { button.addMouseListener(new MouseAdapter() {
@Override @Override
public void mouseClicked(MouseEvent e) { public void mouseClicked(MouseEvent e) {
GuideManageDialog.getInstance().showDialog(); onClick();
} }
}); });
this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND); this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND);
@ -73,4 +71,8 @@ public class GuideEntryPane extends BasicPane {
} }
private void onClick() {
GuideManageDialog.getInstance().showDialog();
}
} }

Loading…
Cancel
Save