Mercurial > projects > dwt-addons
diff dwtx/jface/text/AbstractInformationControlManager.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | f8d52b926852 |
children | c3583c6ec027 |
line wrap: on
line diff
--- a/dwtx/jface/text/AbstractInformationControlManager.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/AbstractInformationControlManager.d Mon Sep 08 00:51:37 2008 +0200 @@ -203,33 +203,37 @@ * * @since 3.4 */ - class MyInternalAccessor : InternalAccessor { + public static class MyInternalAccessor : InternalAccessor { + AbstractInformationControlManager outer_; + this( AbstractInformationControlManager a ){ + outer_=a; + } public IInformationControl getCurrentInformationControl() { - return this.outer.getCurrentInformationControl(); + return outer_.getCurrentInformationControl(); } public void setInformationControlReplacer(InformationControlReplacer replacer) { - this.outer.setInformationControlReplacer(replacer); + outer_.setInformationControlReplacer(replacer); } public InformationControlReplacer getInformationControlReplacer() { - return this.outer.getInformationControlReplacer(); + return outer_.getInformationControlReplacer(); } public bool canReplace(IInformationControl control) { - return this.outer.canReplace(control); + return outer_.canReplace(control); } public bool isReplaceInProgress() { - return this.outer.isReplaceInProgress(); + return outer_.isReplaceInProgress(); } public void replaceInformationControl(bool takeFocus) { - this.outer.replaceInformationControl(takeFocus); + outer_.replaceInformationControl(takeFocus); } public void cropToClosestMonitor(Rectangle bounds) { - this.outer.cropToClosestMonitor(bounds); + outer_.cropToClosestMonitor(bounds); } public void setHoverEnrichMode(EnrichMode mode) { @@ -1592,6 +1596,6 @@ * @nooverride This method is not intended to be re-implemented or extended by clients. */ public InternalAccessor getInternalAccessor() { - return new MyInternalAccessor(); + return new MyInternalAccessor(this); } }