Community
Participate
Working Groups
There are some problem with content assist in almost all integrated textual editors (properties, transitions, states, etc.). Once the completion popup is opened: - Any character entered in the source viewer (which should act as a prefix for the completion) is ignored by the completion popup - When we click on the completion popup, both the source viewer and the completion popup close.
Created attachment 182606 [details] Patch for org.eclipse.xtext.gmf.glue.patch The bug concerns two aspect of content assist: The management of the completion popup, and the management of prefixes for filtering the list of completion proposals. - Management of the completion popup: This bug is due to a problem of focus management. The patch in attachment directly resolves it. - Management of prefixes: This bug is due to the fact that in each textual editor that override the default completion mechanism (i.e., constraintwithvsl, vsl, property, state, stereotypeapplicationwithvsl and transition), the completion proposals that are created implement only the interface ICompletionProposal. They should also implement ICompletionProposalExtension. This patch does not directly solve these problems (i.e., they must be solved in each particular editor plugin, appropriate patches will be sent separately), but it provides utility methods for creating completion proposals which are also instance of ICompletionProposalExtension.
Created attachment 182607 [details] Patch for org.eclipse.papyrus.constraintwithvsl.editor.xtext.ui.patch This patch resolves the problem related to the management of prefixes in the textual editor for constraints coupled with VSL.
Created attachment 182608 [details] Patch for org.eclipse.papyrus.marte.vsl.ui.patch This patch resolves the problem related to the management of prefixes in the plugin for VSL.
Created attachment 182609 [details] Patch for org.eclipse.papyrus.property.editor.xtext.ui.patch This patch resolves the problem related to the management of prefixes in the textual editor for properties.
Created attachment 182610 [details] Patch for org.eclipse.papyrus.state.editor.xtext.ui.patch This patch resolves the problem related to the management of prefixes in the textual editor for states.
Created attachment 182611 [details] Patch for org.eclipse.papyrus.transition.editor.xtext.ui.patch This patch resolves the problem related to the management of prefixes in the textual editor for transitions.
Minor Changes in r3172 : Removes duplicated lines
I close this task