|
|
|
@ -20,6 +20,7 @@ import com.fr.design.layout.TableLayoutHelper;
|
|
|
|
|
import com.fr.design.login.DesignerLoginHelper; |
|
|
|
|
import com.fr.design.login.DesignerLoginSource; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.reuse.ComponentReuseNotificationInfo; |
|
|
|
|
import com.fr.design.mainframe.share.constants.ComponentType; |
|
|
|
|
import com.fr.design.mainframe.share.constants.ComponentTypes; |
|
|
|
|
import com.fr.design.mainframe.share.constants.DisplayDevice; |
|
|
|
@ -36,6 +37,9 @@ import com.fr.form.share.bean.StyleThemeBean;
|
|
|
|
|
import com.fr.form.share.constants.ShareComponentConstants; |
|
|
|
|
import com.fr.form.share.group.DefaultShareGroupManager; |
|
|
|
|
import com.fr.form.share.Group; |
|
|
|
|
import com.fr.json.JSON; |
|
|
|
|
import com.fr.json.JSONArray; |
|
|
|
|
import com.fr.json.JSONFactory; |
|
|
|
|
import com.fr.plugin.context.PluginContext; |
|
|
|
|
import com.fr.plugin.manage.PluginFilter; |
|
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
@ -622,6 +626,15 @@ public class ShareMainPane extends JPanel {
|
|
|
|
|
provider.setDesignerVersion(ProductConstants.VERSION); |
|
|
|
|
provider.setVendor(loginLabel.getText()); |
|
|
|
|
provider.setFileName(provider.getNameWithID()); |
|
|
|
|
provider.setVendorUid(DesignerEnvManager.getEnvManager().getDesignerLoginUid()); |
|
|
|
|
provider.setCreateTime(System.currentTimeMillis()); |
|
|
|
|
JSONArray historyCreatedReuses = JSONFactory.createJSON( |
|
|
|
|
JSON.ARRAY, |
|
|
|
|
ComponentReuseNotificationInfo.getInstance().getHistoryCreatedReuses() |
|
|
|
|
); |
|
|
|
|
historyCreatedReuses.add(uuid); |
|
|
|
|
ComponentReuseNotificationInfo.getInstance().setHistoryCreatedReuses(historyCreatedReuses.toString()); |
|
|
|
|
DesignerEnvManager.getEnvManager().saveXMLFile(); |
|
|
|
|
|
|
|
|
|
if (upload) { |
|
|
|
|
provider.setSummary(content.getText()); |
|
|
|
|