|
|
@ -14,7 +14,11 @@ import com.fr.design.mainframe.App; |
|
|
|
import com.fr.design.mainframe.DesignerFrame; |
|
|
|
import com.fr.design.mainframe.DesignerFrame; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.js.*; |
|
|
|
import com.fr.js.EmailJavaScript; |
|
|
|
|
|
|
|
import com.fr.js.JavaScriptImpl; |
|
|
|
|
|
|
|
import com.fr.js.ParameterJavaScript; |
|
|
|
|
|
|
|
import com.fr.js.ReportletHyperlink; |
|
|
|
|
|
|
|
import com.fr.js.WebHyperlink; |
|
|
|
import com.fr.module.TopModule; |
|
|
|
import com.fr.module.TopModule; |
|
|
|
import com.fr.stable.bridge.StableFactory; |
|
|
|
import com.fr.stable.bridge.StableFactory; |
|
|
|
import com.fr.stable.plugin.ExtraDesignClassManagerProvider; |
|
|
|
import com.fr.stable.plugin.ExtraDesignClassManagerProvider; |
|
|
@ -33,6 +37,7 @@ import java.util.Set; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public abstract class DesignModule extends TopModule { |
|
|
|
public abstract class DesignModule extends TopModule { |
|
|
|
public static final String LOCALE_FILE_PATH = "com/fr/design/locale/designer"; |
|
|
|
public static final String LOCALE_FILE_PATH = "com/fr/design/locale/designer"; |
|
|
|
|
|
|
|
|
|
|
|
public void start() { |
|
|
|
public void start() { |
|
|
|
super.start(); |
|
|
|
super.start(); |
|
|
|
App<?>[] apps = apps4TemplateOpener(); |
|
|
|
App<?>[] apps = apps4TemplateOpener(); |
|
|
@ -59,6 +64,7 @@ public abstract class DesignModule extends TopModule { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 国际化文件路径 |
|
|
|
* 国际化文件路径 |
|
|
|
|
|
|
|
* |
|
|
|
* @return 国际化文件路径 |
|
|
|
* @return 国际化文件路径 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public String[] getLocaleFile() { |
|
|
|
public String[] getLocaleFile() { |
|
|
@ -85,11 +91,11 @@ public abstract class DesignModule extends TopModule { |
|
|
|
|
|
|
|
|
|
|
|
public NameableCreator[] hyperlinkTypes() { |
|
|
|
public NameableCreator[] hyperlinkTypes() { |
|
|
|
return new NameableCreator[]{ |
|
|
|
return new NameableCreator[]{ |
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Hyperlink_Reportlet"), ReportletHyperlink.class, ReportletHyperlinkPane.CHART_NO_RENAME.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Hyperlink_Reportlet"), ReportletHyperlink.class, ReportletHyperlinkPane.chartNoRename.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Email"), EmailJavaScript.class, EmailPane.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Email"), EmailJavaScript.class, EmailPane.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("Hyperlink-Web_link"), WebHyperlink.class, WebHyperlinkPane.CHART_NO_RENAME.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("Hyperlink-Web_link"), WebHyperlink.class, WebHyperlinkPane.chartNoRename.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("JavaScript-Dynamic_Parameters"), ParameterJavaScript.class, ParameterJavaScriptPane.CHART_NO_RENAME.class), |
|
|
|
new NameObjectCreator(Inter.getLocText("JavaScript-Dynamic_Parameters"), ParameterJavaScript.class, ParameterJavaScriptPane.chartNoRename.class), |
|
|
|
new NameObjectCreator("JavaScript", JavaScriptImpl.class, JavaScriptImplPane.CHART_NO_RENAME.class) |
|
|
|
new NameObjectCreator("FR-Designer_JavaScript", JavaScriptImpl.class, JavaScriptImplPane.chartNoRename.class) |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|