Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Adding a scecond page for Plugin Development Wizard in Eclipse
Adding a scecond page for Plugin Development Wizard in Eclipse [message #1104331] Sun, 08 September 2013 06:42
Suneth Vijayindu is currently offline Suneth VijayinduFriend
Messages: 1
Registered: September 2013
Junior Member
Hi all,
Following code section is used to create Plugin Development project. in the first page user select a value from drop down menu.
I want to the second page to be diffret according to the value selected in the frist page how can I do it.

public class RemoteServiceHostExample1Template extends OptionTemplateSection {

private String packageName;
private String[][] Value_ecg_providers;
private Properties providers=new Properties();//create the property file for the providers

public RemoteServiceHostExample1Template() {
setPageCount(3);//set page count of the wizard two
//read from the property file
try {
Value_ecg_providers = fetchArrayFromPropFile("ecf_providers",providers);
} catch (FileNotFoundException e) {
System.out.print("Property file not found");
// TODO Auto-generated catch block
} catch (IOException e) {
// TODO Auto-generated catch block
addComboChoiceOption("containerID", "service.exported.configs", Value_ecg_providers, "",0);
//to get data from the property file
private static String[][] fetchArrayFromPropFile(String propertyName, Properties propFile) {
String[] a = propFile.getProperty(propertyName).split(";");
String[][] array = new String[a.length][a.length];
for(int i = 0;i < a.length;i++) {
array[i] = a[i].split(",");
return array;

public void addPages(Wizard wizard) {
WizardPage page = createPage(0, "org.eclipse.pde.doc.user.rcp_mail");
page.setTitle("Hello! Remote Service Host");
page.setDescription("This template creates and exports a Hello remote service");
Previous Topic:Get Progress Monitor of a running Job?
Next Topic:[target] Unnecessary remote fetch of locally available artifacts during target resolution
Goto Forum:

Current Time: Tue May 22 10:15:56 GMT 2018

Powered by FUDForum. Page generated in 0.01452 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top