Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329670 - Problems with content assist in integrated popup textual editors
Summary: Problems with content assist in integrated popup textual editors
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 08:35 EST by Arnaud Cuccuru CLA
Modified: 2013-05-31 12:32 EDT (History)
3 users (show)

See Also:


Attachments
Patch for org.eclipse.xtext.gmf.glue.patch (15.53 KB, patch)
2010-11-08 09:10 EST, Arnaud Cuccuru CLA
no flags Details | Diff
Patch for org.eclipse.papyrus.constraintwithvsl.editor.xtext.ui.patch (11.81 KB, patch)
2010-11-08 09:12 EST, Arnaud Cuccuru CLA
no flags Details | Diff
Patch for org.eclipse.papyrus.marte.vsl.ui.patch (15.29 KB, patch)
2010-11-08 09:13 EST, Arnaud Cuccuru CLA
no flags Details | Diff
Patch for org.eclipse.papyrus.property.editor.xtext.ui.patch (28.14 KB, patch)
2010-11-08 09:14 EST, Arnaud Cuccuru CLA
no flags Details | Diff
Patch for org.eclipse.papyrus.state.editor.xtext.ui.patch (13.49 KB, patch)
2010-11-08 09:15 EST, Arnaud Cuccuru CLA
no flags Details | Diff
Patch for org.eclipse.papyrus.transition.editor.xtext.ui.patch (3.03 KB, patch)
2010-11-08 09:18 EST, Arnaud Cuccuru CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Cuccuru CLA 2010-11-08 08:35:12 EST
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.
Comment 1 Arnaud Cuccuru CLA 2010-11-08 09:10:20 EST
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.
Comment 2 Arnaud Cuccuru CLA 2010-11-08 09:12:18 EST
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.
Comment 3 Arnaud Cuccuru CLA 2010-11-08 09:13:12 EST
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.
Comment 4 Arnaud Cuccuru CLA 2010-11-08 09:14:30 EST
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.
Comment 5 Arnaud Cuccuru CLA 2010-11-08 09:15:15 EST
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.
Comment 6 Arnaud Cuccuru CLA 2010-11-08 09:18:34 EST
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.
Comment 7 Vincent Lorenzo CLA 2010-11-09 05:27:38 EST
Minor Changes in r3172 : Removes duplicated lines
Comment 8 Camille Letavernier CLA 2013-05-31 12:32:10 EDT
I close this task