WizardComponent 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic WizardComponent (r1.3 - 29 Jan 2004 - AlexeyEfimov)
Deleted:
<
<

  • Visual component of wizard component. */ public JComponent getComponent();

/**

Changed:
<
<

  • Get icon for tab */ public Icon getIcon();

/**

  • Initializing of wizard component.
>
>

  • Initializing of wizard component. This component
  • invoked then {@link Wizard} construct all steps in {@link WizardExpert?}.
Changed:
<
<

public void init(Map<String, String> properties);

>
>

public void init(Wizard wizard, Map<String, String> properties);

Changed:
<
<

  • invoke then user click on "Back" or "Next" button.
>
>

  • invoke then user click on "Previous" or "Next" button.
Changed:
<
<

public void save();

>
>

public void save(Wizard wizard);

Changed:
<
<

  • component. If settings not valid {@link ValidateException?} must
  • be thrown with described text message.
  • @throws ValidateException?
>
>

  • component. If settings not valid then method must return false.
  • If you like, you may show by {@link com.intellij.openapi.ui.Messages#showWarningDialog}
  • method error message in this method. */ public boolean validate();

/**

  • Return component for wizard component
Changed:
<
<

public void validate() throws ValidateException?;

>
>

public JComponent getComponent();


 <<O>>  Difference Topic WizardComponent (r1.2 - 29 Oct 2003 - AlexeyEfimov)
Added:
>
>

Deleted:
<
<

/**

  • Fires then user pressed "Finish" button. */ public void finish(Map<String, Object> dataContext);


 <<O>>  Difference Topic WizardComponent (r1.1 - 23 Oct 2003 - AlexeyEfimov)
Added:
>
>

%META:TOPICINFO{author="AlexeyEfimov" date="1066899660" format="1.0" version="1.1"}% %META:TOPICPARENT{name="WizardPluginDev"}%


package org.intellij.wizard; 
 
import javax.swing.*; 
import java.util.Map; 
 
/** 
 * The main component of wizard flow. 
 *  
 * @author <a href="mailto:aefimov@spklabs.com">Alexey Efimov</a> 
 */ 
public interface WizardComponent { 
  /** 
   * Visual component of wizard component. 
   */ 
  public JComponent getComponent(); 
 
  /** 
   * The name of wizard component. This name also be shown in tab title. 
   */ 
  public String getName(); 
 
  /** 
   * Get icon for tab 
   */ 
  public Icon getIcon(); 
 
  /** 
   * Initializing of wizard component. 
   * @param properties Initial properties from XML descriptor 
   */ 
  public void init(Map<String, String> properties); 
 
  /** 
   * Save wizard component settings to temporary storage. 
   * It not final task of component - it 
   * invoke then user click on "Back" or "Next" button. 
   */ 
  public void save(); 
 
  /** 
   * Method calls after {@link #save} to check valid settings in 
   * component. If settings not valid {@link ValidateException} must 
   * be thrown with described text message. 
   *  
   * @throws ValidateException  
   */ 
  public void validate() throws ValidateException; 
 
  /** 
   * Fires then user pressed "Finish" button. 
   */ 
  public void finish(Map<String, Object> dataContext); 
 
} 

View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 23 Oct 2003 - 09:01 GMT - AlexeyEfimov
Revision r1.3 - 29 Jan 2004 - 09:32 GMT - AlexeyEfimov
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.