use of com.intellij.ide.util.projectWizard.EmptyModuleBuilder in project liferay-ide by liferay.
the class LiferayProjectSettingsStep method _setupPanels.
private void _setupPanels() {
ModuleBuilder moduleBuilder = (ModuleBuilder) _context.getProjectBuilder();
_restorePanel(_namePathComponent, 4);
_restorePanel(_getModulePanel(), _context.isCreatingNewProject() ? 8 : 6);
_restorePanel(_expertPanel, _context.isCreatingNewProject() ? 1 : 0);
_settingsStep = moduleBuilder == null ? null : moduleBuilder.modifySettingsStep(this);
_expertPlaceholder.setVisible(!(moduleBuilder instanceof TemplateModuleBuilder) && _expertPanel.getComponentCount() > 0);
for (int i = 0; i < 6; i++) {
Component component = _getModulePanel().getComponent(i);
component.setVisible(!(moduleBuilder instanceof EmptyModuleBuilder));
}
_settingsPanel.revalidate();
_settingsPanel.repaint();
}
Aggregations