Class ContentsSection
- java.lang.Object
-
- org.eclipse.ui.forms.AbstractFormPart
-
- org.eclipse.ui.forms.SectionPart
-
- org.libreoffice.ide.eclipse.core.editors.pack.ContentsSection
-
- All Implemented Interfaces:
org.eclipse.ui.forms.IFormPart
public class ContentsSection extends org.eclipse.ui.forms.SectionPartContent section of the Package Contents editor page.
-
-
Constructor Summary
Constructors Constructor Description ContentsSection(PackageFormPage pPage)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.eclipse.core.resources.IResource>getContents()voidsetContents(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
-
-
-
-
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
-
-