Book a Demo

Author Topic: Navigation Cell Behaviour  (Read 3921 times)

namealreadytaken

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Navigation Cell Behaviour
« on: May 02, 2019, 01:39:30 am »
Greetings,

Using v.14, I am developing a Navigation page using the Navigation Cell option. Click a project name to display the project information diagram. The user is forced to perform another action to display the project location within the browser.

Is there a way to code the Navigation Cell object to perform its default action & display the projection location?

Linking the package as an element onto the diagram works, but the user interface tends to be cluttered & visually unappealing.

Thanks for your response.

peterc

  • Guest
Re: Navigation Cell Behaviour
« Reply #1 on: May 02, 2019, 05:30:15 pm »
This is totally undocumented so could fail at any time, but one way that I have found to do this sort of thing is:
  • Create a Hyperlink from the Common toolbox
  • Double click on the hyperlink and select the object that you wish to open (in your case open a Package)
  • Change the stereotype on the Hyperlink element to NavigationCell (note all one word)
  • Close the project and re-open (yes really - the visual effect is only applied when the project is re-opened after the above steps)
  • The hyperlink is now a blank Navigation cell - you can change the size, background colour etc. but it doesn't have an image as the ones do if you drag a diagram and create a navigation cell as intended by Sparx
I originally used this to create a link to a matrix but I have tried and it works for a package as well. Perhaps one day this will be officially supported in some way, such as a toolbox element.

namealreadytaken

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Navigation Cell Behaviour
« Reply #2 on: May 02, 2019, 10:23:06 pm »
Thanks peterc,

That works,