GitHub PullRequestReviewCommentEvent at 2014-03-19 14:44:53
Repository: uberfire
Actor: ederign
Payload: {"comment":{"url":"https://api.github.com/repos/uberfire/uberfire/pulls/comments/10751825","id":10751825,"diff_hunk":"@@ -0,0 +1,65 @@\n+/*\n+ * Copyright 2012 JBoss Inc\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance with the License. You may obtain a copy of\n+ * the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+package org.uberfire.client.workbench;\n+\n+import org.jboss.errai.common.client.api.annotations.Portable;\n+import org.uberfire.client.mvp.TemplatePerspectiveActivity;\n+import org.uberfire.workbench.model.PanelDefinition;\n+import org.uberfire.workbench.model.PanelType;\n+import org.uberfire.workbench.model.Position;\n+import org.uberfire.workbench.model.impl.PanelDefinitionImpl;\n+\n+/**\n+ * Default implementation of PanelDefinition\n+ */\n+@Portable\n+public class TemplatePanelDefinitionImpl\n+        extends PanelDefinitionImpl {\n+\n+    public transient TemplatePerspectiveActivity perspective;\n+\n+    private String fieldName;\n+\n+    public TemplatePanelDefinitionImpl(){\n+\n+    }\n+\n+    public TemplatePanelDefinitionImpl( TemplatePerspectiveActivity perspective,\n+                                        PanelType type,\n+                                        String fieldName ) {\n+        super( type );\n+        this.perspective = perspective;\n+        this.fieldName = fieldName;\n+    }\n+\n+    public String getFieldName() {\n+        return fieldName;\n+    }\n+\n+    @Override\n+    public void appendChild( final Position position,","path":"uberfire-workbench/uberfire-workbench-client/src/main/java/org/uberfire/client/workbench/TemplatePanelDefinitionImpl.java","position":53,"original_position":53,"commit_id":"e8ba489d9e5e8f1a9b4ac76d43b7425b966df497","original_commit_id":"b428b7958dfb6d7329e400116243ec90514b4fc4","user":{"login":"ederign","id":531351,"avatar_url":"https://avatars.githubusercontent.com/u/531351?","gravatar_id":"b937ab5ebe4923869c0da0d3c1b58778","url":"https://api.github.com/users/ederign","html_url":"https://github.com/ederign","followers_url":"https://api.github.com/users/ederign/followers","following_url":"https://api.github.com/users/ederign/following{/other_user}","gists_url":"https://api.github.com/users/ederign/gists{/gist_id}","starred_url":"https://api.github.com/users/ederign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederign/subscriptions","organizations_url":"https://api.github.com/users/ederign/orgs","repos_url":"https://api.github.com/users/ederign/repos","events_url":"https://api.github.com/users/ederign/events{/privacy}","received_events_url":"https://api.github.com/users/ederign/received_events","type":"User","site_admin":false},"body":"Same here :) (sorry about that)","created_at":"2014-03-19T14:44:53Z","updated_at":"2014-03-19T14:44:53Z","html_url":"https://github.com/uberfire/uberfire/pull/35#discussion_r10751825","pull_request_url":"https://api.github.com/repos/uberfire/uberfire/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/uberfire/uberfire/pulls/comments/10751825"},"html":{"href":"https://github.com/uberfire/uberfire/pull/35#discussion_r10751825"},"pull_request":{"href":"https://api.github.com/repos/uberfire/uberfire/pulls/35"}}}}