Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to change folder path in Eclipse's custom Import Wizard(How to change folder path in Eclipse's custom Import Wizard)
icon3.gif  How to change folder path in Eclipse's custom Import Wizard [message #788946] Thu, 02 February 2012 07:19 Go to next message
Vaibhav Bhalke is currently offline Vaibhav Bhalke
Messages: 2
Registered: February 2012
Junior Member
Hi all,

I am new to eclipse plugin development area. I am facing some problem related to customization.

We developed our custom Wizard by extending org.eclipse.jface.wizard.Wizard
and some interface like IImportWizard etc.

Currently our project contains 1 folder "reference".

When we are trying to import some file then we want to specify our folder_path in textBox (containerNameField from WizardResourceImportPage.java).
i.e Into folder: [org.eclipse.platform.doc/reference/common][Browse]. See Image.

index.php/fa/6987/0/


In Image by default eclipse showing Path of "Into folder" on which user perform right click operation.

While Importing our custom wizard, things we want to do
#1 We want to create "common" folder under any folder (folder on which user perform right click operation) lets say "reference"

#2 User can see Into folder: [project_name/reference/common]

#3 Imported file should copy into created "common" folder.

Our user don't want to use browse btn for specifying destination folder.


Any help or guidance in this matter would be appreciated.

[Updated on: Fri, 03 February 2012 01:53]

Report message to a moderator

Re: How to change folder path in Eclipse's custom Import Wizard [message #791971 is a reply to message #788946] Mon, 06 February 2012 08:25 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 02.02.2012 13:19, Vaibhav Bhalke wrote:
> Hi all,
>
> I am new to eclipse plugin development area. I am facing some problem related to customization.
>
> We developed our custom Wizard by extending org.eclipse.jface.wizard.Wizard
> and some interface like IImportWizard etc.
>
> Currently our project contains 1 folder "reference".
>
> When we are trying to import some file then we want to specify our folder_path in textBox (containerNameField from WizardResourceImportPage.java).
> i.e Into folder: [org.eclipse.platform.doc/reference/common][Browse]. See Image.
>
>
>
>
> In Image by default eclipse showing Path of "Into folder" on which user perform right click operation.
>
> While Importing our custom wizard, things we want to do
> #1 We want to create "common" folder under any folder (folder on which user perform right click operation) lets say "reference"
>
> #2 User can see Into folder: [project_name/A/common]
>
> #3 Imported file should copy into created "common" folder.
>
> Our user don't want to use browse btn for specifying destination folder.
>
>
> Any help or guidance in this matter would be appreciated.
Try
org.eclipse.ui.dialogs.WizardResourceImportPage.setContainerFieldValue(String)

Dani
>
Previous Topic:eclipse rcp compare editor
Next Topic:CommandContributionItem does not set checkedState for radio styles
Goto Forum:
  


Current Time: Wed Aug 20 20:24:13 EDT 2014

Powered by FUDForum. Page generated in 0.01544 seconds