Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Set ViewPoint and Stakeholder using Oomph
Set ViewPoint and Stakeholder using Oomph [message #1732809] Fri, 20 May 2016 11:28 Go to next message
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 195
Registered: January 2013
Location: Sweden
Senior Member
Hi,

How do i set a specific viewpoint and stakeholder defined in a custom Viewpoint configuration using oomph product setup, i.e so that it is set correctly form the start?

Regards
Patrik
Re: Set ViewPoint and Stakeholder using Oomph [message #1732815 is a reply to message #1732809] Fri, 20 May 2016 11:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Patrik,

Perhaps Christian will be able to answer, being familiar with Oomph and
Papyrus...

I wonder though, how do you currently do it manually. That way I can
perhaps understand how those manual steps might best be automated. If
these things are stored as workspace preferences, you could record the
preference changes in your product/project setup; there's a toolbar
button for bringing up the preferences dialog in those mode when you
have a setup editor open...


On 20.05.2016 13:28, Patrik Nandorf wrote:
> Hi,
>
> How do i set a specific viewpoint and stakeholder defined in a custom
> Viewpoint configuration using oomph product setup, i.e so that it is
> set correctly form the start?
>
> Regards
> Patrik


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Set ViewPoint and Stakeholder using Oomph [message #1732838 is a reply to message #1732809] Fri, 20 May 2016 08:27 Go to previous messageGo to next message
Peter Cigehn is currently offline Peter CigehnFriend
Messages: 49
Registered: September 2014
Member
Patrik Nandorf wrote on Fri, 20 May 2016 11:28

How do i set a specific viewpoint and stakeholder defined in a custom Viewpoint configuration using oomph product setup, i.e so that it is set correctly form the start?


Please take a look at the product setup file referenced from the installation guide for Papyrus-RT. In that product setup file you should have an example of how to set these using some preference tasks.

/Peter Cigéhn
Re: Set ViewPoint and Stakeholder using Oomph [message #1732844 is a reply to message #1732838] Fri, 20 May 2016 17:55 Go to previous messageGo to next message
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 195
Registered: January 2013
Location: Sweden
Senior Member
I suppose you're refering to https://www.eclipse.org/papyrus-rt/content/setup/papyrus-rt-developer.setup but I fail to find the setting so if someone can point to it I'd appreciate it.

Peter Cigehn wrote on Fri, 20 May 2016 10:27
Patrik Nandorf wrote on Fri, 20 May 2016 11:28

How do i set a specific viewpoint and stakeholder defined in a custom Viewpoint configuration using oomph product setup, i.e so that it is set correctly form the start?


Please take a look at the product setup file referenced from the installation guide for Papyrus-RT. In that product setup file you should have an example of how to set these using some preference tasks.

/Peter Cigéhn

Re: Set ViewPoint and Stakeholder using Oomph [message #1732850 is a reply to message #1732844] Fri, 20 May 2016 20:58 Go to previous message
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 195
Registered: January 2013
Location: Sweden
Senior Member
Patrik Nandorf wrote on Fri, 20 May 2016 19:55
I suppose you're refering to https://www.eclipse.org/papyrus-rt/content/setup/papyrus-rt-developer.setup but I fail to find the setting so if someone can point to it I'd appreciate it.


Ok, looking at this setup instead I found it.

  <setupTask
      xsi:type="setup:PreferenceTask"
      key="/instance/org.eclipse.papyrus.infra.viewpoints.policy/papyrusViewpointsConfigurationType"
      value="extension">
    <description></description>
  </setupTask>
  <setupTask
      xsi:type="setup:PreferenceTask"
      key="/instance/org.eclipse.papyrus.infra.viewpoints.policy/papyrusViewpointsSelectedViewpoint"
      value="UMLRT Viewpoint"/>
  <setupTask
      xsi:type="setup:PreferenceTask"
      key="/instance/org.eclipse.papyrus.infra.viewpoints.policy/papyrusViewpointsSelectedStakeholder"
      value="UML-RT Modeler"/>
Previous Topic:org.eclipse.papyrus.infra.newchild.editor
Next Topic:How to define the type of an operation
Goto Forum:
  


Current Time: Fri Apr 19 14:05:18 GMT 2024

Powered by FUDForum. Page generated in 0.02021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top