Package org.locationtech.udig.printing.ui.internal

Examples of org.locationtech.udig.printing.ui.internal.PrintingPlugin


   
    private Map map;
    private ExportPDFWizardPage1 page1;
   
    public ExportPDFWizard(){
        PrintingPlugin plugin = PrintingPlugin.getDefault();
       
       
       
        java.util.Map<String, TemplateFactory> templateFactories = plugin.getTemplateFactories();
       
        setWindowTitle(Messages.ExportPDFWizard_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 );
        }
        setDefaultPageImageDescriptor( image );       
       
View Full Code Here


    private PrintWizardPage1 page1;
   
    private static float MARGIN = 36; //inches * points per inch
   
    public PrintWizard(){
        PrintingPlugin plugin = PrintingPlugin.getDefault();
       
        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
View Full Code Here

TOP

Related Classes of org.locationtech.udig.printing.ui.internal.PrintingPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.