/*******************************************************************************
* Copyright (c) 2017 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.aerogear.reddeer.thym.ui.wizard.project;
import org.jboss.reddeer.swt.impl.group.DefaultGroup;
import org.jboss.reddeer.swt.impl.text.LabeledText;
public class WizardNewHybridProjectCreationPage {
public void setProjectName(String projectName){
new LabeledText("Project name:").setText(projectName);
}
public String getProjectName(){
return new LabeledText("Project name:").getText();
}
public void setAppName(String appName){
new LabeledText(new DefaultGroup("Mobile Application"), "Name:").setText(appName);
}
public String getAppName(){
return new LabeledText(new DefaultGroup("Mobile Application"), "Name:").getText();
}
public void setAppID(String appId){
new LabeledText(new DefaultGroup("Mobile Application"), "ID:").setText(appId);
}
public String getAppID(){
return new LabeledText(new DefaultGroup("Mobile Application"), "ID:").getText();
}
public String getAppNameMessage(){
return new LabeledText(new DefaultGroup("Mobile Application"), "Name:").getMessage();
}
public String getAppIDMessage(){
return new LabeledText(new DefaultGroup("Mobile Application"), "ID:").getMessage();
}
}