|
|
|
@ -19,6 +19,7 @@ import com.fr.log.FineLoggerFactory;
|
|
|
|
|
import com.fr.plugin.solution.sandbox.collection.PluginSandboxCollections; |
|
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
import org.jetbrains.annotations.Nullable; |
|
|
|
|
|
|
|
|
|
import java.lang.reflect.Constructor; |
|
|
|
|
import java.awt.Dialog; |
|
|
|
@ -129,8 +130,21 @@ public class DesignModuleFactory {
|
|
|
|
|
instance.ITReplaceAction = r; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static Class getITReplaceAction() { |
|
|
|
|
return instance.ITReplaceAction; |
|
|
|
|
/** |
|
|
|
|
* 获取查找替换 |
|
|
|
|
* |
|
|
|
|
* @return ITReplaceAction |
|
|
|
|
*/ |
|
|
|
|
@Nullable |
|
|
|
|
public static Object getITReplaceAction() { |
|
|
|
|
try { |
|
|
|
|
if (instance.ITReplaceAction != null) { |
|
|
|
|
return instance.ITReplaceAction.newInstance(); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|