/*
* Copyright (C) 2011-2014 GeoForge Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.geoforge.guillc.dialog;
import javax.swing.JFrame;
import org.geoforge.guillc.handler.IGfrHandlerListenerPanelDialog;
import org.geoforge.guillc.panel.GfrPnlSelEdtIoChooserFileReaderDiskPdf;
/**
*
* @author robert
*/
public class GfrDlgIoVarImpXloFromDiskPdf extends GfrDlgIoVarImpXloAbs
{
//--beg static fields
final private static int INT_WIDTH_LABEL = 110;
final private static int INT_WIDTH_CONTENT = 220;
final private static int INT_WIDTH_BUTTON = 90;
//--end static fields
public GfrDlgIoVarImpXloFromDiskPdf(
JFrame frmOwner,
String[] strsExistingItems)
{
super(
frmOwner,
strsExistingItems,
"Import PDF from local disk",
"PDF");
super._pnlIoChooser = new GfrPnlSelEdtIoChooserFileReaderDiskPdf(
(IGfrHandlerListenerPanelDialog) this);
super._pnlIoChooser.setLengths(
INT_WIDTH_LABEL, INT_WIDTH_CONTENT, INT_WIDTH_BUTTON);
super.setLengths(
INT_WIDTH_LABEL, INT_WIDTH_CONTENT, INT_WIDTH_BUTTON);
}
}