Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
BZ-1195300: tooltips for some icon buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrenaat committed Mar 12, 2015
1 parent d770a5c commit a54cb19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Expand Up @@ -120,6 +120,7 @@ public void callback( final PageResponse<InboxPageRow> response ) {

final Button refreshButton = new Button();
refreshButton.setIcon( IconType.REFRESH );
refreshButton.setTitle( InboxConstants.INSTANCE.refresh() );
refreshButton.addClickHandler( new ClickHandler() {
@Override
public void onClick( ClickEvent event ) {
Expand Down
Expand Up @@ -34,6 +34,7 @@
import com.google.gwt.user.client.ui.RequiresResize;
import com.google.gwt.user.client.ui.Widget;
import org.guvnor.structure.client.navigator.CommitNavigator;
import org.guvnor.structure.client.resources.i18n.CommonConstants;
import org.guvnor.structure.repositories.PublicURI;
import org.uberfire.ext.widgets.common.client.common.BusyPopup;
import org.uberfire.ext.widgets.core.client.resources.i18n.CoreConstants;
Expand Down Expand Up @@ -158,6 +159,7 @@ public void onClick( ClickEvent event ) {
myGitCopyButton.getElement().setAttribute( "data-clipboard-text", gitDaemonURI.getText() );

myGitCopyButton.getElement().setId( "button-" + uriId );
myGitCopyButton.getElement().setTitle( CommonConstants.INSTANCE.copyRepositoryUrl() );

glueCopy( myGitCopyButton.getElement() );
}
Expand Down
Expand Up @@ -27,4 +27,5 @@ public interface CommonConstants

String IndexClonedRepositoryWarning();

String copyRepositoryUrl();
}
@@ -1 +1,2 @@
IndexClonedRepositoryWarning=The Repository will be indexed. Some workbench features may be unavailable until indexing has completed.
copyRepositoryUrl=Copy Repository URL

0 comments on commit a54cb19

Please sign in to comment.