I have made the following minor changes to improve the TaskFrame class
and related classes:

- Changed the WorkbenchFrame.getInternalFramesAssociatedWith(TaskFrame
argTaskFrame) method access from private to public.
- Changed the WorkbenchFrame.getTaskFramesAssociatedWith(LayerManager
argLayerManager) method access from private to public.
- Modified the WorkbenchFrame.getTaskFramesAssociatedWith(LayerManager
argLayerManager) to use Java Generics.
- Eliminated private constructor in TaskFrame class.
- Modified try/catch statement in constructor of TaskFrame class to
use WorkbenchFrame.handleThrowable method.
- Eliminated the TaskFrame.setTask method.
- Removed the depracated cloneIndex mechanism and completed its
replacement with storage of the cloneIndex in the LayerManager
Blackboard.
- Added a isAClone private boolean member variable.
- Added the public.TaskFrame.isAClone method.
- Added the private TaskFrame.setIsAClone method.
- Modified the TaskFrame.internalFrameClone method to set the isAClone
boolean member variable.
- Modified the updateTitle method to distinguish between TaskFrames
that are clones and not clones when updating the title of a TaskFrame.
- Added the private TaskFrame.createAndSetTaskFrameListener method to
properly add a TaskFrameListener to a TaskFrame when it is
constructed.
- Added the private getCurrentNumberOfClones method to access the
blackboard for the current number of TaskFrame clones. The TaskFrame
class only contained a method to get the NEXT clone number previously.
(This new method is used in the TaskFrame.updateTitle metjhod.)

Please let me know if you have any questions about these changes.

The Sunburned Surveyor

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to