HEADS-project / training

Training material to get started with the HEADS technologies
10 stars 16 forks source link

Port names not visible in "editor.kevoree.org" GUI #48

Closed sdalgard closed 9 years ago

sdalgard commented 9 years ago

When pulling a model from JavaNode generated from ThingML the GUI shows the components and its ports. capture

Problem: All ports have the same name JavaP. This makes it hard to do connections to a specific port. When pulling model from "sintefboard" I get specific names, it should there be a difference...

The names are available in the kev-script. capture2

Suggestion: Add the names to the GUI as a "tooltip"

sdalgard commented 9 years ago

It seems to be the first 5 characters thas displayed. Maybe a naming convention with significant info first can imporove the situation.

maxleiko commented 9 years ago

Yes, I've just added an issue to the editor. I will do something fast.

brice-morin commented 9 years ago

Yes, the name generated by ThingML are a bit long, but we have to do it in the general case to avoid possible name clashing (hence the ports have some sort of unique qualified name). Of course I could reverse this qualified name, but that would not be that conventional for a qualified name...

maxleiko commented 9 years ago

I've commited a new patch for the editor that gives the full port name if you let your mouse over the port name.

Note: just wait until the CI publish the new editor

maxleiko commented 9 years ago

@sdalgard @brice-morin It's ok now (might just a need a cache refresh from your browser, but it's online)