Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

PropertyGrid analyses the objects set to SelectedObjects and makes the following adjustments:

  • Show empty property value if the values of the different objects are different (See blue boxes in image)
  • Remove all properties that are not found in all selected objects (see column 2 and 3 in image)
  • It removes the Name property if more than 1 object is selected. This is probably an addition from Visual Studio.

In Visual Studio an extra combo box is added that shows all objects on the form (see green boxes). A user can also select a control via this combo box (as opposed to clicking on the form). This is almost the desired behaviour that we want in DelftShell but instead of indivual objects we want categories of objects. When editing a schematisation the collection of all individual objects is probably too large.

...

figure 2 - Some sample views from the multi object property editor in DelftShell and a RR schematisation. Note that this model only has object of type string or UrbanNode.

To Do/ Discussion

  • Add option to add indivual objects to the combobox like visual studio.
  • Remove the Id property if more than 1 object is selected.
  • The functionality of the original PropertyGrid class in Delft Shell (keyboard support) has not yet been copied to FilteredPropertyGrid.
  • Add a icon/symbol for each type of object in the combobox to enable the user to respond/select more quickly.

Notes:

  • This is not a replacement for the Multiple Data Editor found in Sobek. This editor uses a table to show multiple objects. This editor allows individual editing of object and multi-editing by selecting ranges in the grid. Some objects are subdivided for to keep it comprehensible (e.g. Flow - Cross Section is split in Cross Section, Friction and Initial Values) This functionality - if needed - can possibly be best implemented by using (custom generated) DataTables bound to a DataGrid.