Reputation: 6009
I want to build new wizard and to extends from WizardNewFileCreationPage
I have 2 questions :
is it possible add new button after the FileName ? Do I need to override the create createControl and then to add my logic ?
is it possible to hide the "Advanced" button ?
Upvotes: 0
Views: 200
Reputation: 1
Beside override createAdvancedControls method, you also need to override createLinkTarget and validateLinkedResource methods. Those are also involved.
// Hide create link target
@Override
protected void createLinkTarget() {
return;
}
//Hide link validation
@Override
protected IStatus validateLinkedResource() {
return Status.OK_STATUS;
}
Upvotes: 0
Reputation: 111217
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.
Upvotes: 2