|
|
@ -19,24 +19,22 @@ import com.fr.design.mainframe.share.collect.ComponentCollector; |
|
|
|
import com.fr.design.mainframe.share.exception.LackOfValueException; |
|
|
|
import com.fr.design.mainframe.share.exception.LackOfValueException; |
|
|
|
import com.fr.design.mainframe.share.generate.ComponentGeneratorCenter; |
|
|
|
import com.fr.design.mainframe.share.generate.ComponentGeneratorCenter; |
|
|
|
import com.fr.design.mainframe.share.select.ComponentTransformerFactory; |
|
|
|
import com.fr.design.mainframe.share.select.ComponentTransformerFactory; |
|
|
|
import com.fr.design.mod.ContentObjectManager; |
|
|
|
|
|
|
|
import com.fr.form.share.exception.NetWorkFailedException; |
|
|
|
|
|
|
|
import com.fr.form.share.group.DefaultShareGroup; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.share.util.ShareUIUtils; |
|
|
|
import com.fr.design.mainframe.share.util.ShareUIUtils; |
|
|
|
|
|
|
|
import com.fr.design.mod.ContentObjectManager; |
|
|
|
import com.fr.design.share.effect.EffectItemGroup; |
|
|
|
import com.fr.design.share.effect.EffectItemGroup; |
|
|
|
import com.fr.design.share.utils.EffectItemUtils; |
|
|
|
import com.fr.design.share.utils.EffectItemUtils; |
|
|
|
import com.fr.design.share.utils.ShareDialogUtils; |
|
|
|
import com.fr.design.share.utils.ShareDialogUtils; |
|
|
|
import com.fr.form.share.DefaultSharableWidget; |
|
|
|
import com.fr.form.share.DefaultSharableWidget; |
|
|
|
|
|
|
|
import com.fr.form.share.Group; |
|
|
|
import com.fr.form.share.config.ComponentReuseConfigManager; |
|
|
|
import com.fr.form.share.config.ComponentReuseConfigManager; |
|
|
|
|
|
|
|
import com.fr.form.share.exception.NetWorkFailedException; |
|
|
|
|
|
|
|
import com.fr.form.share.group.DefaultShareGroup; |
|
|
|
import com.fr.form.share.group.DefaultShareGroupManager; |
|
|
|
import com.fr.form.share.group.DefaultShareGroupManager; |
|
|
|
import com.fr.form.share.Group; |
|
|
|
|
|
|
|
import com.fr.form.share.record.ShareWidgetInfoManager; |
|
|
|
import com.fr.form.share.record.ShareWidgetInfoManager; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.HashSet; |
|
|
|
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.SwingWorker; |
|
|
|
import javax.swing.SwingWorker; |
|
|
@ -51,7 +49,9 @@ import java.awt.Image; |
|
|
|
import java.awt.Rectangle; |
|
|
|
import java.awt.Rectangle; |
|
|
|
import java.awt.event.ItemEvent; |
|
|
|
import java.awt.event.ItemEvent; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
import java.util.HashSet; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Set; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Stream; |
|
|
|
import java.util.stream.Stream; |
|
|
|
|
|
|
|
|
|
|
@ -65,8 +65,8 @@ public class ShareGeneratePane extends BasicPane { |
|
|
|
private static final Dimension DIALOG_SIZE = new Dimension(670, 760); |
|
|
|
private static final Dimension DIALOG_SIZE = new Dimension(670, 760); |
|
|
|
private static final Dimension DIALOG_NORMAL_SIZE = new Dimension(670, 610); |
|
|
|
private static final Dimension DIALOG_NORMAL_SIZE = new Dimension(670, 610); |
|
|
|
private static final Border DIALOG_BORDER = BorderFactory.createEmptyBorder(0, 6, 4, 6); |
|
|
|
private static final Border DIALOG_BORDER = BorderFactory.createEmptyBorder(0, 6, 4, 6); |
|
|
|
private static final double MAX_WIDTH = 500.0; |
|
|
|
private static final double MAX_WIDTH = 960.0; |
|
|
|
private static final double MAX_HEIGHT = 260.0; |
|
|
|
private static final double MAX_HEIGHT = 540.0; |
|
|
|
|
|
|
|
|
|
|
|
private JPanel mainPane = null; |
|
|
|
private JPanel mainPane = null; |
|
|
|
private ShareMainPane uploadPane = null; |
|
|
|
private ShareMainPane uploadPane = null; |
|
|
|