|
|
|
@ -7,9 +7,9 @@ import com.fr.design.dialog.DialogActionAdapter;
|
|
|
|
|
import com.fr.design.fun.JavaScriptActionProvider; |
|
|
|
|
import com.fr.design.gui.frpane.UIComboBoxPane; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.write.submit.DBManipulationPane; |
|
|
|
|
import com.fr.form.ui.WebContentUtils; |
|
|
|
|
|
|
|
|
|
import com.fr.js.JavaScript; |
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
@ -46,7 +46,7 @@ public abstract class JavaScriptActionPane extends UIComboBoxPane<JavaScript> {
|
|
|
|
|
Set<JavaScriptActionProvider> javaScriptActionProviders = ExtraDesignClassManager.getInstance().getArray(JavaScriptActionProvider.XML_TAG); |
|
|
|
|
if (javaScriptActionProviders != null) { |
|
|
|
|
for (JavaScriptActionProvider jsp : javaScriptActionProviders) { |
|
|
|
|
if(jsp.accept(DesignerContext.getDesignerFrame().getSelectedJTemplate())){ |
|
|
|
|
if(jsp.isSupportType()){ |
|
|
|
|
paneList.add(jsp.getJavaScriptActionPane(this)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|