|
|
|
@ -10,6 +10,7 @@ import com.fr.design.mainframe.reuse.ComponentReuseNotificationInfo;
|
|
|
|
|
import com.fr.design.mainframe.share.collect.ComponentCollector; |
|
|
|
|
import com.fr.design.mainframe.share.ui.local.LocalWidgetRepoPane; |
|
|
|
|
import com.fr.design.mainframe.share.ui.online.OnlineWidgetRepoPane; |
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.Icon; |
|
|
|
@ -174,7 +175,8 @@ public class FormWidgetDetailPane extends FormDockView{
|
|
|
|
|
private void initPaneList() { |
|
|
|
|
paneList = new ArrayList<>(); |
|
|
|
|
paneList.add(LocalWidgetRepoPane.getInstance()); |
|
|
|
|
paneList.add(OnlineWidgetRepoPane.getInstance()); |
|
|
|
|
if (GeneralContext.isChineseEnv()) { |
|
|
|
|
paneList.add(OnlineWidgetRepoPane.getInstance()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|