Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » Removing a link (specrelation)?
Removing a link (specrelation)? [message #1696946] Fri, 29 May 2015 16:07 Go to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Can I remove a specrelation (link) and, if so, how can I do this. When I try to delete, I end up removing the entire row (specobject)
Re: Removing a link (specrelation)? [message #1696991 is a reply to message #1696946] Sat, 30 May 2015 10:15 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Max,

I think you found a bug, but not quite as you reported it: It looks like the refresh after deleting is missing, which produces a stale editor.

First, I assume that you made the links visible, either by double-clicking on the right column with the link arrows, or by selecting ProR | Toggle all links.

Second, what happens upon delete depends on the Column that is selected: If you select the LAST column, the target SpecObject is deleted. If you select any of the other columns, the SpecRelation is deleted.

But again, due to the refresh issue this does not show. We'll fix this shortly.

Best,

- Michael


Re: Removing a link (specrelation)? [message #1697016 is a reply to message #1696991] Sun, 31 May 2015 11:24 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Max,

This was a rather embarrassing bug and has been fixed. Please update via Help | Check for updates to receive a fix for this.

Best,

- Michael


Re: Removing a link (specrelation)? [message #1697591 is a reply to message #1697016] Fri, 05 June 2015 08:22 Go to previous messageGo to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Thanks - I've updated and am looking at this again.

Perhaps I'm misunderstanding how the link works? When I select the column and row, and select delete from the context menu, I lose the entire row including the specobject.

The attached picture shows what I'm doing (couldn't get the context menu in the screenshot though...) Green is what I'm trying to remove, red is what removes...


I'm looking to remove specrelations which I no longer think are correct, or alternatively, point them at different specobjects.
Re: Removing a link (specrelation)? [message #1697596 is a reply to message #1697591] Fri, 05 June 2015 09:03 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Max,

Okay I think I see the problem: You did not "unfold" the links. You can either doubleclick on the link with the cell information (the one you marked green)., or by selecting Requirements | Toggle Spec relations (there is also a button in the toolbar). Doing so unfolds the outgoing links underneath the SpecObject. Doubleclicking unfolds only the links for one SpecObject, using the menu unfolds them for all.

This is documented in in the handbook, but arguably hard to find: http://formalmind.com/handbook?page=sect0035.html

Hope this helps!

Best,

- Michael


Re: Removing a link (specrelation)? [message #1697603 is a reply to message #1697596] Fri, 05 June 2015 10:13 Go to previous messageGo to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Thanks - toggling that button allowed me to delete, but I think there may still be an issue.

It seems my SpecObject is still removed when I selected and delete the SpecRelation?
Re: Removing a link (specrelation)? [message #1697606 is a reply to message #1697603] Fri, 05 June 2015 10:28 Go to previous message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
> It seems my SpecObject is still removed when I selected and delete the SpecRelation?

The way you did it, it's by design. Smile You selected the last column and deleted. Selecting the last column is like selecting the target SpecObject. Therefore, the link stayed intact and the targetSpecObject was deleted.

If you select (or right-click) any column, except the last one, the link itself will be removed.

You see the differences also in the Properties View: If you select any column except the last, you will see the SpecRelation's properties. But if you select the last column, you will see the target SpecObject's properties, where you can also edit it.

Best,

- Michael


Previous Topic:ReqIF Purpose of SpecHierarchy.EditableAtts
Next Topic:ReqIF <SPECIFICATIONS>
Goto Forum:
  


Current Time: Wed Sep 19 03:24:03 GMT 2018

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

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

Back to the top