use of org.eclipse.n4js.ui.wizard.components.NameComponent in project n4js by eclipse.
the class N4JSNewClassWizardPage method createComponents.
@SuppressWarnings("unused")
@Override
public void createComponents(WizardComponentContainer container) {
nameComponent = new NameComponent(getModel(), container);
new EmptyComponent(container);
new FileTypeComponent(getModel(), container);
accessModifierComponent = new AccessModifierComponent(getModel(), container);
otherClassifierModifiersComponent = new OtherClassifierModifiersComponent(getModel(), container, true);
new EmptyComponent(container);
superClassComponentProvider.create(getModel(), container);
interfacesComponentProvider.create(getModel(), container);
setupBindings();
}
use of org.eclipse.n4js.ui.wizard.components.NameComponent in project n4js by eclipse.
the class N4JSNewInterfaceWizardPage method createComponents.
@SuppressWarnings("unused")
@Override
public void createComponents(WizardComponentContainer container) {
// instance variable to set intial focus
nameComponent = new NameComponent(getModel(), container);
new EmptyComponent(container);
new FileTypeComponent(getModel(), container);
accessModifierComponent = new AccessModifierComponent(getModel(), container);
// instance variable to allow custom bindings
otherClassifierModifiersComponent = new OtherClassifierModifiersComponent(getModel(), container, false);
new EmptyComponent(container);
interfacesComponentProvider.create(getModel(), container);
setupBindings();
}
Aggregations