{"action":"created","issue":{"url":"https://api.github.com/repos/umlet/umlet/issues/329","labels_url":"https://api.github.com/repos/umlet/umlet/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/umlet/umlet/issues/329/comments","events_url":"https://api.github.com/repos/umlet/umlet/issues/329/events","html_url":"https://github.com/umlet/umlet/pull/329","id":120636126,"number":329,"title":"fix Eclipse Plugin Menu is gray until Diagram is reopened #53","user":{"login":"ruediste","id":3474604,"avatar_url":"https://avatars.githubusercontent.com/u/3474604?v=3","gravatar_id":"","url":"https://api.github.com/users/ruediste","html_url":"https://github.com/ruediste","followers_url":"https://api.github.com/users/ruediste/followers","following_url":"https://api.github.com/users/ruediste/following{/other_user}","gists_url":"https://api.github.com/users/ruediste/gists{/gist_id}","starred_url":"https://api.github.com/users/ruediste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruediste/subscriptions","organizations_url":"https://api.github.com/users/ruediste/orgs","repos_url":"https://api.github.com/users/ruediste/repos","events_url":"https://api.github.com/users/ruediste/events{/privacy}","received_events_url":"https://api.github.com/users/ruediste/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T13:58:41Z","updated_at":"2015-12-06T20:06:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/umlet/umlet/pulls/329","html_url":"https://github.com/umlet/umlet/pull/329","diff_url":"https://github.com/umlet/umlet/pull/329.diff","patch_url":"https://github.com/umlet/umlet/pull/329.patch"},"body":"As far as I could see, menu items added via the EditorActionBarContributor are disabled automatically as soon as the editor loses focus, which happens if you click the Overview view or open the Options popup and close it again. Therefore I switched to a ExtensionContributionFactory and added a listener to show/hide the menu based on the editor shown. Fixes #53 "},"comment":{"url":"https://api.github.com/repos/umlet/umlet/issues/comments/162342596","html_url":"https://github.com/umlet/umlet/pull/329#issuecomment-162342596","issue_url":"https://api.github.com/repos/umlet/umlet/issues/329","id":162342596,"user":{"login":"ruediste","id":3474604,"avatar_url":"https://avatars.githubusercontent.com/u/3474604?v=3","gravatar_id":"","url":"https://api.github.com/users/ruediste","html_url":"https://github.com/ruediste","followers_url":"https://api.github.com/users/ruediste/followers","following_url":"https://api.github.com/users/ruediste/following{/other_user}","gists_url":"https://api.github.com/users/ruediste/gists{/gist_id}","starred_url":"https://api.github.com/users/ruediste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruediste/subscriptions","organizations_url":"https://api.github.com/users/ruediste/orgs","repos_url":"https://api.github.com/users/ruediste/repos","events_url":"https://api.github.com/users/ruediste/events{/privacy}","received_events_url":"https://api.github.com/users/ruediste/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T20:06:05Z","updated_at":"2015-12-06T20:06:05Z","body":"1. Sorry about the org.eclipse.core.expressions, I thought it was not required.\r\n2. I'll look into that tomorrow"}}