(updated on oct. 13, 2021)
bottom list is currently sorted by "kind of entities" and is "read-only"
- we want also a hierarchical tree of entities:
> package1
> class11
> class12
method121
method122
> package2
(note: with workspace browser, this part could be detached from the QueryBrowser to become a simple EntityListPresenter ...)
(Santi's stuff) It allows to group several tools in one window.
It is a MiBrowser, so it listens and writes on bus(es)
It has an "internal bus" that it's children browsers listen and write
The workspace make the bridge between external bus(es) and its internal bus:
- takes incoming entities on external bus and send them on internal bus,
- takes entities on internal bus to propagate them on external bus(es).
- propagation on internal bus is automatic,
- propagation to external bus(es) is on demand
A tool to define properties. A property has:
- a name
- a boolean query to decide if an entity has this property or not
- a color (optional?)
Note: Property is a kind of "virtual tag", or a tag computed on the fly but not stored in the model
The query will be taken from the Query Browser, for example: Property: name="someName", color=red, query=Q1
So we need a mechanism to share queries between different tools. This tool can ask the QueryBrowser, what are the queries available and allow to select one of the query to create a property from it
Possibility to define tags from properties
Displays incoming entities in a hierarchicalView https://github.com/ObjectProfile/HierarchicalVisualizations
Has a list of properties (taken from PropertyBrowser)
For each displayed entity, if it matches one property query, will give the color of the property to the entity.
If an entity match several queries, 2 options:
- give a specific color (black, gray, red)
- choose the first one
We want a distribution map browser
Probably based on the prototype in https://github.com/NicolasAnquetil/HierarchicalVisualizations, not on the telescope one
Will work somehow like the Hierarchical Map with properties for the properties, but the Distribution map wants exaclty 2 levels of entities: Containers and members So we need to force this:
- entities coming from the bus should be of that form => user responsible for selectyng the right entities with the proper query
- entities coming from the bu are the containers and the tool accept one query that will produce members for each of these incoming container
A tool to record some favorites "things" that the user like:
- launching a browser
- running a favorite query and automatically propagate the result on the bus(es) locations)
- running a Property ???
Recreate the system complexity browser (3 metrics displayed with width, height, and color) Entites are displayed in a tree
Possibly accept colored properties (with only 2 metrics with width and height)
Starting at a given level, containement is not shown as a tree, but as a HierarchicalVisualization
When a tool wants to send an entity on a bus, it should ask this entity what bus to use. Their will be buses specialiazed for all types of entities (including a generic bus "specialized" for MooseEntity)
And when a tool is expecting entities of a special type, it should ask the class of this entity what bus can carry it and then ask the application for available buses of this type.
We will still be able to have several buses for the same type (see issue: (https://github.com/moosetechnology/MooseIDE/issues/320)[https://github.com/moosetechnology/MooseIDE/issues/320]
We could have at least 3 kind of buses:
- push bus: when data is written on the bus, it immediately transmits it to all tools attached to it
- delayed bus: when data is written on the bus, it stores it and only transmits when there is an explicit "flush" from the producer (allow to work with the "Propagate" button of the tools)
- pull buses, bus stores data and does not transmit it unless explicitly asked by a receiver tool
The last 2 are a bit similar: one is a flush from the producer to all consumers the other is a flush from the consumer only to itself.
This will allow to have:
- an internal bus for MooseWorkspace that transmit data immediately to all tools in the workspace (push internal bus) ;
- bus for separate tools that tranmit only on request (delayed bus + Propagate button) ; and
- a bus for some specific cases where we want to share data on demand:
- to share queries (not their result, but the query itself),
- share the properties defined in Property Browser
- for santi to share is configurations