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

Bug 332702

Summary: [SysML 1.1][IBD] "Edit Label" dialog for new flow ports ignores labels with whitespaces
Product: [Modeling] Papyrus Reporter: Loïc Quéran <loic.queran>
Component: SysMLAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: arnaud.cuccuru, marc-florian.wendland
Version: 0.10.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Loïc Quéran CLA 2010-12-16 02:32:44 EST
Build Identifier: Build id: I20100608-0911

In Specification group, replace  FlowPort0 in "+ FlowPort0: <Undefined>{unique}" by any string with whitespace, such as "Hold at station request".

Reproducible: Always
Comment 1 Yann Tanguy CLA 2011-10-11 09:45:21 EDT
Arnaud, do you know if xtext editors can support space character in names ?
Comment 2 Arnaud Cuccuru CLA 2011-10-11 09:56:40 EDT
Xtext does not provide default facilities for this. Names are supposed to be Java-compliant names (which implies no white spaces).

However, Alf (which is currently being implemented in Extra plug-ins, for edition of operation signatures and bodies) proposes a syntax for that. The idea is to use delimiters (') for this kind of names. According to the example reported by Loic, the name of the flow port would be written 'Hold a station request'.

As soon as the base implementation of Alf is finished, other Alf-based editors will progressively replace existing editors (for properties, ports, etc.). The schedule for that needs to be made more precise, but this could be done in the 6 coming months.
Comment 3 Camille Letavernier CLA 2013-03-25 08:29:23 EDT
Still valid in 0.10M6
Comment 4 Camille Letavernier CLA 2013-03-25 11:49:06 EDT
*** Bug 375215 has been marked as a duplicate of this bug. ***
Comment 5 Vincent Lorenzo CLA 2018-12-20 09:30:39 EST
SysML 1.1 is no maintained anymore. We are closing the bug as wontfix.