reworking function system to be more flexible with parameters and more in line with the command system. New Function interface created and doc'd
filled out and doc'd methods for Argument and ArgumentListener
tested generic new function generic system and appears to work as intended
Working on DataArgument abstract class to simplify making arguments that take data. Implementing DataArgsComponent to allow the argument to request multiple data objects.
in the process of implementing DataArgsComponent to allow for multiple data objects to be selected for one argument
created DataSelectionPanel to hold the DataComboBox and a close button that is enabled when the data selction is optional
DataComboBox now sorts Data alphabetically. DataComboBox will also display null data as empty string.
DataArgsComponent fully implemented. Needs to be tested
Created abstract class FileArgument for selecting files as function parameters
created SpinnerArgument abstract class for parameters using a JSpinner
created DoubleArgument and IntArgument as extensions of the SpinnerArgument class
created StringArgument for editing String parameters using a JTextField.
Updated function gui plugin to new function system. Now need to update test, chiptools, and genome plugins and then test
updating test plugin to new function system. Made Argument generic type be <? super P> and removed return value from process method in order to allow using arguments that take a superclass of the parameter class used by the function
test plugin updated to new Function system. fixed bugs in SpinnerArgument that caused the initial value not to be displayed. Also made DoubleArgument and IntArgument clamp the value between min and max
commiting delete of changed files. changed border on separator panel in function menu
trying to figure out bug in DataSelectionPanel where validity is not updating correctly. Need to make additionaly DataSelectionPanels added to the DataArgsComponent when the last DataSelectionPanel has a value set.
fixed bug with updating validity in DataArgsPanel. Improved layout of Argument components in the function dialogue window. DataArgument now correctly adds and removes Data selction panels.
Argument component is now disabled when optional and unchecked. Tooltip now displays in ArgumentPanel. SpinnerArguments are now editable by typing
added prototype text for minimum size of StringArgument component and SpinnerArgument component. Added insets around Argument component in ArgumentPanel