cz.cuni.pogamut.shed
Class NewPrimitiveWizardIterator

Package class diagram package NewPrimitiveWizardIterator
java.lang.Object
  extended by cz.cuni.pogamut.shed.NewPrimitiveWizardIterator
All Implemented Interfaces:
org.openide.WizardDescriptor.InstantiatingIterator<org.openide.WizardDescriptor>, org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

public final class NewPrimitiveWizardIterator
extends Object
implements org.openide.WizardDescriptor.InstantiatingIterator<org.openide.WizardDescriptor>

This class is an iterator used either by New File wizard or by wizard invoked by the user.


Field Summary
static String ACTION_TEMPLATE_FILE
          Path in the layer.xml filesystem to the template for the action.
static String SENSE_TEMPLATE_FILE
          Path in the layer.xml filesystem to the template for the sense.
 
Constructor Summary
NewPrimitiveWizardIterator()
           
 
Method Summary
 void addChangeListener(ChangeListener l)
           
 org.openide.WizardDescriptor.Panel<org.openide.WizardDescriptor> current()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 void initialize(org.openide.WizardDescriptor wizard)
           
 Set<?> instantiate()
           
 String name()
           
 void nextPanel()
           
 void previousPanel()
           
 void removeChangeListener(ChangeListener l)
           
 void uninitialize(org.openide.WizardDescriptor wizard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_TEMPLATE_FILE

public static final String ACTION_TEMPLATE_FILE
Path in the layer.xml filesystem to the template for the action. Must be same as the content in the TemplateRegistration.content() above.

See Also:
Constant Field Values

SENSE_TEMPLATE_FILE

public static final String SENSE_TEMPLATE_FILE
Path in the layer.xml filesystem to the template for the sense. Must be same as the content in the TemplateRegistration.content() above.

See Also:
Constant Field Values
Constructor Detail

NewPrimitiveWizardIterator

public NewPrimitiveWizardIterator()
Method Detail

instantiate

public Set<?> instantiate()
                   throws IOException
Specified by:
instantiate in interface org.openide.WizardDescriptor.InstantiatingIterator<org.openide.WizardDescriptor>
Throws:
IOException

initialize

public void initialize(org.openide.WizardDescriptor wizard)
Specified by:
initialize in interface org.openide.WizardDescriptor.InstantiatingIterator<org.openide.WizardDescriptor>

uninitialize

public void uninitialize(org.openide.WizardDescriptor wizard)
Specified by:
uninitialize in interface org.openide.WizardDescriptor.InstantiatingIterator<org.openide.WizardDescriptor>

current

public org.openide.WizardDescriptor.Panel<org.openide.WizardDescriptor> current()
Specified by:
current in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

name

public String name()
Specified by:
name in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

nextPanel

public void nextPanel()
Specified by:
nextPanel in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

previousPanel

public void previousPanel()
Specified by:
previousPanel in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

addChangeListener

public void addChangeListener(ChangeListener l)
Specified by:
addChangeListener in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>

removeChangeListener

public void removeChangeListener(ChangeListener l)
Specified by:
removeChangeListener in interface org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.