{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/11965","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/11965/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/11965/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/11965/events","html_url":"https://github.com/eclipse/che/issues/11965","id":381260337,"node_id":"MDU6SXNzdWUzODEyNjAzMzc=","number":11965,"title":"Create own AbstractNewResourceAction","user":{"login":"mstavares","id":9629936,"node_id":"MDQ6VXNlcjk2Mjk5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/9629936?v=4","gravatar_id":"","url":"https://api.github.com/users/mstavares","html_url":"https://github.com/mstavares","followers_url":"https://api.github.com/users/mstavares/followers","following_url":"https://api.github.com/users/mstavares/following{/other_user}","gists_url":"https://api.github.com/users/mstavares/gists{/gist_id}","starred_url":"https://api.github.com/users/mstavares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstavares/subscriptions","organizations_url":"https://api.github.com/users/mstavares/orgs","repos_url":"https://api.github.com/users/mstavares/repos","events_url":"https://api.github.com/users/mstavares/events{/privacy}","received_events_url":"https://api.github.com/users/mstavares/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T17:15:57Z","updated_at":"2018-11-16T05:47:48Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI would like to create my own event in order to create new resources such as create a new .java file.\r\nIn order to do, I guess that I need to create a piece of code similar like this one.\r\n\r\n`  public NewClikeResourceAction(\r\n      String title,\r\n      String description,\r\n      SVGResource svgIcon,\r\n      DialogFactory dialogFactory,\r\n      CoreLocalizationConstant coreLocalizationConstant,\r\n      EventBus eventBus,\r\n      AppContext appContext,\r\n      NotificationManager notificationManager,\r\n      Provider<EditorAgent> editorAgentProvider) {\r\n    super(\r\n        title,\r\n        description,\r\n        svgIcon,\r\n        dialogFactory,\r\n        coreLocalizationConstant,\r\n        eventBus,\r\n        appContext,\r\n        notificationManager,\r\n        editorAgentProvider);\r\n    this.appContext = appContext;\r\n  }`\r\n\r\nI would like to write in a log files created by my new \"new file event\",  in order to do that I need to know the path and the file name to write it on the log file.\r\nI would like to know if any of those above arguments are able to give me the path and also the file name."},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/439289248","html_url":"https://github.com/eclipse/che/issues/11965#issuecomment-439289248","issue_url":"https://api.github.com/repos/eclipse/che/issues/11965","id":439289248,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTI4OTI0OA==","user":{"login":"eivantsov","id":5337267,"node_id":"MDQ6VXNlcjUzMzcyNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5337267?v=4","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T05:47:48Z","updated_at":"2018-11-16T05:47:48Z","author_association":"CONTRIBUTOR","body":"@vparfonov @vzhukovskii @azatsarynnyy are most knowledgeable in this area"}}
{"actor":{"display_login":"eivantsov"}}