View Javadoc
1 package org.argosfields.wizard; 2 3 import org.eclipse.jface.wizard.IWizard; 4 import org.eclipse.jface.wizard.IWizardNode; 5 import org.eclipse.swt.graphics.Point; 6 7 /*** 8 * LoginWizardNode.java 9 * 10 * @author Xavier Cho 11 * @version $Revision: 1.1 $ $Date: 2003/11/04 12:03:30 $ 12 */ 13 public class LoginWizardNode implements IWizardNode { 14 private LoginWizard wizard; 15 16 /*** 17 * @see org.eclipse.jface.wizard.IWizardNode#dispose() 18 */ 19 public void dispose() { 20 if (wizard != null) { 21 wizard.dispose(); 22 } 23 } 24 25 /*** 26 * @see org.eclipse.jface.wizard.IWizardNode#getExtent() 27 */ 28 public Point getExtent() { 29 return new Point(-1, -1); 30 } 31 32 /*** 33 * @see org.eclipse.jface.wizard.IWizardNode#getWizard() 34 */ 35 public IWizard getWizard() { 36 if (wizard == null) { 37 synchronized (this) { 38 this.wizard = new LoginWizard(); 39 } 40 } 41 42 return wizard; 43 } 44 45 /*** 46 * @see org.eclipse.jface.wizard.IWizardNode#isContentCreated() 47 */ 48 public boolean isContentCreated() { 49 return (wizard != null); 50 } 51 }

This page was automatically generated by Maven