|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.parameter; |
|
|
|
|
|
|
|
|
|
import com.fr.base.Parameter; |
|
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
|
import com.fr.design.designer.creator.XWParameterLayout; |
|
|
|
@ -124,7 +125,8 @@ public class ParameterPropertyPane extends JPanel{
|
|
|
|
|
hideInJForm = jt instanceof JForm && |
|
|
|
|
!(creator instanceof XWParameterLayout || creator.getParent() instanceof XWParameterLayout); |
|
|
|
|
} catch (NullPointerException ex) { |
|
|
|
|
hideInJForm = toolbarPane.updateBean().length <= 0; |
|
|
|
|
Parameter[] parameters = toolbarPane.updateBean(); |
|
|
|
|
hideInJForm = parameters == null || parameters.length <= 0; |
|
|
|
|
} |
|
|
|
|
if (isVisible && toolbarPane.hasSelectedLabelItem() && !hideInJForm) { |
|
|
|
|
addParaPane.setVisible(true); |
|
|
|
|