Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329865

Summary: [ALF] Papyrus shall provide a specific textual editor for ALF.
Product: [Modeling] Papyrus Reporter: Sébastien Gérard <sebastien.gerard>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: antonio.cicchetti, arnaud.cuccuru, david.rabely, eclipse, federico.ciccozzi, klaas.gadeyne, mehrdad.saadatmand, mka03004, papyrus-bugs, Patrick.Tessier, rschnekenburger, sebastien.gerard, tatiana.fesenko
Version: 0.8.0Keywords: plan
Target Milestone: ---Flags: sebastien.gerard: indigo+
rschnekenburger: juno+
Hardware: All   
OS: All   
Whiteboard: Diagram editors
Bug Depends on: 420070, 420071, 420073, 377428, 377429    
Bug Blocks:    

Description Sébastien Gérard CLA 2010-11-09 18:48:41 EST
Papyrus shall provide a specific textual editor for ALF, the OMG standard for the UML action language.
Comment 1 Arnaud Cuccuru CLA 2011-02-07 05:56:11 EST
Requirements and roadmap:

* To be addressed for end of march 2011:
- Underlying grammar shall support the highest completion level of ALF (which includes both structural and behavioral aspects of fUML)
- The editor should support detection of syntactic (i.e. parsing errors) and semantic (e.g. scoping, type inference) errors
- The editor should be integrated in Papyrus for edition of the following modeling elements:
. Operation signatures
. Operation bodies
. OpaqueBehavior bodies
. Effect behavior on state-machine transitions
. Entry/Do/Exit behaviors of state-machine states

* To be addressed later (Agenda to be refined):
- Advanced reconciliation strategy in the case where edited elements carry stereotype applications (e.g., such as parameters of operations or behaviors)
- Textual edition of activities, with synchronization of Activity repositories and textual representations.
Comment 2 federico ciccozzi CLA 2012-01-11 10:45:15 EST
Hi,

does (if yes how) the ALF editor in MDT Papyrus handle enumerations?
I need to use enumerations but I cant figure out how to do that since the editor gives me error in all the cases I tested.

I would need to do something like:

model::myDataTypes::myEnum x;
x = model::myDataTypes::myEnum::enumLiteralA

where myEnum = {enumLiteralA, enumLiteralB,..}
Comment 3 Remi Schnekenburger CLA 2012-02-13 08:47:51 EST
partially done in 2011, some work to be done in 2012
Comment 4 Patrick Tessier CLA 2012-02-17 05:23:53 EST
adapt code for the alf grammar
done in the revision 7216
Comment 5 Patrick Tessier CLA 2012-02-17 05:25:46 EST
adapt code alf.ui done in the revision 7217
Comment 6 Patrick Tessier CLA 2012-03-05 05:49:22 EST
make it compile for the 0.9.x done in the revision 7342
Comment 7 Patrick Tessier CLA 2012-03-20 04:58:05 EDT
Alf will be moved in the directory UML so the plugin will called org.eclipse.papyrus.uml.alf
Comment 8 Patrick Tessier CLA 2012-03-20 05:12:52 EDT
creation of the directory  revision 7486 and renaming don for the revision 7487to 7490
Comment 9 Patrick Tessier CLA 2012-03-20 05:42:43 EDT
remove bad directories in revision 7490 to 7501
Comment 10 Patrick Tessier CLA 2012-03-20 06:31:56 EDT
Alf has been regenerated to test if the refactoring is correct done in the revision 7513
Comment 11 Patrick Tessier CLA 2012-03-20 10:28:13 EDT
the feature ALF has been added in order to add plugin uml.alf.xtext and uml.alf.xtext.ui
done in the revision 7542