Browse Source

REPORT-75998 修改格式

feature/x
Destiny.Lin 2 years ago
parent
commit
c504308490
  1. 13
      designer-base/src/main/java/com/fr/design/module/DesignModuleFactory.java

13
designer-base/src/main/java/com/fr/design/module/DesignModuleFactory.java

@ -70,7 +70,7 @@ public class DesignModuleFactory {
@NotNull @NotNull
public static NameableCreator[] getCreators4Hyperlink() { public static NameableCreator[] getCreators4Hyperlink() {
return instance.creators4Hyperlink == null? new NameableCreator[0]:instance.creators4Hyperlink; return instance.creators4Hyperlink == null ? new NameableCreator[0] : instance.creators4Hyperlink;
} }
public static void registerExtraWidgetOptions(WidgetOption[] options) { public static void registerExtraWidgetOptions(WidgetOption[] options) {
@ -117,10 +117,17 @@ public class DesignModuleFactory {
public static Class getNewFormAction() { public static Class getNewFormAction() {
return instance.newFormAction; return instance.newFormAction;
} }
public static void registerReplaceActionClass(Class r){
/**
* 注册一下查找替换
*
* @param r
*/
public static void registerReplaceActionClass(Class r) {
instance.ITReplaceAction = r; instance.ITReplaceAction = r;
} }
public static Class getITReplaceAction(){
public static Class getITReplaceAction() {
return instance.ITReplaceAction; return instance.ITReplaceAction;
} }

Loading…
Cancel
Save