|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.fr.design.javascript; |
|
|
|
package com.fr.design.javascript; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.email.EmailCenter; |
|
|
|
import com.fr.config.EmailServerConfig; |
|
|
|
import com.fr.config.EmailServerConfig; |
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
@ -51,7 +52,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> { |
|
|
|
initCenterPane(mainTextLabel, scrollPane, fill, preferred); |
|
|
|
initCenterPane(mainTextLabel, scrollPane, fill, preferred); |
|
|
|
this.add(centerPane, BorderLayout.CENTER); |
|
|
|
this.add(centerPane, BorderLayout.CENTER); |
|
|
|
mainTextEditor.setAutoscrolls(true); |
|
|
|
mainTextEditor.setAutoscrolls(true); |
|
|
|
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid()); |
|
|
|
checkEmailConfig(EmailCenter.isEmailConfigValid()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -113,7 +114,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> { |
|
|
|
if (showTplContent != null) { |
|
|
|
if (showTplContent != null) { |
|
|
|
showTplContent.setSelected(ob ==null ? false: ob.isShowTplContent()); |
|
|
|
showTplContent.setSelected(ob ==null ? false: ob.isShowTplContent()); |
|
|
|
} |
|
|
|
} |
|
|
|
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid()); |
|
|
|
checkEmailConfig(EmailCenter.isEmailConfigValid()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|