Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » Creating SpecHierarchy Programmatically and Save to .reqif file
icon3.gif  Creating SpecHierarchy Programmatically and Save to .reqif file [message #1706833] Mon, 31 August 2015 12:41 Go to next message
Hasan Emre Kirmizi is currently offline Hasan Emre KirmiziFriend
Messages: 2
Registered: July 2015
Junior Member
Shocked
Hello,
We r developing a plugin project which uses reqif. We created a SpecHierarch as programmatically.
We want to add this hierarchy as child to hierarchy which user selected.
We have SpecHierarchy which we created.
We have SpecHierarchy whic user selected.
We added our SH to selected SH as child. We can see this change on debug mode as expression. But we can not save this change.
We need save this change to .reqif file.

We tried CreateChildCommand.create method,
tried also resource save,
and also we used Reqif10Editor's getReqif() method
and SpecificationEditor's getReqif() method.

Generally we tried change on the editor. But we understood that we should change on resource (also we should use ReqIF10.edit ). But we do not know how to do this.

What should we do?

Thanks.

Emre Kirmizi
Re: Creating SpecHierarchy Programmatically and Save to .reqif file [message #1707321 is a reply to message #1706833] Thu, 03 September 2015 17:03 Go to previous message
Michael Jastram is currently offline Michael JastramFriend
Messages: 235
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hello Emre,

I recommend you to look at existing code. Specifically, check out this class:

org.eclipse.rmf.reqif10.pror.editor.actions.AddTestObjectsActionDelegate

Best,

- Michael
Previous Topic:CREATING REQIF SPECHIERARCHY AND SPECIFICATIONS PROGRAMMATICALLY
Next Topic:ID-Generator auto-numbering.
Goto Forum:
  


Current Time: Sat Dec 07 21:20:34 GMT 2024

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

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

Back to the top