Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30951

Implement ModifiableViewGroup

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently I need to cast to Folder to add a view programmatically, e.g.

      if (parent instanceof ModifiableViewGroup) {
          ((ModifiableViewGroup) parent).addView(view);
      } else if (parent instanceof Folder) {
          ((Folder) parent).addView(view);
      } else {
          ...
      }
      

      I would be better if Folder would implement ModifiableViewGroup.

        Attachments

          Activity

          Show
          daspilker Daniel Spilker added a comment - https://github.com/jenkinsci/cloudbees-folder-plugin/pull/21
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java
          http://jenkins-ci.org/commit/cloudbees-folder-plugin/722650d2317912a9840d2d49560adc53cc89f713
          Log:
          implement ModifiableViewGroup instead of ViewGroup

          [FIXES JENKINS-30951]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java http://jenkins-ci.org/commit/cloudbees-folder-plugin/722650d2317912a9840d2d49560adc53cc89f713 Log: implement ModifiableViewGroup instead of ViewGroup [FIXES JENKINS-30951]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java
          http://jenkins-ci.org/commit/cloudbees-folder-plugin/0f56c51fd6e1060be0bf40bde740ba77a123f388
          Log:
          Merge pull request #21 from daspilker/JENKINS-30951

          JENKINS-30951 implement ModifiableViewGroup instead of ViewGroup

          Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/4c12c6b8db3a...0f56c51fd6e1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java http://jenkins-ci.org/commit/cloudbees-folder-plugin/0f56c51fd6e1060be0bf40bde740ba77a123f388 Log: Merge pull request #21 from daspilker/ JENKINS-30951 JENKINS-30951 implement ModifiableViewGroup instead of ViewGroup Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/4c12c6b8db3a...0f56c51fd6e1

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              daspilker Daniel Spilker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: