Class ContentsSection

  • All Implemented Interfaces:
    org.eclipse.ui.forms.IFormPart

    public class ContentsSection
    extends org.eclipse.ui.forms.SectionPart
    Content section of the Package Contents editor page.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.eclipse.core.resources.IResource> getContents()  
      void setContents​(java.util.List<org.eclipse.core.resources.IResource> pContents)
      Updates the section using the new contents.
      • Methods inherited from class org.eclipse.ui.forms.SectionPart

        expansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocus
      • Methods inherited from class org.eclipse.ui.forms.AbstractFormPart

        commit, dispose, getManagedForm, initialize, isDirty, isStale, markDirty, markStale, refresh, setFormInput
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentsSection

        public ContentsSection​(PackageFormPage pPage)
        Constructor.
        Parameters:
        pPage - the form page containing the section
    • Method Detail

      • getContents

        public java.util.List<org.eclipse.core.resources.IResource> getContents()
        Returns:
        the list of files and folders to add to the package
      • setContents

        public void setContents​(java.util.List<org.eclipse.core.resources.IResource> pContents)
        Updates the section using the new contents.
        Parameters:
        pContents - the package contents to put in the section