|
|
|
@ -41,6 +41,7 @@ import com.fr.main.parameter.TemplateParameterAttr;
|
|
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
|
import com.fr.stable.bridge.StableFactory; |
|
|
|
|
import com.fr.stable.core.PropertyChangeAdapter; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
import javax.swing.JCheckBoxMenuItem; |
|
|
|
|
import javax.swing.JComponent; |
|
|
|
@ -236,7 +237,7 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
|
|
|
|
|
* |
|
|
|
|
* @param workBook |
|
|
|
|
*/ |
|
|
|
|
public void populate(final JWorkBook workBook) { |
|
|
|
|
public void populate(@NotNull final JWorkBook workBook) { |
|
|
|
|
isEditing = false; |
|
|
|
|
this.workBook = workBook; |
|
|
|
|
ReportParameterAttr reportParameterAttr = workBook.getTarget().getReportParameterAttr(); |
|
|
|
@ -425,9 +426,7 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
|
|
|
|
|
if (propertyChangeListener != null) { |
|
|
|
|
propertyChangeListener.propertyChange(); |
|
|
|
|
} |
|
|
|
|
if (workBook != null) { |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -448,9 +447,7 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
|
|
|
|
|
if (propertyChangeListener != null) { |
|
|
|
|
propertyChangeListener.propertyChange(); |
|
|
|
|
} |
|
|
|
|
if (workBook != null) { |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -473,9 +470,7 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
|
|
|
|
|
if (propertyChangeListener != null) { |
|
|
|
|
propertyChangeListener.propertyChange(); |
|
|
|
|
} |
|
|
|
|
if (workBook != null) { |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
workBook.setAutoHeightForCenterPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|