Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » problems to boot solution
problems to boot solution [message #585078] Fri, 14 November 2008 16:19
raphael is currently offline raphaelFriend
Messages: 16
Registered: July 2009
Junior Member
Ola My name is Raphael and I have a problem, I'm from Brazil and
developing my second plugin, that the first was an example yours. I am
already experiencing a situation and tried everything, I tried to help
many people and nothing has been achieved, and by the way here this type
of development is still well rustic. 2 wizards who have to fill out the
necessary data I generate a structure of packages and classes. The
problem, however, that in the second wizard where they satisfied some data
and must generate a class within those packages that were created in the 1
wizard. Not able to start a variable with data coming from the first
wizard. That means I need to get this data from the first wizard and Setar
in 2 wizard, these data are the first wizard the directory path where I
will create a class in the second wizard. Half confused? I have a snippet
of code below, maybe you help me. Excuse the syntax errors. Apple iPhone?
Any response.

Get wizard 1
public String getCli(){
return txtCliente.getText();
public String getFab (){
return txtFabricante.getText();
public String getPro (){
return txtProduto.getText();

Wizard method 2
public void geraClasseBanco(){
cliente = pag.getCli(); here should take what comes from another wizard
fabricante = pag.getFab();here should take what comes from another
produto = pag.getPro();here should take what comes from another wizard

File arquivo = new
File("C:/FDDK/runtime-EclipseApplication/Extrator/src/" + cliente + '/' +
fabricante + '/' + produto + '/'+ "shared.dbs" );

File arqui = new
File("C:/FDDK/runtime-EclipseApplication/Extrator/src/" + cliente + '/' +
'/' + fabricante + '/' + produto + '/' + "shared.dbs" + '/' + banco
+ ".java");
if (!arqui.exists())
writer = new PrintWriter(new FileWriter(arqui));
}catch (Exception e) {

calling the methods in the wizard 2

Previous Topic:problems to boot solution
Next Topic:Popup Menu Example Project
Goto Forum:

Current Time: Mon Sep 20 12:27:58 GMT 2021

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

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

Back to the top