comparison dwtx/jface/text/hyperlink/MultipleHyperlinkPresenter.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 51e6e63f930e
comparison
equal deleted inserted replaced
132:77bd3bb3d7b8 133:7d818bd32d63
140 * @param parentShell the parent shell 140 * @param parentShell the parent shell
141 * @param manager the hover manager 141 * @param manager the hover manager
142 * @param foregroundColor the foreground color, must not be disposed 142 * @param foregroundColor the foreground color, must not be disposed
143 * @param backgroundColor the background color, must not be disposed 143 * @param backgroundColor the background color, must not be disposed
144 */ 144 */
145 public LinkListInformationControl(Shell parentShell, MultipleHyperlinkHoverManager manager, Color foregroundColor, Color backgroundColor) { 145 public this(Shell parentShell, MultipleHyperlinkHoverManager manager, Color foregroundColor, Color backgroundColor) {
146 super(parentShell, false); 146 super(parentShell, false);
147 fManager= manager; 147 fManager= manager;
148 fForegroundColor= foregroundColor; 148 fForegroundColor= foregroundColor;
149 fBackgroundColor= backgroundColor; 149 fBackgroundColor= backgroundColor;
150 create(); 150 create();
522 * 522 *
523 * @param hover the hover to manage 523 * @param hover the hover to manage
524 * @param viewer the viewer to show the hover in 524 * @param viewer the viewer to show the hover in
525 * @param hyperlinkPresenter the hyperlink presenter using this manager to present hyperlinks 525 * @param hyperlinkPresenter the hyperlink presenter using this manager to present hyperlinks
526 */ 526 */
527 public MultipleHyperlinkHoverManager(MultipleHyperlinkHover hover, ITextViewer viewer, MultipleHyperlinkPresenter hyperlinkPresenter) { 527 public this(MultipleHyperlinkHover hover, ITextViewer viewer, MultipleHyperlinkPresenter hyperlinkPresenter) {
528 super(hover.getHoverControlCreator()); 528 super(hover.getHoverControlCreator());
529 529
530 fHover= hover; 530 fHover= hover;
531 fTextViewer= viewer; 531 fTextViewer= viewer;
532 fHyperlinkPresenter= hyperlinkPresenter; 532 fHyperlinkPresenter= hyperlinkPresenter;
663 * Creates a new multiple hyperlink presenter which uses 663 * Creates a new multiple hyperlink presenter which uses
664 * {@link #HYPERLINK_COLOR} to read the color from the given preference store. 664 * {@link #HYPERLINK_COLOR} to read the color from the given preference store.
665 * 665 *
666 * @param store the preference store 666 * @param store the preference store
667 */ 667 */
668 public MultipleHyperlinkPresenter(IPreferenceStore store) { 668 public this(IPreferenceStore store) {
669 super(store); 669 super(store);
670 } 670 }
671 671
672 /** 672 /**
673 * Creates a new multiple hyperlink presenter. 673 * Creates a new multiple hyperlink presenter.
674 * 674 *
675 * @param color the hyperlink color, to be disposed by the caller 675 * @param color the hyperlink color, to be disposed by the caller
676 */ 676 */
677 public MultipleHyperlinkPresenter(RGB color) { 677 public this(RGB color) {
678 super(color); 678 super(color);
679 } 679 }
680 680
681 /* 681 /*
682 * @see dwtx.jface.text.hyperlink.DefaultHyperlinkPresenter#install(dwtx.jface.text.ITextViewer) 682 * @see dwtx.jface.text.hyperlink.DefaultHyperlinkPresenter#install(dwtx.jface.text.ITextViewer)