Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369655 - Allow to add completion listener for PHP editor
Summary: Allow to add completion listener for PHP editor
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 08:20 EST by Wojciech Galanciak CLA
Modified: 2020-05-14 11:45 EDT (History)
4 users (show)

See Also:


Attachments
patch (2.15 KB, patch)
2012-01-25 09:07 EST, Wojciech Galanciak CLA
jacek.pospychala: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Galanciak CLA 2012-01-25 08:20:54 EST
Allow to hook up ICompletionListener directly from PHP editor instance.
Comment 1 Wojciech Galanciak CLA 2012-01-25 09:07:45 EST
Created attachment 210052 [details]
patch

In PHPStructuredTextViewer.configure(SourceViewerConfiguration) new content assistant is created but there is not new ContentAssistantFacade instanse.
This patch creates this instance just after php content assistant is created. PHPStructuredTextViewer.getContentAssistFacade() is public so there is an access to add/remove completion listener from editor level.
Comment 2 Zhongwei Zhao CLA 2012-05-02 01:37:25 EDT
Applied already.Thanks!
Comment 3 Sylvia Tancheva CLA 2012-07-04 09:29:59 EDT
Closing
Ilina Stefanova