There is no need for BlankBlocks at the root level of a tree. Remove the ability to add BlankBlocks from the root. It's okay to leave them on subblocks though.
I'm working on doing this now. The trouble is the current behavior seems
like it might be useful for the default TreeCompositeViewer and Alex's EMF
stuff, so I'm going to use a different, weakened action for the
MOOSETreeCompositeViewer.
On Sep 22, 2014 12:01 PM, "Anna Wojtowicz" awoj@users.sf.net wrote:
Yes, I will take care of that, although the add child button in the MOOSE
TreeViewer has the option "add to root" which should be disabled.
Status: open Milestone: 2.0 Created: Thu Sep 18, 2014 03:40 PM UTC by Anna Wojtowicz Last Updated: Mon Sep 22, 2014 03:58 PM UTC Owner: Jordan Deyton
There is no need for BlankBlocks at the root level of a tree. Remove the
ability to add BlankBlocks from the root. It's okay to leave them on
subblocks though.
I've changed the default AddNodeTreeAction to not have the option to add to the root node. This affects the MOOSETreeCompositeViewer and effectively prevents the addition of root-level nodes from the child exemplars (which currently is just a BlankBlock).
However, the default TreeCompositeViewer still has the ability to add child exemplars to the root node.
Closing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should this be changed by not having
BlankBlockexemplars under the rootTreeComposite?Yes, I will take care of that, although the add child button in the MOOSE TreeViewer has the option "add to root" which should be disabled.
I'm working on doing this now. The trouble is the current behavior seems
like it might be useful for the default TreeCompositeViewer and Alex's EMF
stuff, so I'm going to use a different, weakened action for the
MOOSETreeCompositeViewer.
On Sep 22, 2014 12:01 PM, "Anna Wojtowicz" awoj@users.sf.net wrote:
Related
MOOSE Bugs:
#4I've changed the default
AddNodeTreeActionto not have the option to add to the root node. This affects theMOOSETreeCompositeViewerand effectively prevents the addition of root-level nodes from the child exemplars (which currently is just aBlankBlock).However, the default
TreeCompositeViewerstill has the ability to add child exemplars to the root node.Closing.