Ticket #681 (closed defect: fixed)
Opened 2011-07-25T11:11:05-05:00
Last modified 2011-07-26T12:00:33-05:00
Fix old code that gets Datasets from Displays
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
There are places in the code that do things like this:
dataset = (Dataset) display.getActiveView().getDataObject();
But the display service has a method for getting the active dataset from a Display. Replace the old hacky ways of doing this with references to the DisplayService's method.
Change History
comment:1 Changed 2011-07-26T12:00:33-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to fixed
Done with numerous commits between ea0b23c1991a4073b072dd10e743452c79ce37ee and 0ae073a0a56f2c8e26805dcf95c7ad7dbf57bb8d.