Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ice-build] [eclipse/ice] 075caa: Fixed a bug with the ICEFormEditor. Previously, it...

  Branch: refs/heads/master
  Home:   https://github.com/eclipse/ice
  Commit: 075caaa7bee66c151e9be2215e4efb50e5134bac
      https://github.com/eclipse/ice/commit/075caaa7bee66c151e9be2215e4efb50e5134bac
  Author: Jordan Deyton <deytonjh@xxxxxxxx>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

  Changed paths:
    M src/org.eclipse.ice.client.widgets.moose/src/org/eclipse/ice/client/widgets/moose/MOOSEFormEditor.java
    M src/org.eclipse.ice.client.widgets/src/org/eclipse/ice/client/widgets/ICEFormEditor.java

  Log Message:
  -----------
  Fixed a bug with the ICEFormEditor. Previously, it would pass the first
available TreeComposite [it got from the Form] to the
TreeCompositeViewer.

With recent changes to the MOOSEModel, there were more than one
TreeComposite, and the incorrect one was being passed to the Tree
Viewer.

To resolve this, I added a new method to ICEFormEditor that provides the
ID of the desired TreeComposite (usually retrieved from a model).
MOOSEFormEditor overrides this method to look for the correct MOOSE data
tree. The ICEFormEditor finds the corresponding TreeComposite, or the
first available TreeComposite if the desired one cannot be found, and
sends it to the TreeCompositeViewer.

Signed-off-by: Jordan Deyton <deytonjh@xxxxxxxx>



Back to the top