Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Unable to set viewpoint to existing project
Unable to set viewpoint to existing project [message #1385430] Fri, 06 June 2014 11:43 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Hi,

I've had this problem before but now it starts to annoy me.

At irregular moments, my visualisation gets corrupted and sometimes I want to start from a clean sheet.

In that case, I remove the modeling nature from the project that contains the model to be visualized. After that, I delete the corresponding .aird file. Then I restart eclipse, add the modeling nature again and try to select a new viewpoint.

Sometimes now viewpoints are available and I don't know how to get them back.

Any reasons why and when the list of available viewpoints becomes empty?

Greetings,
Wilbert.
Re: Unable to set viewpoint to existing project [message #1385432 is a reply to message #1385430] Fri, 06 June 2014 12:02 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 06/06/2014 13:43, Wilbert Alberts a écrit :
> Hi,
Hi

>
> I've had this problem before but now it starts to annoy me.
>
> At irregular moments, my visualisation gets corrupted and sometimes I
> want to start from a clean sheet.

Have you identified the scenario which seems to corrupt your data ?

>
> In that case, I remove the modeling nature from the project that
> contains the model to be visualized. After that, I delete the
> corresponding .aird file. Then I restart eclipse, add the modeling
> nature again and try to select a new viewpoint.
>
> Sometimes now viewpoints are available and I don't know how to get them
> back.
>
> Any reasons why and when the list of available viewpoints becomes empty?

It could happen if there are no detected semantic resources and so no
Viewpoint available. When you get this empty list, are the semantic
models of your project loaded ? (in the model explorer, you should be
able to expand them).

The next time this occurs, could you remove the modeling nature, right
clic your semantic resource and select new representation file ? It is
an other mode in which there is no modeling project but the aird
centralized the informations: actions to manipulate Viewpoints and
representations, semantic resources displayed as children, ...
It might allow to surround the problem which seems to be located around
the semantic resource detection during the convertion to the modeling
project.
If in the mode, you have your Viewpoints, save and retry the conversion
(do not delete the aird), then check the Viewpoint selection and that
all the semantic resources of your project are well loaded.

Which Sirius version do you use ?

From which perspective do you re-add the modeling nature ?



>
> Greetings,
> Wilbert.
>
Regards,

Maxime


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Unable to set viewpoint to existing project [message #1385443 is a reply to message #1385432] Fri, 06 June 2014 13:01 Go to previous messageGo to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Hi Maxime,

Somehow things got working again. But I'll keep your email handy in case it breaks again. Then I'll surely get back to you.

Thanks.

Regards,
Wilbert.
Re: Unable to set viewpoint to existing project [message #1386099 is a reply to message #1385443] Fri, 13 June 2014 12:16 Go to previous messageGo to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Hi Maxime,

I encountered the same problem. So I:
- removed the modeling project
- created a new representation file
- used that one to visualize.

That seemed to work. Am I right that this way of working does not require the project to have the modeling nature? Or do I still need to add the modeling nature? After a restart, it seemed that (without the project having the modeling nature), the aird files couldn't be expanded until I double clicked them.

But it is very well possible that my lack of knowledge results in some unexpected behavior (from me; not from the tool).

Thanks in anyway.

Greetings,
Wilbert.


Re: Unable to set viewpoint to existing project [message #1386129 is a reply to message #1386099] Fri, 13 June 2014 13:47 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 13/06/2014 14:16, Wilbert Alberts a écrit :
> Hi Maxime,

Hi Wilbert,
>
> I encountered the same problem. So I:
> - removed the modeling project
> - created a new representation file
> - used that one to visualize.
> That seemed to work. Am I right that this way of working does not
> require the project to have the modeling nature? Or do I still need to
> add the modeling nature? After a restart, it seemed that (without the
> project having the modeling nature), the aird files couldn't be expanded
> until I double clicked them.
> But it is very well possible that my lack of knowledge results in some
> unexpected behavior (from me; not from the tool).
>

A project with the Modeling Project nature can contain one aird in a
basic way. Sirius will use the project lifecylce to manage the aird and
the semantic resources. The handled/loaded models have a decorator (the
blue M of the modeling project) and the user can directly expand them to
see their content from their corresponding IFile in the Modeling
Explorer. The external loaded files/models are displayed as children of
the project dependencies item.

In a more complex way (with the use of the control/uncontrol for
example), the user will create several sub aird files. But there is only
one "main" aird.

Without the Modeling Project nature, a project can contain several
"main" aird, Sirius use only the aird to manage/display the handled
resources: the handled files have the same decorator decorator (the blue
M of the modeling project) but the user cannot expand the files, he has
to manipulate the loaded semantic resource from the corresponding items
displayed as children of the aird file.


> Thanks in anyway.
>
> Greetings,
> Wilbert.
>
>
>

Regards,

Maxime


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Figure size controls
Next Topic:Broken representation file
Goto Forum:
  


Current Time: Fri Apr 19 21:38:47 GMT 2024

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

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

Back to the top