org.openoffice.ide.eclipse.core.editors.pack
Class ContentsSection

java.lang.Object
  extended by org.eclipse.ui.forms.AbstractFormPart
      extended by org.eclipse.ui.forms.SectionPart
          extended by org.openoffice.ide.eclipse.core.editors.pack.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.

Author:
cedricbosdo

Constructor Summary
ContentsSection(PackageFormPage pPage)
          Constructor.
 
Method Summary
 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