Search in sources :

Example 1 with AccessModifierComponent

use of org.eclipse.n4js.ui.wizard.components.AccessModifierComponent 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();
}
Also used : FileTypeComponent(org.eclipse.n4js.ui.wizard.components.FileTypeComponent) EmptyComponent(org.eclipse.n4js.ui.wizard.components.EmptyComponent) NameComponent(org.eclipse.n4js.ui.wizard.components.NameComponent) AccessModifierComponent(org.eclipse.n4js.ui.wizard.components.AccessModifierComponent) OtherClassifierModifiersComponent(org.eclipse.n4js.ui.wizard.components.OtherClassifierModifiersComponent)

Example 2 with AccessModifierComponent

use of org.eclipse.n4js.ui.wizard.components.AccessModifierComponent 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();
}
Also used : FileTypeComponent(org.eclipse.n4js.ui.wizard.components.FileTypeComponent) EmptyComponent(org.eclipse.n4js.ui.wizard.components.EmptyComponent) NameComponent(org.eclipse.n4js.ui.wizard.components.NameComponent) AccessModifierComponent(org.eclipse.n4js.ui.wizard.components.AccessModifierComponent) OtherClassifierModifiersComponent(org.eclipse.n4js.ui.wizard.components.OtherClassifierModifiersComponent)

Aggregations

AccessModifierComponent (org.eclipse.n4js.ui.wizard.components.AccessModifierComponent)2 EmptyComponent (org.eclipse.n4js.ui.wizard.components.EmptyComponent)2 FileTypeComponent (org.eclipse.n4js.ui.wizard.components.FileTypeComponent)2 NameComponent (org.eclipse.n4js.ui.wizard.components.NameComponent)2 OtherClassifierModifiersComponent (org.eclipse.n4js.ui.wizard.components.OtherClassifierModifiersComponent)2