/******************************************************************************* * Copyright (c) 2016 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is 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: * Red Hat, Inc. - initial API and implementation ******************************************************************************/ package org.jboss.tools.jst.reddeer.wst.jsdt.ui.wizard; import org.jboss.reddeer.jface.wizard.WizardPage; import org.jboss.reddeer.swt.impl.text.LabeledText; /** * * Wizard page for creating a JavaScript Source File. * @author Pavol Srna * */ public class NewJSFileWizardPage extends WizardPage{ /** * Sets a given file name. * * @param name Name */ public void setFileName(String fileName){ new LabeledText("File name:").setText(fileName); } }