Forge - Projects Impl 2.0.0.Alpha3

org.jboss.forge.projects.impl
Class NewProjectWizard

java.lang.Object
  extended by org.jboss.forge.projects.impl.NewProjectWizard
All Implemented Interfaces:
UICommand, UIWizard

public class NewProjectWizard
extends Object
implements UIWizard


Constructor Summary
NewProjectWizard()
           
 
Method Summary
 Result execute(UIContext context)
           
 UICommandMetadata getMetadata()
           
 UIInput<String> getNamed()
           
 UIInput<Boolean> getOverwrite()
           
 UIInput<DirectoryResource> getTargetLocation()
           
 SingleValued<UIInput<String>,String> getTopLevelPackage()
           
 UISelectOne<ProjectType> getType()
           
 void initializeUI(UIBuilder builder)
           
 boolean isEnabled(UIContext context)
           
 NavigationResult next(UIContext context)
           
 void validate(UIValidationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewProjectWizard

public NewProjectWizard()
Method Detail

getMetadata

public UICommandMetadata getMetadata()
Specified by:
getMetadata in interface UICommand

isEnabled

public boolean isEnabled(UIContext context)
Specified by:
isEnabled in interface UICommand

initializeUI

public void initializeUI(UIBuilder builder)
                  throws Exception
Specified by:
initializeUI in interface UICommand
Throws:
Exception

validate

public void validate(UIValidationContext context)
Specified by:
validate in interface UICommand

execute

public Result execute(UIContext context)
               throws Exception
Specified by:
execute in interface UICommand
Throws:
Exception

getNamed

public UIInput<String> getNamed()

getTargetLocation

public UIInput<DirectoryResource> getTargetLocation()

getOverwrite

public UIInput<Boolean> getOverwrite()

getType

public UISelectOne<ProjectType> getType()

getTopLevelPackage

public SingleValued<UIInput<String>,String> getTopLevelPackage()

next

public NavigationResult next(UIContext context)
                      throws Exception
Specified by:
next in interface UIWizard
Throws:
Exception

Forge - Projects Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.