|
|
|
@ -18,6 +18,7 @@ import com.fr.design.gui.icontainer.UIScrollPane;
|
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.imenu.UIPopupMenu; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.share.ComponentShareUtil; |
|
|
|
|
import com.fr.design.mainframe.share.ui.online.OnlineWidgetRepoPane; |
|
|
|
|
import com.fr.design.mainframe.share.ui.online.mini.MiniComponentShopDialog; |
|
|
|
|
import com.fr.design.mainframe.share.util.OnlineShopUtils; |
|
|
|
@ -265,7 +266,7 @@ public class FormParaWidgetPane extends JPanel {
|
|
|
|
|
jPanel.addMouseListener(new MouseListener() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
if (OnlineShopUtils.testConnection()) { |
|
|
|
|
if (OnlineShopUtils.testConnection() && ComponentShareUtil.isShowMiniShopWindow()) { |
|
|
|
|
MiniComponentShopDialog.getInstance().show(); |
|
|
|
|
} else { |
|
|
|
|
OnlineWidgetRepoPane.getInstance().switch2InternetErrorPane(); |
|
|
|
|