|
|
@ -3,8 +3,6 @@ package com.fr.design.fun.impl; |
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
import com.fr.design.fun.JavaScriptActionProvider; |
|
|
|
import com.fr.design.fun.JavaScriptActionProvider; |
|
|
|
import com.fr.design.javascript.JavaScriptActionPane; |
|
|
|
import com.fr.design.javascript.JavaScriptActionPane; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
|
|
|
import com.fr.js.JavaScript; |
|
|
|
import com.fr.js.JavaScript; |
|
|
|
import com.fr.stable.fun.impl.AbstractProvider; |
|
|
|
import com.fr.stable.fun.impl.AbstractProvider; |
|
|
|
import com.fr.stable.fun.mark.API; |
|
|
|
import com.fr.stable.fun.mark.API; |
|
|
@ -28,17 +26,11 @@ public abstract class AbstractJavaScriptActionProvider extends AbstractProvider |
|
|
|
public FurtherBasicBeanPane<? extends JavaScript> getJavaScriptActionPane(JavaScriptActionPane pane) { |
|
|
|
public FurtherBasicBeanPane<? extends JavaScript> getJavaScriptActionPane(JavaScriptActionPane pane) { |
|
|
|
return getJavaScriptActionPane(); |
|
|
|
return getJavaScriptActionPane(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
/** |
|
|
|
public boolean accept(JTemplate template) { |
|
|
|
* 判断是否是支持的类型(cpt,frm),默认是 |
|
|
|
// 这里只是为了兼容原来的isSupportType方法
|
|
|
|
* @return |
|
|
|
boolean result = isSupportType(); |
|
|
|
*/ |
|
|
|
if (result) { |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean isSupportType(){ |
|
|
|
public boolean isSupportType(){ |
|
|
|
return true; |
|
|
|
return true; |
|
|
|