Forge - Addon Development Addons 2.0.0.Alpha3

org.jboss.forge.addons
Class ForgeAddonSetupStep

java.lang.Object
  extended by org.jboss.forge.addons.ForgeAddonSetupStep
All Implemented Interfaces:
org.jboss.forge.ui.UICommand, org.jboss.forge.ui.wizard.UIWizard, org.jboss.forge.ui.wizard.UIWizardStep

public class ForgeAddonSetupStep
extends Object
implements org.jboss.forge.ui.wizard.UIWizardStep

Called when the Next button is pressed and the ForgeAddonProjectType is selected in NewProjectWizard

Author:
Lincoln Baxter, III, George Gastaldi

Constructor Summary
ForgeAddonSetupStep()
           
 
Method Summary
 org.jboss.forge.ui.result.Result execute(org.jboss.forge.ui.context.UIContext context)
           
 org.jboss.forge.ui.metadata.UICommandMetadata getMetadata()
           
 void initializeUI(org.jboss.forge.ui.context.UIBuilder builder)
           
 boolean isEnabled(org.jboss.forge.ui.context.UIContext context)
           
 org.jboss.forge.ui.result.NavigationResult next(org.jboss.forge.ui.context.UIContext context)
           
 void validate(org.jboss.forge.ui.context.UIValidationContext validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForgeAddonSetupStep

public ForgeAddonSetupStep()
Method Detail

getMetadata

public org.jboss.forge.ui.metadata.UICommandMetadata getMetadata()
Specified by:
getMetadata in interface org.jboss.forge.ui.UICommand

isEnabled

public boolean isEnabled(org.jboss.forge.ui.context.UIContext context)
Specified by:
isEnabled in interface org.jboss.forge.ui.UICommand

initializeUI

public void initializeUI(org.jboss.forge.ui.context.UIBuilder builder)
                  throws Exception
Specified by:
initializeUI in interface org.jboss.forge.ui.UICommand
Throws:
Exception

validate

public void validate(org.jboss.forge.ui.context.UIValidationContext validator)
Specified by:
validate in interface org.jboss.forge.ui.UICommand

execute

public org.jboss.forge.ui.result.Result execute(org.jboss.forge.ui.context.UIContext context)
                                         throws Exception
Specified by:
execute in interface org.jboss.forge.ui.UICommand
Throws:
Exception

next

public org.jboss.forge.ui.result.NavigationResult next(org.jboss.forge.ui.context.UIContext context)
                                                throws Exception
Specified by:
next in interface org.jboss.forge.ui.wizard.UIWizard
Throws:
Exception

Forge - Addon Development Addons 2.0.0.Alpha3

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