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

Bug 369655

Summary: Allow to add completion listener for PHP editor
Product: z_Archived Reporter: Wojciech Galanciak <wojciech.galanciak>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ganoro, jacek.pospychala, silviya, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch jacek.pospychala: iplog+

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