|
|
@ -10,15 +10,14 @@ import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.widgettheme.processor.WidgetThemeCreatorPaneAdder; |
|
|
|
|
|
|
|
import com.fr.form.ui.CheckBox; |
|
|
|
import com.fr.form.ui.CheckBox; |
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
import com.fr.plugin.observer.PluginEvent; |
|
|
|
import com.fr.plugin.observer.PluginEvent; |
|
|
|
import com.fr.plugin.observer.PluginEventListener; |
|
|
|
import com.fr.plugin.observer.PluginEventListener; |
|
|
|
import com.fr.stable.collections.CollectionUtils; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import java.awt.*; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import java.awt.Component; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Set; |
|
|
|
import java.util.Set; |
|
|
@ -61,8 +60,7 @@ public class CheckBoxDefinePane extends AbstractDataModify<CheckBox> { |
|
|
|
|
|
|
|
|
|
|
|
protected void refreshExtraAdvancedPane() { |
|
|
|
protected void refreshExtraAdvancedPane() { |
|
|
|
extraPaneList.clear(); |
|
|
|
extraPaneList.clear(); |
|
|
|
WidgetThemeCreatorPaneAdder.add(CheckBox.class, extraPaneList); |
|
|
|
boolean containsExtraPane = false; |
|
|
|
boolean containsExtraPane = !CollectionUtils.isEmpty(extraPaneList); |
|
|
|
|
|
|
|
Set<WidgetAdvancedPaneProvider<CheckBox>> providers = ExtraDesignClassManager.getInstance().getArray(WidgetAdvancedPaneProvider.XML_TAG); |
|
|
|
Set<WidgetAdvancedPaneProvider<CheckBox>> providers = ExtraDesignClassManager.getInstance().getArray(WidgetAdvancedPaneProvider.XML_TAG); |
|
|
|
for (WidgetAdvancedPaneProvider<CheckBox> provider : providers) { |
|
|
|
for (WidgetAdvancedPaneProvider<CheckBox> provider : providers) { |
|
|
|
if (!provider.accept(CheckBox.class)) { |
|
|
|
if (!provider.accept(CheckBox.class)) { |
|
|
|