Forge - UI Addon Example 2.0.0.Alpha3

org.jboss.forge.ui.example.wizards
Class ExampleStepOne

java.lang.Object
  extended by org.jboss.forge.ui.example.wizards.ExampleStepOne
All Implemented Interfaces:
org.jboss.forge.ui.UICommand, org.jboss.forge.ui.wizard.UIWizard, org.jboss.forge.ui.wizard.UIWizardStep

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


Constructor Summary
ExampleStepOne()
           
 
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 context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleStepOne

public ExampleStepOne()
Method Detail

getMetadata

public org.jboss.forge.ui.metadata.UICommandMetadata getMetadata()
Specified by:
getMetadata 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 context)
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

isEnabled

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

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 - UI Addon Example 2.0.0.Alpha3

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