Changeset 9645
- Timestamp:
- 2005-04-12T11:20:28+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Plugin.java
r9302 r9645 67 67 //DebugStream.println("Rebuilding existing argument: " + argument.getName()); 68 68 known_arguments.put(argument.getName(), argument); 69 if ( argument.isAssigned() ||base_plugin == null) {70 // if the arg is assigned, the current plugin now becomes its owner, and we add it to the front of the ArrayList of args. But otherwise, it will retain its old owner, and we will add it in the correct place from the base plugin69 if (base_plugin == null) { 70 // otherwise they will all be added in the next step 71 71 argument.setOwner(name); 72 72 add(argument); … … 97 97 existing_argument.setMinimum(base_argument.getMinimum()); 98 98 existing_argument.setMaximum(base_argument.getMaximum()); 99 if (!existing_argument.isAssigned()) { 100 // here we give it back its original owner and add it to the list. If it is assigned, these two things were done already 101 existing_argument.setOwner(base_argument.getOwner()); 102 add(existing_argument); 103 } 99 existing_argument.setOwner(base_argument.getOwner()); 100 add(existing_argument); 104 101 105 102 }
Note:
See TracChangeset
for help on using the changeset viewer.