Search code examples
javaeclipseeclipse-kepler

WizardNewFileCreationPage - is it possible to add new element


I want to build new wizard and to extends from WizardNewFileCreationPage

I have 2 questions :

  1. is it possible add new button after the FileName ? Do I need to override the create createControl and then to add my logic ?

  2. is it possible to hide the "Advanced" button ?


Solution

  • You can turn of the Advanced button by overriding createAdvancedControls:

    @Override
    protected void createAdvancedControls(Composite parent)
    {
    }
    

    You could also create your button in this method.