@ -1,8 +1,11 @@
package com.fr.design.widgettheme.processor ;
package com.fr.design.widgettheme.processor ;
import com.fr.design.widgettheme.common.SelectEditorSettingPane ;
import com.fr.widgettheme.util.WidgetThemeDesignerUtils ;
import com.fr.design.beans.BasicBeanPane ;
import com.fr.design.beans.BasicBeanPane ;
import com.fr.design.widgettheme.common.ButtonSettingPane ;
import com.fr.design.widgettheme.common.EditorSettingPane ;
import com.fr.design.widgettheme.common.NormalButtonSettingPane ;
import com.fr.design.widgettheme.common.SelectEditorSettingPane ;
import com.fr.design.widgettheme.common.TreeEditorSettingPane ;
import com.fr.form.parameter.FormSubmitButton ;
import com.fr.form.parameter.FormSubmitButton ;
import com.fr.form.ui.Button ;
import com.fr.form.ui.Button ;
import com.fr.form.ui.CheckBox ;
import com.fr.form.ui.CheckBox ;
@ -21,10 +24,7 @@ import com.fr.form.ui.TreeEditor;
import com.fr.report.web.button.form.TreeNodeToggleButton ;
import com.fr.report.web.button.form.TreeNodeToggleButton ;
import com.fr.report.web.button.write.AppendRowButton ;
import com.fr.report.web.button.write.AppendRowButton ;
import com.fr.report.web.button.write.DeleteRowButton ;
import com.fr.report.web.button.write.DeleteRowButton ;
import com.fr.design.widgettheme.common.ButtonSettingPane ;
import com.fr.widgettheme.util.WidgetThemeDesignerUtils ;
import com.fr.design.widgettheme.common.EditorSettingPane ;
import com.fr.design.widgettheme.common.NormalButtonSettingPane ;
import com.fr.design.widgettheme.common.TreeEditorSettingPane ;
import com.fr.widgettheme.utils.WidgetThemeServerUtils ;
import com.fr.widgettheme.utils.WidgetThemeServerUtils ;
import java.util.Arrays ;
import java.util.Arrays ;
@ -97,7 +97,7 @@ public class WidgetThemeCreatorPaneAdder {
}
}
private static < T > void acceptEditor ( Class < ? > creator , List < BasicBeanPane < T > > extraPaneList ) {
private static < T > void acceptEditor ( Class < ? > creator , List < BasicBeanPane < T > > extraPaneList ) {
boolean accept = WidgetThemeServerUtils . isNewComboBoxTreeEditor ( creator ) | | EDITOR_SET . contains ( creator ) ;
boolean accept = EDITOR_SET . contains ( creator ) ;
if ( accept ) {
if ( accept ) {
insertShortCut ( extraPaneList , new EditorSettingPane < > ( ) ) ;
insertShortCut ( extraPaneList , new EditorSettingPane < > ( ) ) ;
}
}
@ -126,7 +126,7 @@ public class WidgetThemeCreatorPaneAdder {
}
}
private static < T > void acceptSelect ( Class < ? > creator , List < BasicBeanPane < T > > extraPaneList ) {
private static < T > void acceptSelect ( Class < ? > creator , List < BasicBeanPane < T > > extraPaneList ) {
boolean accept = SELECT_SET . contains ( creator ) ;
boolean accept = WidgetThemeServerUtils . isNewComboBoxTreeEditor ( creator ) | | SELECT_SET . contains ( creator ) ;
if ( accept ) {
if ( accept ) {
insertShortCut ( extraPaneList , new SelectEditorSettingPane < > ( ) ) ;
insertShortCut ( extraPaneList , new SelectEditorSettingPane < > ( ) ) ;
}
}