{"action":"created","issue":{"url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/179","labels_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/179/comments","events_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/179/events","html_url":"https://github.com/GwtMaterialDesign/gwt-material/pull/179","id":119550473,"number":179,"title":"Created the HasTooltip interface and the TooltipMixin class.","user":{"login":"gilberto-torrezan","id":7464735,"avatar_url":"https://avatars.githubusercontent.com/u/7464735?v=3","gravatar_id":"","url":"https://api.github.com/users/gilberto-torrezan","html_url":"https://github.com/gilberto-torrezan","followers_url":"https://api.github.com/users/gilberto-torrezan/followers","following_url":"https://api.github.com/users/gilberto-torrezan/following{/other_user}","gists_url":"https://api.github.com/users/gilberto-torrezan/gists{/gist_id}","starred_url":"https://api.github.com/users/gilberto-torrezan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilberto-torrezan/subscriptions","organizations_url":"https://api.github.com/users/gilberto-torrezan/orgs","repos_url":"https://api.github.com/users/gilberto-torrezan/repos","events_url":"https://api.github.com/users/gilberto-torrezan/events{/privacy}","received_events_url":"https://api.github.com/users/gilberto-torrezan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-30T18:23:45Z","updated_at":"2015-12-01T21:48:08Z","closed_at":"2015-12-01T21:48:08Z","pull_request":{"url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/pulls/179","html_url":"https://github.com/GwtMaterialDesign/gwt-material/pull/179","diff_url":"https://github.com/GwtMaterialDesign/gwt-material/pull/179.diff","patch_url":"https://github.com/GwtMaterialDesign/gwt-material/pull/179.patch"},"body":"ComplexWidget modified to contain tooltips out of the box.\r\n\r\nNote: the tooltip script is only initialized when a method from HasTooltip is invoked (to avoid overhead on widgets that don't have tooltip).\r\n\r\nBy using the mixin, all ComplexWidgets can now have a MaterialTooltip attach to them just by calling:\r\n\r\n```java\r\nwidget.setTooltip(\"Hi, I'm a nice tooltip!\");\r\n```\r\n\r\nor:\r\n\r\n```xml\r\n<m:MaterialLink text=\"Look at me\" tooltip=\"Hi, I'm a nice tooltip!\" />\r\n```\r\n\r\nTooltip position and delay can also the set the same way.\r\n\r\nI'd like to hear from you guys if we should override the `setTitle()` method from GWT UIObject to use MaterialTooltips instead."},"comment":{"url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/comments/161106048","html_url":"https://github.com/GwtMaterialDesign/gwt-material/pull/179#issuecomment-161106048","issue_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/179","id":161106048,"user":{"login":"gilberto-torrezan","id":7464735,"avatar_url":"https://avatars.githubusercontent.com/u/7464735?v=3","gravatar_id":"","url":"https://api.github.com/users/gilberto-torrezan","html_url":"https://github.com/gilberto-torrezan","followers_url":"https://api.github.com/users/gilberto-torrezan/followers","following_url":"https://api.github.com/users/gilberto-torrezan/following{/other_user}","gists_url":"https://api.github.com/users/gilberto-torrezan/gists{/gist_id}","starred_url":"https://api.github.com/users/gilberto-torrezan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilberto-torrezan/subscriptions","organizations_url":"https://api.github.com/users/gilberto-torrezan/orgs","repos_url":"https://api.github.com/users/gilberto-torrezan/repos","events_url":"https://api.github.com/users/gilberto-torrezan/events{/privacy}","received_events_url":"https://api.github.com/users/gilberto-torrezan/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:48:08Z","updated_at":"2015-12-01T21:48:08Z","body":"Closing this PR to create a new one."}}