com.atlassian.confluence.plugins.linkbrowser.client
Class SearchLinkPresenterImpl
java.lang.Object
com.atlassian.confluence.plugins.linkbrowser.client.SearchLinkPresenterImpl
- All Implemented Interfaces:
- LinkBrowserPanelPresenter, SearchLinkPresenter
public class SearchLinkPresenterImpl
- extends Object
- implements SearchLinkPresenter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchLinkPresenterImpl
public SearchLinkPresenterImpl(com.google.gwt.event.shared.HandlerManager eventBus,
SearchLinkPresenter.Display display,
com.google.gwt.i18n.client.Dictionary dictionary)
getAlias
public String getAlias()
- Specified by:
getAlias
in interface LinkBrowserPanelPresenter
- Returns:
- the alias text of the link
getDestination
public String getDestination()
- Specified by:
getDestination
in interface LinkBrowserPanelPresenter
- Returns:
- the wiki markup of the link destination
getDestinationTitle
public String getDestinationTitle()
- Specified by:
getDestinationTitle
in interface LinkBrowserPanelPresenter
- Returns:
- the link title displayed in the editor, even if there is no alias defined
getHref
public String getHref()
- Specified by:
getHref
in interface LinkBrowserPanelPresenter
- Returns:
- the href for the link
isAliasSpecified
public boolean isAliasSpecified()
- Specified by:
isAliasSpecified
in interface LinkBrowserPanelPresenter
getDisplay
public LinkBrowserPanelDisplay getDisplay()
- Specified by:
getDisplay
in interface LinkBrowserPanelPresenter
- Returns:
- the
LinkBrowserPanelDisplay
the presenter is responsible for
loadLinkInfo
public void loadLinkInfo(LinkInfo linkInfo)
- Description copied from interface:
LinkBrowserPanelPresenter
- Loads the data from this link info object into the current panel.
- Specified by:
loadLinkInfo
in interface LinkBrowserPanelPresenter
onDisplay
public void onDisplay(String alias)
- Specified by:
onDisplay
in interface LinkBrowserPanelPresenter
doSearch
public void doSearch(String searchString)
- Specified by:
doSearch
in interface SearchLinkPresenter
Copyright © 2003-2011 Atlassian. All Rights Reserved.