Mercurial > projects > dwt-addons
diff dwtx/jface/text/contentassist/ContentAssistant.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 25f1f92fa3df |
children | 862b05e0334a |
line wrap: on
line diff
--- a/dwtx/jface/text/contentassist/ContentAssistant.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/contentassist/ContentAssistant.d Mon Sep 08 00:51:37 2008 +0200 @@ -688,6 +688,9 @@ return constrainHorizontally(rect, bounds); } + package Rectangle computeBoundsAboveBelow_package(Shell shell, Point preferred, int offset) { + return computeBoundsAboveBelow(shell, preferred, offset); + } /** * Returns the display bounds for <code>shell</code> such that it appears right below @@ -735,6 +738,9 @@ return constrainHorizontally(rect, bounds); } + package Rectangle computeBoundsBelowAbove_package(Shell shell, Point preferred, int offset, CompletionProposalPopup popup) { + return computeBoundsBelowAbove(shell, preferred, offset, popup ); + } private Rectangle getCaretRectangle(int offset) { Point location= fContentAssistSubjectControlAdapter.getLocationAtOffset(offset); @@ -924,7 +930,7 @@ * @since 3.0 */ private bool fVerifyKeyListenerHooked= false; - private IContentAssistListener[] fListeners= new IContentAssistListener[4]; + private IContentAssistListener[] fListeners; /** * The content assist subject control. * @@ -966,7 +972,7 @@ * * @since 3.2 */ - private ListenerList fCompletionListeners= new ListenerList(ListenerList.IDENTITY); + private ListenerList fCompletionListeners; /** * The message to display at the bottom of the proposal popup. * @@ -1027,6 +1033,8 @@ * milliseconds delay. It uses the default partitioning. */ public this() { + fListeners= new IContentAssistListener[4]; + fCompletionListeners= new ListenerList(ListenerList.IDENTITY); fPartitioning= IDocumentExtension3.DEFAULT_PARTITIONING; } @@ -1734,6 +1742,9 @@ fLastAutoActivation= Long.MIN_VALUE; storeCompletionProposalPopupSize(); } + package void possibleCompletionsClosed_package() { + possibleCompletionsClosed(); + } /* * @see IContentAssist#showContextInformation @@ -1753,6 +1764,9 @@ */ protected void contextInformationClosed() { } + package void contextInformationClosed_package() { + contextInformationClosed(); + } /** * Requests that the specified context information to be shown. @@ -2091,6 +2105,9 @@ if (fContextInfoPopup !is null) fContextInfoPopup.hide(); } + package void hide_package() { + hide(); + } // ------ control's size handling dialog settings ------ @@ -2183,6 +2200,9 @@ return size; } + package Point restoreCompletionProposalPopupSize_package() { + return restoreCompletionProposalPopupSize(); + } /** * Sets the prefix completion property. If enabled, content assist delegates completion to