{"action":"created","comment":{"url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/comments/41854075","id":41854075,"diff_hunk":"@@ -39,36 +41,41 @@ private void postConstruct() {\n         //TODO Wirklich notwendig? Lieber enter() verwenden?\n     }\n     \n-    /**\n-     * \n-     */\n-    protected abstract void site();\n+    @Override\n+    public void enter(ViewChangeListener.ViewChangeEvent event) {\n+        this.configureLayout();\n+\n+        // add some components\n+        this.addHeadline();\n+        this.site();\n+    }\n+    \n+    private void configureLayout() {\n+        setSizeFull();\n+        this.setHeightUndefined();\n+        setMargin(new MarginInfo(false, true, false, true));\n+    }\n     \n     protected void addHeadline() {\n-        \n+\n         // headline\n         Label pageTitle = new Label(controller.resolveRelative(getPagePath(Type.title)));\n         pageTitle.addStyleName(ValoTheme.LABEL_H1);\n         pageTitle.addStyleName(ValoTheme.LABEL_COLORED);\n-        \n+\n         removeAllComponents();\n         //HorizontalLayout head = new HorizontalLayout(pageTitle);\n         addComponent(pageTitle);\n+\n     }\n-    \n-    private void configureLayout() {\n-        setSizeFull();\n-        this.setHeightUndefined();\n-        setMargin(new MarginInfo(false, true, false, true));\n-    }\n-    \n-    @Override\n-    public void enter(ViewChangeListener.ViewChangeEvent event) {\n-        this.configureLayout();\n \n-        // add some components\n-        this.addHeadline();\n-        this.site();\n+    private List<Buerger> getBuergers() {\n+        return null;","path":"vadin-demo-gui/src/main/java/de/muenchen/vaadin/ui/app/views/DefaultBuergerView.java","position":null,"original_position":65,"commit_id":"4595023db9b669bcc5d7a94d7eb24e1e9ba57851","original_commit_id":"8732b7c37b2a46829c6de196236c14c05a6bf133","user":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"body":"Ich glaub das kann raus :smile: ","created_at":"2015-10-13T11:23:05Z","updated_at":"2015-10-13T11:23:05Z","html_url":"https://github.com/xdoo/vaadin-demo/pull/164#discussion_r41854075","pull_request_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164","_links":{"self":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/comments/41854075"},"html":{"href":"https://github.com/xdoo/vaadin-demo/pull/164#discussion_r41854075"},"pull_request":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164"}}},"pull_request":{"url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164","id":47508790,"html_url":"https://github.com/xdoo/vaadin-demo/pull/164","diff_url":"https://github.com/xdoo/vaadin-demo/pull/164.diff","patch_url":"https://github.com/xdoo/vaadin-demo/pull/164.patch","issue_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/164","number":164,"state":"open","locked":false,"title":"#147 micro componenten","user":{"login":"peter-mueller","id":9094815,"avatar_url":"https://avatars.githubusercontent.com/u/9094815?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-mueller","html_url":"https://github.com/peter-mueller","followers_url":"https://api.github.com/users/peter-mueller/followers","following_url":"https://api.github.com/users/peter-mueller/following{/other_user}","gists_url":"https://api.github.com/users/peter-mueller/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-mueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-mueller/subscriptions","organizations_url":"https://api.github.com/users/peter-mueller/orgs","repos_url":"https://api.github.com/users/peter-mueller/repos","events_url":"https://api.github.com/users/peter-mueller/events{/privacy}","received_events_url":"https://api.github.com/users/peter-mueller/received_events","type":"User","site_admin":false},"body":"## Beschreibung:\r\n \r\nDie BuergerForm wurde aufgetrennt und wiederverwendbar gemacht. Alle Forms verwenden jetzt die ActionButtons.\r\n```bash\r\n.\r\n├── forms\r\n│   ├── node\r\n│   │   ├── BuergerForm.java //Beliebigen Bürger ohne Buttons anzeigen / bearbeiten.\r\n│   │   └── FormUtil.java\r\n│   ├── selected\r\n│   │   └── SelectedBuergerForm.java // Selected Bürger aus dem Model *hust* DataStore ohne Buttons anzeigen / bearbeiten \r\n│   ├── BuergerCreateForm.java //Neuen Bürger über Eventbus erstellen (mit 2x Knopf)\r\n│   ├── SelectedBuergerReadForm.java //SelectedBürger lesen (mit 2x Knopf)\r\n│   └── SelectedBuergerUpdateForm.java //SelectedBürger über Eventbus updaten (mit 2x Knopf)\r\n```\r\n\r\nDas caching in der Factory wurde entfernt, da vom Entwickler erstellte Komponenten nicht/nur sehr schwer/kompliziert dort hinzugefügt werden können. **Die Grids müssen an die neue Navigation angepasst werden.** \r\nJetzt werden beim ViewChange immer alle Komponenten die auf Responses hören vom EventBus abgemeldet.\r\n\r\nFür die CRUD Funktionalität und Navigation gibt es jetzt vorgefertigte Klassen =^= Actions in der GUI LIB:\r\n ```bash\r\n.\r\n├── components\r\n│   ├── actions\r\n│   │   ├── EntityActions.java\r\n│   │   ├── EntityAssociationActions.java\r\n│   │   ├── EntityListActions.java\r\n│   │   ├── EntitySingleActions.java\r\n│   │   └── NavigateActions.java\r\n```\r\n\r\n## Branch-Checklist:\r\n \r\n- [x] Doku im Code vollständig\r\n- [ ] Im Wiki dokumentiert\r\n- [x] MicroService getestet\r\n- [x] GUI getestet\r\n- [ ] Barakuda Issue erstellt\r\n \r\n## Bestätigungen:\r\n \r\n- [ ] @darenegade \r\n- [ ] @FabianHoltkoetter  \r\n- [ ] @Arne2 \r\n \r\n## Referenz:\r\ncloses #147 ","created_at":"2015-10-13T09:20:25Z","updated_at":"2015-10-13T11:23:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29a4587ef67a7ceb1cd5a5c826579d8854184ebd","assignee":{"login":"peter-mueller","id":9094815,"avatar_url":"https://avatars.githubusercontent.com/u/9094815?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-mueller","html_url":"https://github.com/peter-mueller","followers_url":"https://api.github.com/users/peter-mueller/followers","following_url":"https://api.github.com/users/peter-mueller/following{/other_user}","gists_url":"https://api.github.com/users/peter-mueller/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-mueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-mueller/subscriptions","organizations_url":"https://api.github.com/users/peter-mueller/orgs","repos_url":"https://api.github.com/users/peter-mueller/repos","events_url":"https://api.github.com/users/peter-mueller/events{/privacy}","received_events_url":"https://api.github.com/users/peter-mueller/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xdoo/vaadin-demo/milestones/4","html_url":"https://github.com/xdoo/vaadin-demo/milestones/PreRelease","labels_url":"https://api.github.com/repos/xdoo/vaadin-demo/milestones/4/labels","id":1304497,"number":4,"title":"PreRelease","description":"Mit diesem Meilenstein haben wir es geschafft, das Ref.System vollständig aufzubauen und nach dem generativem Ansatz auszurichten.","creator":{"login":"darenegade","id":10849776,"avatar_url":"https://avatars.githubusercontent.com/u/10849776?v=3","gravatar_id":"","url":"https://api.github.com/users/darenegade","html_url":"https://github.com/darenegade","followers_url":"https://api.github.com/users/darenegade/followers","following_url":"https://api.github.com/users/darenegade/following{/other_user}","gists_url":"https://api.github.com/users/darenegade/gists{/gist_id}","starred_url":"https://api.github.com/users/darenegade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenegade/subscriptions","organizations_url":"https://api.github.com/users/darenegade/orgs","repos_url":"https://api.github.com/users/darenegade/repos","events_url":"https://api.github.com/users/darenegade/events{/privacy}","received_events_url":"https://api.github.com/users/darenegade/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":26,"state":"open","created_at":"2015-09-14T14:42:43Z","updated_at":"2015-10-13T09:24:54Z","due_on":"2015-11-26T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164/commits","review_comments_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164/comments","review_comment_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/164/comments","statuses_url":"https://api.github.com/repos/xdoo/vaadin-demo/statuses/4595023db9b669bcc5d7a94d7eb24e1e9ba57851","head":{"label":"xdoo:#147-MicroComponenten","ref":"#147-MicroComponenten","sha":"4595023db9b669bcc5d7a94d7eb24e1e9ba57851","user":{"login":"xdoo","id":712911,"avatar_url":"https://avatars.githubusercontent.com/u/712911?v=3","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"repo":{"id":32923449,"name":"vaadin-demo","full_name":"xdoo/vaadin-demo","owner":{"login":"xdoo","id":712911,"avatar_url":"https://avatars.githubusercontent.com/u/712911?v=3","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xdoo/vaadin-demo","description":"demo using vaadin with spring boot.","fork":false,"url":"https://api.github.com/repos/xdoo/vaadin-demo","forks_url":"https://api.github.com/repos/xdoo/vaadin-demo/forks","keys_url":"https://api.github.com/repos/xdoo/vaadin-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xdoo/vaadin-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xdoo/vaadin-demo/teams","hooks_url":"https://api.github.com/repos/xdoo/vaadin-demo/hooks","issue_events_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/events{/number}","events_url":"https://api.github.com/repos/xdoo/vaadin-demo/events","assignees_url":"https://api.github.com/repos/xdoo/vaadin-demo/assignees{/user}","branches_url":"https://api.github.com/repos/xdoo/vaadin-demo/branches{/branch}","tags_url":"https://api.github.com/repos/xdoo/vaadin-demo/tags","blobs_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xdoo/vaadin-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/xdoo/vaadin-demo/languages","stargazers_url":"https://api.github.com/repos/xdoo/vaadin-demo/stargazers","contributors_url":"https://api.github.com/repos/xdoo/vaadin-demo/contributors","subscribers_url":"https://api.github.com/repos/xdoo/vaadin-demo/subscribers","subscription_url":"https://api.github.com/repos/xdoo/vaadin-demo/subscription","commits_url":"https://api.github.com/repos/xdoo/vaadin-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/xdoo/vaadin-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/xdoo/vaadin-demo/contents/{+path}","compare_url":"https://api.github.com/repos/xdoo/vaadin-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xdoo/vaadin-demo/merges","archive_url":"https://api.github.com/repos/xdoo/vaadin-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xdoo/vaadin-demo/downloads","issues_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues{/number}","pulls_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/xdoo/vaadin-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/xdoo/vaadin-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xdoo/vaadin-demo/labels{/name}","releases_url":"https://api.github.com/repos/xdoo/vaadin-demo/releases{/id}","created_at":"2015-03-26T11:28:47Z","updated_at":"2015-10-08T06:28:23Z","pushed_at":"2015-10-13T11:19:05Z","git_url":"git://github.com/xdoo/vaadin-demo.git","ssh_url":"git@github.com:xdoo/vaadin-demo.git","clone_url":"https://github.com/xdoo/vaadin-demo.git","svn_url":"https://github.com/xdoo/vaadin-demo","homepage":null,"size":9009,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":18,"forks":4,"open_issues":18,"watchers":5,"default_branch":"master"}},"base":{"label":"xdoo:master","ref":"master","sha":"713bb073b6304759d444bf8d81ea6a3bedd3f16d","user":{"login":"xdoo","id":712911,"avatar_url":"https://avatars.githubusercontent.com/u/712911?v=3","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"repo":{"id":32923449,"name":"vaadin-demo","full_name":"xdoo/vaadin-demo","owner":{"login":"xdoo","id":712911,"avatar_url":"https://avatars.githubusercontent.com/u/712911?v=3","gravatar_id":"","url":"https://api.github.com/users/xdoo","html_url":"https://github.com/xdoo","followers_url":"https://api.github.com/users/xdoo/followers","following_url":"https://api.github.com/users/xdoo/following{/other_user}","gists_url":"https://api.github.com/users/xdoo/gists{/gist_id}","starred_url":"https://api.github.com/users/xdoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdoo/subscriptions","organizations_url":"https://api.github.com/users/xdoo/orgs","repos_url":"https://api.github.com/users/xdoo/repos","events_url":"https://api.github.com/users/xdoo/events{/privacy}","received_events_url":"https://api.github.com/users/xdoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xdoo/vaadin-demo","description":"demo using vaadin with spring boot.","fork":false,"url":"https://api.github.com/repos/xdoo/vaadin-demo","forks_url":"https://api.github.com/repos/xdoo/vaadin-demo/forks","keys_url":"https://api.github.com/repos/xdoo/vaadin-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xdoo/vaadin-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xdoo/vaadin-demo/teams","hooks_url":"https://api.github.com/repos/xdoo/vaadin-demo/hooks","issue_events_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/events{/number}","events_url":"https://api.github.com/repos/xdoo/vaadin-demo/events","assignees_url":"https://api.github.com/repos/xdoo/vaadin-demo/assignees{/user}","branches_url":"https://api.github.com/repos/xdoo/vaadin-demo/branches{/branch}","tags_url":"https://api.github.com/repos/xdoo/vaadin-demo/tags","blobs_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xdoo/vaadin-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/xdoo/vaadin-demo/languages","stargazers_url":"https://api.github.com/repos/xdoo/vaadin-demo/stargazers","contributors_url":"https://api.github.com/repos/xdoo/vaadin-demo/contributors","subscribers_url":"https://api.github.com/repos/xdoo/vaadin-demo/subscribers","subscription_url":"https://api.github.com/repos/xdoo/vaadin-demo/subscription","commits_url":"https://api.github.com/repos/xdoo/vaadin-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/xdoo/vaadin-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/xdoo/vaadin-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/xdoo/vaadin-demo/contents/{+path}","compare_url":"https://api.github.com/repos/xdoo/vaadin-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xdoo/vaadin-demo/merges","archive_url":"https://api.github.com/repos/xdoo/vaadin-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xdoo/vaadin-demo/downloads","issues_url":"https://api.github.com/repos/xdoo/vaadin-demo/issues{/number}","pulls_url":"https://api.github.com/repos/xdoo/vaadin-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/xdoo/vaadin-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/xdoo/vaadin-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xdoo/vaadin-demo/labels{/name}","releases_url":"https://api.github.com/repos/xdoo/vaadin-demo/releases{/id}","created_at":"2015-03-26T11:28:47Z","updated_at":"2015-10-08T06:28:23Z","pushed_at":"2015-10-13T11:19:05Z","git_url":"git://github.com/xdoo/vaadin-demo.git","ssh_url":"git@github.com:xdoo/vaadin-demo.git","clone_url":"https://github.com/xdoo/vaadin-demo.git","svn_url":"https://github.com/xdoo/vaadin-demo","homepage":null,"size":9009,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":18,"forks":4,"open_issues":18,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164"},"html":{"href":"https://github.com/xdoo/vaadin-demo/pull/164"},"issue":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/issues/164"},"comments":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/xdoo/vaadin-demo/statuses/4595023db9b669bcc5d7a94d7eb24e1e9ba57851"}}}}