org.xwiki.gwt.wysiwyg.client.plugin.macro.ui
Class EditMacroWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
          extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.AbstractMacroWizardStep
              extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.EditMacroWizardStep
All Implemented Interfaces:
WizardStep
Direct Known Subclasses:
EditGadgetWizardStep

public class EditMacroWizardStep
extends AbstractMacroWizardStep

Wizard step for editing macro parameters and content.

Version:
$Id: e4e1ff07e6fadcdeddea160b68aa5cf972f95a98 $

Constructor Summary
EditMacroWizardStep(Config config, MacroServiceAsync macroService)
          Creates a new wizard step for editing macro parameters and content.
 
Method Summary
protected  MacroCall getMacroCall()
           
protected  MacroDescriptor getMacroDescriptor()
           
 Object getResult()
          
 String getStepTitle()
          
 void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
          
 void onCancel()
          
 void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)
          
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.AbstractMacroWizardStep
getConfig, getMacroService
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
display, isAutoSubmit, setStepTitle
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditMacroWizardStep

public EditMacroWizardStep(Config config,
                           MacroServiceAsync macroService)
Creates a new wizard step for editing macro parameters and content.

Parameters:
config - the object used to configure the newly created wizard step
macroService - the macro service used to retrieve macro descriptors
Method Detail

getResult

public Object getResult()

See Also:
WizardStep.getResult()

getStepTitle

public String getStepTitle()

Specified by:
getStepTitle in interface WizardStep
Overrides:
getStepTitle in class AbstractInteractiveWizardStep
See Also:
AbstractInteractiveWizardStep.getStepTitle()

init

public void init(Object data,
                 com.google.gwt.user.client.rpc.AsyncCallback<?> cb)

See Also:
WizardStep.init(Object, AsyncCallback)

onCancel

public void onCancel()

See Also:
WizardStep.onCancel()

onSubmit

public void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)

See Also:
WizardStep.onSubmit(AsyncCallback)

getMacroDescriptor

protected MacroDescriptor getMacroDescriptor()
Returns:
the macroDescriptor

getMacroCall

protected MacroCall getMacroCall()
Returns:
the macroCall


Copyright © 2004–2014 XWiki. All rights reserved.