java.util.Map<String, TemplateFactory> templateFactories = plugin.getTemplateFactories();
setWindowTitle(Messages.PrintWizard_Title);
String key = Icons.WIZBAN +"exportpdf_wiz.gif"; //$NON-NLS-1$
ImageRegistry imageRegistry = plugin.getImageRegistry();
ImageDescriptor image = imageRegistry.getDescriptor( key );
if( image == null ){
URL banURL = plugin.getBundle().getResource( "icons/" + key ); //$NON-NLS-1$
image = ImageDescriptor.createFromURL( banURL );
imageRegistry.put( key, image );
}
//get copy of map
IEditorInput input = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.getActiveEditor().getEditorInput();