use of org.eclipse.ui.forms.editor.FormPage in project linuxtools by eclipse.
the class SpecfileFormEditor method addPages.
@Override
protected void addPages() {
try {
int index = addPage(editor, getEditorInput());
setPageText(index, Messages.SpecfileFormEditor_0);
Specfile specfile = editor.getSpecfile();
FormPage mainPackage = new MainPackagePage(this, specfile);
addPage(0, mainPackage);
addPage(1, new RpmSectionPage(this, specfile, RpmSections.PREP_SECTION));
addPage(2, new RpmSectionPage(this, specfile, RpmSections.BUILD_SECTION));
addPage(3, new RpmSectionPage(this, specfile, RpmSections.INSTALL_SECTION));
} catch (PartInitException e) {
//
}
}
use of org.eclipse.ui.forms.editor.FormPage in project linuxtools by eclipse.
the class RepoFormEditor method createImportsPage.
/**
* Creates page for importing RPMs from the workspace or the file system.
*
* @throws PartInitException
*/
private void createImportsPage() throws PartInitException {
FormPage composite = new ImportRPMsPage(this, project);
addPage(composite);
}
use of org.eclipse.ui.forms.editor.FormPage in project linuxtools by eclipse.
the class RepoFormEditor method createMetadataPage.
/**
* Creates page allowing the user to modify some of the data in the
* repomd.xml as well as some options when customizing the execution of the
* createrepo command. The default execution would satisfy most users.
*
* @throws PartInitException
*/
private void createMetadataPage() throws PartInitException {
FormPage composite = new MetadataPage(this, project);
addPage(composite);
}
Aggregations