forked from fanruan/design
loy
4 years ago
46 changed files with 109 additions and 105 deletions
@ -1,12 +1,11 @@ |
|||||||
package com.fr.plugin.designer.cptx.io; |
package com.fr.nx.app.designer.cptx.io; |
||||||
|
|
||||||
import com.fr.common.annotations.Negative; |
import com.fr.common.annotations.Negative; |
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
|
import com.fr.nx.app.designer.utils.DesignerCptxFileUtils; |
||||||
import com.fr.nx.cptx.io.handle.impl.AbstractCptxIOProvider; |
import com.fr.nx.cptx.io.handle.impl.AbstractCptxIOProvider; |
||||||
import com.fr.nx.cptx.pack.util.CompiledReportInputStream; |
import com.fr.nx.cptx.pack.util.CompiledReportInputStream; |
||||||
import com.fr.nx.cptx.pack.util.CompiledReportOutputStream; |
import com.fr.nx.cptx.pack.util.CompiledReportOutputStream; |
||||||
import com.fr.nx.cptx.utils.CptxFileUtils; |
|
||||||
import com.fr.plugin.designer.utils.DesignerCptxFileUtils; |
|
||||||
|
|
||||||
import java.io.IOException; |
import java.io.IOException; |
||||||
import java.io.InputStream; |
import java.io.InputStream; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.toolbar; |
package com.fr.nx.app.designer.toolbar; |
||||||
|
|
||||||
import com.fr.design.file.TemplateTreePane; |
import com.fr.design.file.TemplateTreePane; |
||||||
import com.fr.design.mainframe.DesignerContext; |
import com.fr.design.mainframe.DesignerContext; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.toolbar; |
package com.fr.nx.app.designer.toolbar; |
||||||
|
|
||||||
import com.fr.locale.InterProviderFactory; |
import com.fr.locale.InterProviderFactory; |
||||||
import com.fr.stable.StringUtils; |
import com.fr.stable.StringUtils; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
/** |
/** |
||||||
* Created by kerry on 2019-12-10 |
* Created by kerry on 2019-12-10 |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
import com.fr.file.filetree.FileNode; |
import com.fr.file.filetree.FileNode; |
||||||
|
|
@ -1,10 +1,10 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
import com.fr.design.utils.concurrent.ThreadFactoryBuilder; |
import com.fr.design.utils.concurrent.ThreadFactoryBuilder; |
||||||
import com.fr.file.filetree.FileNode; |
import com.fr.file.filetree.FileNode; |
||||||
import com.fr.plugin.context.PluginContexts; |
import com.fr.plugin.context.PluginContexts; |
||||||
import com.fr.plugin.designer.toolbar.TransformResultInfo; |
import com.fr.nx.app.designer.toolbar.TransformResultInfo; |
||||||
import com.fr.plugin.designer.utils.CompileTransformUtil; |
import com.fr.nx.app.designer.utils.CompileTransformUtil; |
||||||
|
|
||||||
import java.util.List; |
import java.util.List; |
||||||
import java.util.Map; |
import java.util.Map; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
/** |
/** |
||||||
* Created by kerry on 2019-12-10 |
* Created by kerry on 2019-12-10 |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform.ui; |
package com.fr.nx.app.designer.transform.ui; |
||||||
|
|
||||||
import com.fr.design.gui.ibutton.UIButton; |
import com.fr.design.gui.ibutton.UIButton; |
||||||
import com.fr.design.layout.FRGUIPaneFactory; |
import com.fr.design.layout.FRGUIPaneFactory; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform.ui; |
package com.fr.nx.app.designer.transform.ui; |
||||||
|
|
||||||
import com.fr.design.gui.ilable.UILabel; |
import com.fr.design.gui.ilable.UILabel; |
||||||
import com.fr.design.layout.FRGUIPaneFactory; |
import com.fr.design.layout.FRGUIPaneFactory; |
@ -1,10 +1,10 @@ |
|||||||
package com.fr.plugin.designer.transform.ui; |
package com.fr.nx.app.designer.transform.ui; |
||||||
|
|
||||||
import com.fr.design.gui.ibutton.UIButton; |
import com.fr.design.gui.ibutton.UIButton; |
||||||
import com.fr.design.layout.FRGUIPaneFactory; |
import com.fr.design.layout.FRGUIPaneFactory; |
||||||
import com.fr.design.utils.gui.GUICoreUtils; |
import com.fr.design.utils.gui.GUICoreUtils; |
||||||
import com.fr.locale.InterProviderFactory; |
import com.fr.locale.InterProviderFactory; |
||||||
import com.fr.plugin.designer.transform.BatchTransformer; |
import com.fr.nx.app.designer.transform.BatchTransformer; |
||||||
|
|
||||||
import javax.swing.JDialog; |
import javax.swing.JDialog; |
||||||
import javax.swing.JPanel; |
import javax.swing.JPanel; |
@ -1,11 +1,11 @@ |
|||||||
package com.fr.plugin.designer.utils; |
package com.fr.nx.app.designer.utils; |
||||||
|
|
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
import com.fr.general.CommonIOUtils; |
import com.fr.general.CommonIOUtils; |
||||||
import com.fr.log.FineLoggerFactory; |
import com.fr.log.FineLoggerFactory; |
||||||
import com.fr.main.impl.WorkBook; |
import com.fr.main.impl.WorkBook; |
||||||
import com.fr.marshal.impl.xml.DefaultXMLObjectUnmarshaler; |
import com.fr.nx.marshal.impl.xml.DefaultXMLObjectUnmarshaler; |
||||||
import com.fr.marshal.util.MarshalUtil; |
import com.fr.nx.marshal.util.MarshalUtil; |
||||||
import com.fr.nx.cptx.entry.metadata.CptxMetadata; |
import com.fr.nx.cptx.entry.metadata.CptxMetadata; |
||||||
import com.fr.nx.cptx.io.handle.impl.OriginCptProvider; |
import com.fr.nx.cptx.io.handle.impl.OriginCptProvider; |
||||||
import com.fr.nx.cptx.marshal.util.CptxMarshalUtil; |
import com.fr.nx.cptx.marshal.util.CptxMarshalUtil; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.toolbar; |
package com.fr.nx.app.designer.toolbar; |
||||||
|
|
||||||
import com.fr.locale.InterProviderFactory; |
import com.fr.locale.InterProviderFactory; |
||||||
import org.junit.Assert; |
import org.junit.Assert; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
import org.junit.Assert; |
import org.junit.Assert; |
||||||
import org.junit.Test; |
import org.junit.Test; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
import com.fr.file.filetree.FileNode; |
import com.fr.file.filetree.FileNode; |
||||||
import org.junit.Assert; |
import org.junit.Assert; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.transform; |
package com.fr.nx.app.designer.transform; |
||||||
|
|
||||||
import org.junit.Before; |
import org.junit.Before; |
||||||
import org.junit.Test; |
import org.junit.Test; |
@ -1,11 +1,11 @@ |
|||||||
package com.fr.plugin.designer.utils; |
package com.fr.nx.app.designer.utils; |
||||||
|
|
||||||
import com.fr.base.FRContext; |
import com.fr.base.FRContext; |
||||||
import com.fr.base.operator.common.CommonOperator; |
import com.fr.base.operator.common.CommonOperator; |
||||||
import com.fr.design.mainframe.JTemplate; |
import com.fr.design.mainframe.JTemplate; |
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
import com.fr.file.filetree.FileNodes; |
import com.fr.file.filetree.FileNodes; |
||||||
import com.fr.plugin.designer.toolbar.TemplateTransformer; |
import com.fr.nx.app.designer.toolbar.TemplateTransformer; |
||||||
import org.easymock.EasyMock; |
import org.easymock.EasyMock; |
||||||
import org.junit.Assert; |
import org.junit.Assert; |
||||||
import org.junit.Test; |
import org.junit.Test; |
@ -1,11 +1,11 @@ |
|||||||
package com.fr.plugin.designer; |
package com.fr.nx.app.designer; |
||||||
|
|
||||||
import com.fr.base.extension.FileExtension; |
import com.fr.base.extension.FileExtension; |
||||||
import com.fr.design.mainframe.AbstractAppProvider; |
import com.fr.design.mainframe.AbstractAppProvider; |
||||||
import com.fr.design.mainframe.JTemplate; |
import com.fr.design.mainframe.JTemplate; |
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
import com.fr.main.impl.WorkBook; |
import com.fr.main.impl.WorkBook; |
||||||
import com.fr.plugin.designer.utils.DesignerCptxFileUtils; |
import com.fr.nx.app.designer.utils.DesignerCptxFileUtils; |
||||||
|
|
||||||
/** |
/** |
||||||
* 支持设计器打开cptx文件 |
* 支持设计器打开cptx文件 |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer; |
package com.fr.nx.app.designer; |
||||||
|
|
||||||
import com.fr.base.Parameter; |
import com.fr.base.Parameter; |
||||||
import com.fr.base.extension.FileExtension; |
import com.fr.base.extension.FileExtension; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.cell; |
package com.fr.nx.app.designer.cell; |
||||||
|
|
||||||
import com.fr.design.beans.BasicBeanPane; |
import com.fr.design.beans.BasicBeanPane; |
||||||
import com.fr.design.event.UIObserverListener; |
import com.fr.design.event.UIObserverListener; |
@ -1,10 +1,10 @@ |
|||||||
package com.fr.plugin.designer.cell; |
package com.fr.nx.app.designer.cell; |
||||||
|
|
||||||
import com.fr.design.beans.BasicBeanPane; |
import com.fr.design.beans.BasicBeanPane; |
||||||
import com.fr.design.file.HistoryTemplateListCache; |
import com.fr.design.file.HistoryTemplateListCache; |
||||||
import com.fr.design.fun.impl.AbstractCellExpandAttrPanelProvider; |
import com.fr.design.fun.impl.AbstractCellExpandAttrPanelProvider; |
||||||
import com.fr.design.mainframe.JTemplate; |
import com.fr.design.mainframe.JTemplate; |
||||||
import com.fr.plugin.designer.JStreamBook; |
import com.fr.nx.app.designer.JStreamBook; |
||||||
import com.fr.report.cell.TemplateCellElement; |
import com.fr.report.cell.TemplateCellElement; |
||||||
|
|
||||||
/** |
/** |
@ -1,12 +1,12 @@ |
|||||||
package com.fr.plugin.designer.menu; |
package com.fr.nx.app.designer.menu; |
||||||
|
|
||||||
import com.fr.design.beans.BasicBeanPane; |
import com.fr.design.beans.BasicBeanPane; |
||||||
import com.fr.design.gui.icheckbox.UICheckBox; |
import com.fr.design.gui.icheckbox.UICheckBox; |
||||||
import com.fr.design.layout.FRGUIPaneFactory; |
import com.fr.design.layout.FRGUIPaneFactory; |
||||||
import com.fr.design.layout.TableLayoutHelper; |
import com.fr.design.layout.TableLayoutHelper; |
||||||
import com.fr.locale.InterProviderFactory; |
import com.fr.locale.InterProviderFactory; |
||||||
|
import com.fr.nx.app.designer.menu.bean.FeatureFlagBean; |
||||||
import com.fr.nx.feature.FeatureFlag; |
import com.fr.nx.feature.FeatureFlag; |
||||||
import com.fr.plugin.designer.menu.bean.FeatureFlagBean; |
|
||||||
import com.fr.stable.collections.combination.Pair; |
import com.fr.stable.collections.combination.Pair; |
||||||
|
|
||||||
import javax.swing.BorderFactory; |
import javax.swing.BorderFactory; |
@ -1,4 +1,4 @@ |
|||||||
package com.fr.plugin.designer.menu.bean; |
package com.fr.nx.app.designer.menu.bean; |
||||||
|
|
||||||
import com.fr.nx.feature.FeatureFlag; |
import com.fr.nx.feature.FeatureFlag; |
||||||
import com.fr.nx.feature.FeatureManager; |
import com.fr.nx.feature.FeatureManager; |
@ -1,10 +1,10 @@ |
|||||||
package com.fr.plugin.designer; |
package com.fr.nx.app.designer; |
||||||
|
|
||||||
import com.fr.file.AbstractFILE; |
import com.fr.file.AbstractFILE; |
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
import com.fr.main.impl.WorkBook; |
import com.fr.main.impl.WorkBook; |
||||||
|
import com.fr.nx.app.designer.utils.DesignerCptxFileUtils; |
||||||
import com.fr.nx.cptx.utils.CptxFileUtils; |
import com.fr.nx.cptx.utils.CptxFileUtils; |
||||||
import com.fr.plugin.designer.utils.DesignerCptxFileUtils; |
|
||||||
import org.easymock.EasyMock; |
import org.easymock.EasyMock; |
||||||
import org.junit.Assert; |
import org.junit.Assert; |
||||||
import org.junit.FixMethodOrder; |
import org.junit.FixMethodOrder; |
@ -1,10 +1,10 @@ |
|||||||
package com.fr.plugin.designer; |
package com.fr.nx.app.designer; |
||||||
|
|
||||||
import com.fr.file.FILE; |
import com.fr.file.FILE; |
||||||
import com.fr.main.impl.WorkBook; |
import com.fr.main.impl.WorkBook; |
||||||
import com.fr.plugin.designer.toolbar.TemplateTransformer; |
import com.fr.nx.app.designer.toolbar.TemplateTransformer; |
||||||
import com.fr.plugin.designer.toolbar.TransformResult; |
import com.fr.nx.app.designer.toolbar.TransformResult; |
||||||
import com.fr.plugin.designer.toolbar.TransformResultInfo; |
import com.fr.nx.app.designer.toolbar.TransformResultInfo; |
||||||
import org.easymock.EasyMock; |
import org.easymock.EasyMock; |
||||||
import org.easymock.IAnswer; |
import org.easymock.IAnswer; |
||||||
import org.junit.Assert; |
import org.junit.Assert; |
Loading…
Reference in new issue