|
|
|
@ -5,7 +5,6 @@ import com.fr.base.Formula;
|
|
|
|
|
import com.fr.base.MultiFieldParameter; |
|
|
|
|
import com.fr.base.process.ProcessOperator; |
|
|
|
|
import com.fr.chart.chartattr.ChartCollection; |
|
|
|
|
import com.fr.concurrent.NamedThreadFactory; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.actions.NewFormAction; |
|
|
|
|
import com.fr.design.actions.core.ActionFactory; |
|
|
|
@ -22,7 +21,6 @@ import com.fr.design.actions.insert.flot.FormulaFloatAction;
|
|
|
|
|
import com.fr.design.actions.insert.flot.ImageFloatAction; |
|
|
|
|
import com.fr.design.actions.insert.flot.TextBoxFloatAction; |
|
|
|
|
import com.fr.design.bridge.DesignToolbarProvider; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
|
import com.fr.design.form.parameter.FormParaDesigner; |
|
|
|
|
import com.fr.design.fun.ElementUIProvider; |
|
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
@ -35,9 +33,6 @@ import com.fr.design.javascript.JavaScriptImplPane;
|
|
|
|
|
import com.fr.design.javascript.ParameterJavaScriptPane; |
|
|
|
|
import com.fr.design.javascript.ProcessTransitionAdapter; |
|
|
|
|
import com.fr.design.mainframe.BaseJForm; |
|
|
|
|
import com.fr.design.mainframe.CellElementPropertyPane; |
|
|
|
|
import com.fr.design.mainframe.DesignerFrameFileDealerPane; |
|
|
|
|
import com.fr.design.mainframe.EastRegionContainerPane; |
|
|
|
|
import com.fr.design.mainframe.ElementCaseThumbnail; |
|
|
|
|
import com.fr.design.mainframe.FormHierarchyTreePane; |
|
|
|
|
import com.fr.design.mainframe.InformationCollector; |
|
|
|
@ -51,7 +46,6 @@ import com.fr.design.mainframe.form.FormECDesignerProvider;
|
|
|
|
|
import com.fr.design.mainframe.form.FormElementCaseDesigner; |
|
|
|
|
import com.fr.design.mainframe.form.FormReportComponentComposite; |
|
|
|
|
import com.fr.design.mainframe.loghandler.DesignerLogAppender; |
|
|
|
|
import com.fr.design.mainframe.loghandler.LogMessageBar; |
|
|
|
|
import com.fr.design.mainframe.socketio.DesignerSocketIO; |
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
|
import com.fr.design.parameter.FormParameterReader; |
|
|
|
@ -59,7 +53,6 @@ import com.fr.design.parameter.ParameterPropertyPane;
|
|
|
|
|
import com.fr.design.parameter.WorkBookParameterReader; |
|
|
|
|
import com.fr.design.widget.ui.btn.FormSubmitButtonDetailPane; |
|
|
|
|
import com.fr.form.stable.ElementCaseThumbnailProcessor; |
|
|
|
|
import com.fr.form.ui.WidgetInfoConfig; |
|
|
|
|
import com.fr.general.xml.GeneralXMLTools; |
|
|
|
|
import com.fr.js.EmailJavaScript; |
|
|
|
|
import com.fr.js.JavaScriptImpl; |
|
|
|
@ -105,8 +98,6 @@ import java.awt.image.BufferedImage;
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Set; |
|
|
|
|
import java.util.concurrent.ExecutorService; |
|
|
|
|
import java.util.concurrent.Executors; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by juhaoyu on 2018/1/31. |
|
|
|
@ -126,7 +117,6 @@ public class DesignerActivator extends Activator {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
designerModuleStart(); |
|
|
|
|
preLoadPane(); |
|
|
|
|
loadLogAppender(); |
|
|
|
|
DesignerSocketIO.update(); |
|
|
|
|
UserInfoPane.getInstance().updateBBSUserInfo(); |
|
|
|
@ -169,49 +159,6 @@ public class DesignerActivator extends Activator {
|
|
|
|
|
InformationCollector.getInstance().collectStartTime(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void preLoadPane() { |
|
|
|
|
ExecutorService service = Executors.newCachedThreadPool(new NamedThreadFactory("PreLoadPane")); |
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
LogMessageBar.getInstance(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
HistoryTemplateListPane.getInstance(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
WidgetInfoConfig.getInstance(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
CellElementPropertyPane.getInstance(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
DesignerFrameFileDealerPane.getInstance();//这边会涉及到TemplateTreePane
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
service.submit(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
EastRegionContainerPane.getInstance(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
service.shutdown(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static Class<?>[] actionsForInsertCellElement() { |
|
|
|
|
List<Class<?>> classes = new ArrayList<>(); |
|
|
|
|
Set<ElementUIProvider> providers = ExtraDesignClassManager.getInstance().getArray(ElementUIProvider.MARK_STRING); |
|
|
|
|