|
|
|
@ -3,8 +3,6 @@ package com.fr.design.fun.impl;
|
|
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
|
import com.fr.design.fun.JavaScriptActionProvider; |
|
|
|
|
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.stable.fun.impl.AbstractProvider; |
|
|
|
|
import com.fr.stable.fun.mark.API; |
|
|
|
@ -29,16 +27,10 @@ public abstract class AbstractJavaScriptActionProvider extends AbstractProvider
|
|
|
|
|
return getJavaScriptActionPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean accept(JTemplate template) { |
|
|
|
|
// 这里只是为了兼容原来的isSupportType方法
|
|
|
|
|
boolean result = isSupportType(); |
|
|
|
|
if (result) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 判断是否是支持的类型(cpt,frm),默认是 |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public boolean isSupportType(){ |
|
|
|
|
return true; |
|
|
|
|