content: /**
   *  Copyright (c) 2015-2016 Angelo ZERR.
   *  All rights reserved. This program and the accompanying materials
   *  are made available under the terms of the Eclipse Public License v1.0
   *  which accompanies this distribution, and is available at
   *  http://www.eclipse.org/legal/epl-v10.html
   *
   *  Contributors:
   *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
   *
   */
  package ts.eclipse.ide.angular.internal.cli.wizards;
  
  import org.eclipse.core.resources.IContainer;
  
  import ts.eclipse.ide.angular.cli.NgBlueprint;
  import ts.eclipse.ide.angular.internal.cli.AngularCLIMessages;
  import ts.eclipse.ide.angular.internal.cli.json.AngularCLIJson;
  
  /**
   * Wizard page for Angular Enum.
   *
   */
  public class NewNgEnumWizardPage extends NgGenerateBlueprintWizardPage {
  
  	private static final String PAGE_NAME = "ngEnum";
  
  	protected NewNgEnumWizardPage(IContainer folder) {
  		super(PAGE_NAME, AngularCLIMessages.NewNgEnumWizardPage_title, null, NgBlueprint.ENUM, folder);
  		super.setDescription(AngularCLIMessages.NewNgEnumWizardPage_description);
  	}
  
  	@Override
  	protected String[] getGeneratedFilesImpl() {
  		AngularCLIJson cliJson = getAngularCLIJson();
  		String name = getBlueprintName();
  		return new String[] { cliJson.getEnumFileName(name) };
  	}
  
  }
  