org.openoffice.ide.eclipse.core.editors
Class LibsSection

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.LibsSection
All Implemented Interfaces:
org.eclipse.ui.forms.IFormPart

public class LibsSection
extends org.eclipse.ui.forms.SectionPart

Basic and dialog libraries section of the Contents form page of the package editor.

Author:
cedricbosdo

Constructor Summary
LibsSection(PackageContentsFormPage pPage)
          Constructor.
 
Method Summary
 java.util.List<org.eclipse.core.resources.IFolder> getBasicLibraries()
           
 java.util.List<org.eclipse.core.resources.IFolder> getDialogLibraries()
           
 void setLibraries(PackagePropertiesModel pModel)
          Fill the libraries section from the properties file.
 
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

LibsSection

public LibsSection(PackageContentsFormPage pPage)
Constructor.

Parameters:
pPage - the form page where to create the section
Method Detail

getBasicLibraries

public java.util.List<org.eclipse.core.resources.IFolder> getBasicLibraries()
Returns:
all the selected basic libraries

getDialogLibraries

public java.util.List<org.eclipse.core.resources.IFolder> getDialogLibraries()
Returns:
all the selected dialog libraries

setLibraries

public void setLibraries(PackagePropertiesModel pModel)
Fill the libraries section from the properties file.

Parameters:
pModel - the properties file content.