Forge - UI Addon Example 2.0.0.Alpha3

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

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

public class ExampleWizard
extends Object
implements org.jboss.forge.ui.wizard.UIWizard


Constructor Summary
ExampleWizard()
           
 
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

ExampleWizard

public ExampleWizard()
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.