|
|
@ -27,6 +27,7 @@ import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import com.fr.design.gui.controlpane.NameableCreator; |
|
|
|
import com.fr.design.gui.controlpane.NameableCreator; |
|
|
|
import com.fr.design.hyperlink.ReportletHyperlinkPane; |
|
|
|
import com.fr.design.hyperlink.ReportletHyperlinkPane; |
|
|
|
import com.fr.design.hyperlink.WebHyperlinkPane; |
|
|
|
import com.fr.design.hyperlink.WebHyperlinkPane; |
|
|
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.javascript.EmailPane; |
|
|
|
import com.fr.design.javascript.EmailPane; |
|
|
|
import com.fr.design.javascript.JavaScriptImplPane; |
|
|
|
import com.fr.design.javascript.JavaScriptImplPane; |
|
|
|
import com.fr.design.javascript.ParameterJavaScriptPane; |
|
|
|
import com.fr.design.javascript.ParameterJavaScriptPane; |
|
|
@ -58,7 +59,6 @@ import com.fr.design.parameter.WorkBookParameterReader; |
|
|
|
import com.fr.design.widget.ui.btn.FormSubmitButtonDetailPane; |
|
|
|
import com.fr.design.widget.ui.btn.FormSubmitButtonDetailPane; |
|
|
|
import com.fr.form.stable.ElementCaseThumbnailProcessor; |
|
|
|
import com.fr.form.stable.ElementCaseThumbnailProcessor; |
|
|
|
import com.fr.form.ui.WidgetInfoConfig; |
|
|
|
import com.fr.form.ui.WidgetInfoConfig; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.general.xml.GeneralXMLTools; |
|
|
|
import com.fr.general.xml.GeneralXMLTools; |
|
|
|
import com.fr.js.EmailJavaScript; |
|
|
|
import com.fr.js.EmailJavaScript; |
|
|
@ -67,10 +67,11 @@ import com.fr.js.ParameterJavaScript; |
|
|
|
import com.fr.js.ReportletHyperlink; |
|
|
|
import com.fr.js.ReportletHyperlink; |
|
|
|
import com.fr.js.WebHyperlink; |
|
|
|
import com.fr.js.WebHyperlink; |
|
|
|
import com.fr.locale.InterMutableKey; |
|
|
|
import com.fr.locale.InterMutableKey; |
|
|
|
|
|
|
|
import com.fr.locale.LocaleMarker; |
|
|
|
|
|
|
|
import com.fr.locale.LocaleScope; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.LogHandler; |
|
|
|
import com.fr.log.LogHandler; |
|
|
|
import com.fr.module.Activator; |
|
|
|
import com.fr.module.Activator; |
|
|
|
import com.fr.module.extension.Prepare; |
|
|
|
|
|
|
|
import com.fr.quickeditor.cellquick.CellBiasTextPainterEditor; |
|
|
|
import com.fr.quickeditor.cellquick.CellBiasTextPainterEditor; |
|
|
|
import com.fr.quickeditor.cellquick.CellDSColumnEditor; |
|
|
|
import com.fr.quickeditor.cellquick.CellDSColumnEditor; |
|
|
|
import com.fr.quickeditor.cellquick.CellFormulaQuickEditor; |
|
|
|
import com.fr.quickeditor.cellquick.CellFormulaQuickEditor; |
|
|
@ -114,12 +115,18 @@ import static com.fr.stable.module.Module.ENGINE_MODULE; |
|
|
|
* 触发原来的DesignerModule的启动 |
|
|
|
* 触发原来的DesignerModule的启动 |
|
|
|
* 之后慢慢将DesignerModule拆成Activator |
|
|
|
* 之后慢慢将DesignerModule拆成Activator |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class DesignerActivator extends Activator implements Prepare { |
|
|
|
public class DesignerActivator extends Activator { |
|
|
|
|
|
|
|
|
|
|
|
private LogHandler<DesignerLogAppender> logHandler = null; |
|
|
|
private LogHandler<DesignerLogAppender> logHandler = null; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void start() { |
|
|
|
public void start() { |
|
|
|
|
|
|
|
List<LocaleMarker> markers = rightCollectMutable(InterMutableKey.Path); |
|
|
|
|
|
|
|
for (LocaleMarker marker : markers) { |
|
|
|
|
|
|
|
if (marker.match(LocaleScope.DESIGN)) { |
|
|
|
|
|
|
|
Toolkit.addResource(marker.getPath()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
designerModuleStart(); |
|
|
|
designerModuleStart(); |
|
|
|
preLoadPane(); |
|
|
|
preLoadPane(); |
|
|
|
loadLogAppender(); |
|
|
|
loadLogAppender(); |
|
|
@ -403,10 +410,4 @@ public class DesignerActivator extends Activator implements Prepare { |
|
|
|
unloadLogAppender(); |
|
|
|
unloadLogAppender(); |
|
|
|
DesignerSocketIO.close(); |
|
|
|
DesignerSocketIO.close(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void prepare() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addMutable(InterMutableKey.Path, "com/fr/design/i18n/main", "com/fr/design/i18n/chart"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |