Ticket #681 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Fix old code that gets Datasets from Displays

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jul-18 to Jul-29
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 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

Done with numerous commits between ea0b23c1991a4073b072dd10e743452c79ce37ee and 0ae073a0a56f2c8e26805dcf95c7ad7dbf57bb8d.

Note: See TracTickets for help on using tickets.