129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2008 IBM Corporation and others.
|
|
3 * All rights reserved. This program and the accompanying materials
|
|
4 * are made available under the terms of the Eclipse Public License v1.0
|
|
5 * which accompanies this distribution, and is available at
|
|
6 * http://www.eclipse.org/legal/epl-v10.html
|
|
7 *
|
|
8 * Contributors:
|
|
9 * IBM Corporation - initial API and implementation
|
|
10 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13 module dwtx.jface.text.hyperlink.IHyperlinkPresenterExtension;
|
|
14
|
131
|
15 import dwtx.jface.text.hyperlink.MultipleHyperlinkPresenter; // packageimport
|
|
16 import dwtx.jface.text.hyperlink.HyperlinkManager; // packageimport
|
|
17 import dwtx.jface.text.hyperlink.URLHyperlink; // packageimport
|
|
18 import dwtx.jface.text.hyperlink.IHyperlinkDetectorExtension2; // packageimport
|
|
19 import dwtx.jface.text.hyperlink.IHyperlinkDetector; // packageimport
|
|
20 import dwtx.jface.text.hyperlink.IHyperlinkPresenter; // packageimport
|
|
21 import dwtx.jface.text.hyperlink.URLHyperlinkDetector; // packageimport
|
|
22 import dwtx.jface.text.hyperlink.DefaultHyperlinkPresenter; // packageimport
|
|
23 import dwtx.jface.text.hyperlink.AbstractHyperlinkDetector; // packageimport
|
|
24 import dwtx.jface.text.hyperlink.IHyperlinkDetectorExtension; // packageimport
|
|
25 import dwtx.jface.text.hyperlink.HyperlinkMessages; // packageimport
|
|
26 import dwtx.jface.text.hyperlink.IHyperlink; // packageimport
|
|
27
|
|
28
|
129
|
29 import dwt.dwthelper.utils;
|
|
30
|
|
31
|
|
32 /**
|
|
33 * Extends {@link IHyperlinkPresenter} with ability
|
|
34 * to query whether the currently shown hyperlinks
|
|
35 * can be hidden.
|
|
36 * <p>
|
|
37 * Clients may implement this interface.
|
|
38 * </p>
|
|
39 *
|
|
40 * @since 3.4
|
|
41 */
|
|
42 public interface IHyperlinkPresenterExtension {
|
|
43
|
|
44 /**
|
|
45 * Tells whether the currently shown hyperlinks
|
|
46 * can be hidden.
|
|
47 *
|
|
48 * @return <code>true</code> if the hyperlink manager can hide the current hyperlinks
|
|
49 */
|
|
50 bool canHideHyperlinks();
|
|
51
|
|
52 }
|