com.atlassian.confluence.plugins.linkbrowser.client
Class WebLinkPresenterImpl

java.lang.Object
  extended by com.atlassian.confluence.plugins.linkbrowser.client.WebLinkPresenterImpl
All Implemented Interfaces:
LinkBrowserPanelPresenter, WebLinkPresenter

public class WebLinkPresenterImpl
extends java.lang.Object
implements WebLinkPresenter


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.confluence.plugins.linkbrowser.client.WebLinkPresenter
WebLinkPresenter.Display
 
Constructor Summary
WebLinkPresenterImpl(com.google.gwt.event.shared.HandlerManager eventBus, WebLinkPresenter.Display display)
           
 
Method Summary
 java.lang.String getAlias()
           
 java.lang.String getDestination()
           
 java.lang.String getDestinationTitle()
           
 WebLinkPresenter.Display getDisplay()
           
 java.lang.String getHref()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 boolean isAliasSpecified()
           
 void loadLinkInfo(LinkInfo linkInfo)
          Loads the data from this link info object into the current panel.
 void onDisplay(java.lang.String alias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebLinkPresenterImpl

public WebLinkPresenterImpl(com.google.gwt.event.shared.HandlerManager eventBus,
                            WebLinkPresenter.Display display)
Method Detail

getWidget

public com.google.gwt.user.client.ui.Widget getWidget()

getAlias

public java.lang.String getAlias()
Specified by:
getAlias in interface LinkBrowserPanelPresenter
Returns:
the alias text of the link

getDestination

public java.lang.String getDestination()
Specified by:
getDestination in interface LinkBrowserPanelPresenter
Returns:
the wiki markup of the link destination

getDestinationTitle

public java.lang.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 java.lang.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 WebLinkPresenter.Display 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(java.lang.String alias)
Specified by:
onDisplay in interface LinkBrowserPanelPresenter


Copyright © 2003-2010 Atlassian. All Rights Reserved.