Commit e93921fd authored by John Bonn's avatar John Bonn
Browse files

Updated RemoveImagesWorkorder to new workorder design.

Updated SensorGetInfoWorkOrder and ViewControlNet3DWorkOrder to new design
Updated OpenRecentProjectWorkOrder to new design
Updated OpenRecentProjectWorkOrder to new design with additional comment
Updated mosaic scene workorders.
Updated workorders to new workorder design.
Fixed usages of invalid Doxygen @description tag to @brief -m4762

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce_FY17-Sprint1@7558 41f8697f-d340-4b68-9986-7bafba869bb8
parent 61893054
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -568,7 +568,7 @@ namespace Isis {


  /**
   * @description This method returns the Oblique Detector Resolution
   * @brief This method returns the Oblique Detector Resolution
   * if the Look Vector intersects the target and if the emission angle is greater than or equal
   * to 0, and less than 90 degrees.   Otherwise, it returns -1.0.  This formula provides an
   * improved estimate to the detector resolution for images near the limb:
+2 −0
Original line number Diff line number Diff line
@@ -177,6 +177,7 @@ namespace Isis {

  /**
   * @brief Set lat/lon and attempt to calculate x/y values
   *
   * This method is used to set the latitude/longitude (assumed to be of the
   * correct LatitudeType, LongitudeDirection, and LongitudeDomain). The Set
   * forces an attempted calculation of the projection X/Y values. This may or
@@ -286,6 +287,7 @@ namespace Isis {

  /**
   * @brief Find x/y range from lat/lon range
   *
   * This method is used to determine the x/y range which completely covers the
   * area of interest specified by the lat/lon range. The latitude/longitude
   * range may be obtained from the labels. The purpose of this method is to
+2 −2
Original line number Diff line number Diff line
@@ -86,14 +86,14 @@ namespace Isis {
  }


  void CnetEditorViewWorkOrder::syncRedo() {
  void CnetEditorViewWorkOrder::execute() {
    for (int i = 0; i < controlList()->size(); i++) {
      //project()->directory()->addCnetEditorView(controlList().first());
      project()->directory()->addCnetEditorView(controlList()->at(i));
    }
  }

  void CnetEditorViewWorkOrder::syncUndo() {
  void CnetEditorViewWorkOrder::undoExecution() {
    delete project()->directory()->cnetEditorViews().last();
  }
}
+5 −3
Original line number Diff line number Diff line
@@ -26,12 +26,14 @@

namespace Isis {
  /**
   * This work order allows the user to open a cnet editor (table) view of a single control network.
   * @brief This work order allows the user to open a cnet editor (table) view of a single control network.
   * This workorder is synchronous and undoable.
   *
   * @author 2012-09-19 Steven Lambright
   *
   * @internal 
   *   @history 2016-06-23 Tyler Wilson - Replaced QList<Control *> with ControlList *.
   *   @history 2017-04-16 J Bonn - Updated to new workorder design #4764.
   */
  class CnetEditorViewWorkOrder : public WorkOrder {
      Q_OBJECT
@@ -47,8 +49,8 @@ namespace Isis {

    protected:
      bool dependsOn(WorkOrder *other) const;
      void syncRedo();
      void syncUndo();
      void execute();
      void undoExecution();

    private:
      CnetEditorViewWorkOrder &operator=(const CnetEditorViewWorkOrder &rhs);
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ namespace Isis {
   * @author 2012-09-26 Tracie Sucharski
   *
   * @internal
   *   @history 2017-04-16 J Bonn - Updated to new workorder design #4764.
   */
  class ExportImagesWorkOrder : public WorkOrder {
      Q_OBJECT
Loading