class ExternalLinkPresenter implements IsWidget {

    public void setLink(final String text) {
        if (text == null || text.trim()
                .isEmpty()) {
            view.setText("");
            showEdit();
        } else {
            showLink();
            view.setText(text);
            view.setLink(text);
        }
    }

    @Inject public  ExternalLinkPresenter(final ExternalLinkView view);

}