Skip to content

Commit

Permalink
Merge pull request #850 from moosetechnology/747-Browsers-help-should…
Browse files Browse the repository at this point in the history
…-be-forced-to-give-some-information

Fix #747
  • Loading branch information
LABSARI authored May 26, 2023
2 parents b582d57 + 5879b3f commit 1454093
Show file tree
Hide file tree
Showing 26 changed files with 44 additions and 19 deletions.
3 changes: 2 additions & 1 deletion src/MooseIDE-ButterflyMap/MiButterflyMapBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"
I am a Butterfly map. I can show incoming and outgoing dependencies from a central entity. It allows to navigate through several level of dependencies.
I accept a moose entity that is the central entity.
Accepted entities: a moose entity that is the central entity.
By default entities at left are all clients of the central entity, right ones are providers of the central entity. You can change these rules and custom the semantics of your butterfly map by playing with its settings.
Controls:
Expand Down
3 changes: 2 additions & 1 deletion src/MooseIDE-CoUsageMap/MiCoUsageMapBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"
This browser shows dependencies between ""container entities"" (e.g. methods) and ""used entities"" (e.g. attributes) and it allows to mark entities with tags.
Use this browser with a moose collection entity.
Use settings to configure it.
In order to navigate across the visualization.
Accepted entities: a MooseGroup.
Controls:
* Mouse over to highlight common inner boxes
Expand Down
3 changes: 3 additions & 0 deletions src/MooseIDE-Core/MiBusLogBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"
Accepted entities: Does not apply.
"
Class {
#name : #MiBusLogBrowser,
#superclass : #MiAbstractBrowser,
Expand Down
3 changes: 3 additions & 0 deletions src/MooseIDE-Core/MiLogsBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"
Accepted entities: Does not apply.
"
Class {
#name : #MiLogsBrowser,
#superclass : #MiAbstractBrowser,
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-CriticBrowser/MiCriticBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
I am a MiBrowser used to create rules to apply on the entities of a model. If the entities return true when they are interrogated by the rules (represented through a boolean query), then a violation is created, linking the violating entity and the violated rule.
Allows to export and import the created rules.
- Follow: Accepts MooseObjects
- Accepted entities: a MooseObject
- Highlight: None
Expand Down
1 change: 1 addition & 0 deletions src/MooseIDE-Dependency/MiArchitecturalMapBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"
I am a browser that displays an architectural map.
Accepted entities: a MooseObject.
Controls:
Expand Down
1 change: 1 addition & 0 deletions src/MooseIDE-Dependency/MiDMBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"
I am a browser that displays a distribution map.
Accepted entities: any MooseEntity.
Controls:
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Dependency/MiDependencyBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows dependencies between entities (using #queryIncomingDependencies and #queryOutgoingDependencies).
- Follow: Accepts a MooseGroup.
- Accepted entities: a MooseGroup.
- Highlight: Entites if present.
- Propagate: The selected entity if there is one.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Dependency/MiTreeBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows the containment tree (direct relations for now) between the entities.
- Follow: Accepts a MooseEntity using TEntityMetaLevelDependency.
- Accepted entities: a MooseEntity using TEntityMetaLevelDependency.
- Highlight: Entities if present.
- Propagate: <TODO>
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Shows the containment (direct relations for now) between entities.
Dynamic presentation: clicking on an entity shows the entities it contains.
- Follow: Receives MooseObjects.
- Accepted entities: a MooseObject.
- Highlight: Entities if present.
- Propagate: <TODO>.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows the containment tree (direct relations for now) between entities, as a roassal visualization.
- Follow: Receives a MooseGroup.
- Accepted entities: a MooseGroup.
- Highlight: Entities if present.
- Propagate: The selected entity if there is one.
Expand Down
4 changes: 3 additions & 1 deletion src/MooseIDE-Duplication/MiDuplicationBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"
A MooseIDE browser to present code clones
A MooseIDE browser to present code clones.
Accepted entities: A collection of entities with a source anchor.
"
Class {
#name : #MiDuplicationBrowser,
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Export/MiExportBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Prepares the export of entities as CSV file.
Allows the addition of a comment for each entity.
- Follow: Accepts MooseObjects
- Accepted entities: a MooseObject
- Highlight: TODO
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Export/MiReportBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"
I am a moose notebook browser.
I accept any moose entity and get a moose model from it.
Accepted entities: any moose entity that knows its moose model.
There are two kind of cells:
- Microdown cells.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Famix/MiFilesBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Root folder explorer.
Allows to explore the root folder of a model (left panel) and shows the entities contained in each file (right panel).
- Follow: Receives a MooseModel that has a root folder
- Accepted entities: a MooseModel that has a root folder
- Highlight: <TODO>
Entities if present and visible.
Could highlight the file owning a received entity.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Famix/MiSourceTextBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows the source text of an entity if it has one.
- Follow: Receives a MooseEntity that uses FamixTSourceEntity.
- Accepted entities: a MooseEntity that uses FamixTSourceEntity.
- Highlight: Nothing to do.
- Propagate: <TODO>
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Famix/MiUMLBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows UML of the received entities.
- Follow: Receives a TypeGroup or entities using TType.
- Accepted entities: a TypeGroup or entities using TType.
- Highlight: Entities if present
- Propagate: The selected entity if there is one.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Meta/MiFameBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
** Expert user **
Shows the metadescription of a MooseObject.
- Follow: Recevies a MooseObject.
- Accepted entities: a MooseObject.
- Highlight: Nothing to do.
- Propagate: <TODO>
"
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Meta/MiModelRootBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
** Moose IDE entrypoint **
Shows installed models and allows model installation.
- Follow: Nothing to do.
- Accepted entities: Does not apply.
- Highlight: <TODO> Could highlight the model containing the received entity.
- Propagate: The selected model.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Meta/MiMooseModelBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows entities in a MooseModel grouped by entity type.
- Follow: Receives a MooseModel.
- Accepted entities: a MooseModel.
- Highlight: <TODO>
- Propagate: Selected entities if there are some.
<TODO> Improvement: not a collection but a mooseGroup.
Expand Down
2 changes: 1 addition & 1 deletion src/MooseIDE-Meta/MiPropertyBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"
Shows properties of a MooseObject.
- Follow: Receives MooseObjects
- Accepted entities: any MooseObject
- Highlight: Nothing to do.
- Propagate: The MooseObject it shows.
"
Expand Down
2 changes: 2 additions & 0 deletions src/MooseIDE-NewTools/MiInspectorBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"
I am a custom MooseIDE inspector. I have as a sub-presenter an instance of `MiInspectorPresenter` which is at the same time a subclass of `StInspector`. I am just like Pharo's inspector just that I am connected to the `MiApplication` bus.
I have implemented the methods: `followAction` and `miSelectedItem` in order to listen and propagate entries to the bus.
Accepted entities: a MooseEntity
"
Class {
#name : #MiInspectorBrowser,
Expand Down
2 changes: 2 additions & 0 deletions src/MooseIDE-QueriesBrowser/MiQueriesBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"
I am a MooseIDE browser that allows to create custom queries that applies to a MooseModel. I have a `Mi
queryBuilderPresenter` instance variable that contains a list with all the queries that you want to apply to the Moose model.
Accepted entities: a MooseGroup with some named entities.
"
Class {
#name : #MiQueriesBrowser,
Expand Down
4 changes: 3 additions & 1 deletion src/MooseIDE-Tagging/MiTagBrowser.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
"
A tool to manage tags
Allows to create new tag, give them name, put them in a hierarchy of tags, give them a color, and of course add or remove entities carrying a tag
Allows to create new tag, give them name, put them in a hierarchy of tags, give them a color, and of course add or remove entities carrying a tag.
Accepted entities: a MooseObject.
"
Class {
Expand Down
7 changes: 7 additions & 0 deletions src/MooseIDE-Tests/MiAbstractBrowserTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,13 @@ MiAbstractBrowserTest >> testFollowOtherBus [
self assert: browser busButton label equals: '2 buses'
]

{ #category : #tests }
MiAbstractBrowserTest >> testHelpHasSomeInformation [

self assert:
(browser class comment includesSubstring: 'Accepted entities:')
]

{ #category : #'tests - actions' }
MiAbstractBrowserTest >> testHighlightEntity [

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"
I am a browser showing a System Complexity visualization on classes.
I accept a MooseGroup.
Accepted entities: a MooseGroup.
Controls:
Expand Down

0 comments on commit 1454093

Please sign in to comment.