summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2011-08-15 20:34:52 (GMT)
committer LISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2011-08-15 20:34:52 (GMT)
commitda59c988078d2a942c2b9d6a665fa7a8f0dad42e (patch)
tree0a60d1b2fc5590e9542ca8df2da8d94d10630560
parent789476b0ebfbd1c886939f96cf6cd655d2518298 (diff)
downloadQCG-Data-da59c988078d2a942c2b9d6a665fa7a8f0dad42e.zip
QCG-Data-da59c988078d2a942c2b9d6a665fa7a8f0dad42e.tar.gz
QCG-Data-da59c988078d2a942c2b9d6a665fa7a8f0dad42e.tar.bz2
Updates to iDropLiteApplet UI - add 2 more operation modes
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.form876
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java787
2 files changed, 1324 insertions, 339 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.form b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.form
index 41e46a6..d2f1ace 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.form
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.form
@@ -1,248 +1,832 @@
<?xml version="1.1" encoding="UTF-8" ?>
-<Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JAppletFormInfo">
+<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JAppletFormInfo">
<Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 200]"/>
+ </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[600, 400]"/>
+ <Dimension value="[700, 450]"/>
</Property>
</Properties>
<AuxValues>
- <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
- <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-62,0,0,2,-68"/>
</AuxValues>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="pnlMain" alignment="0" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="pnlMain" alignment="0" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- </Layout>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
- <Container class="javax.swing.JPanel" name="pnlMain">
+ <Container class="javax.swing.JTabbedPane" name="pnlTabbedMain">
<Properties>
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
- <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
- <EtchetBorder/>
- </Border>
- </Property>
+ <Property name="tabPlacement" type="int" value="4"/>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 200]"/>
+ <Dimension value="[250, 200]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[600, 400]"/>
+ <Dimension value="[700, 450]"/>
</Property>
- <Property name="requestFocusEnabled" type="boolean" value="false"/>
</Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
<SubComponents>
- <Container class="javax.swing.JPanel" name="pnlTools">
+ <Container class="javax.swing.JPanel" name="pnlMain">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
- <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo">
- <BevelBorder/>
+ <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
+ <EtchetBorder/>
</Border>
</Property>
- </Properties>
- <Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="North"/>
- </Constraint>
- </Constraints>
-
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <EmptySpace min="0" pref="592" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- </Layout>
- </Container>
- <Container class="javax.swing.JTabbedPane" name="tabIrodsViews">
- <Properties>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[300, 300]"/>
+ <Dimension value="[250, 200]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[600, 400]"/>
+ <Dimension value="[700, 450]"/>
</Property>
- <Property name="requestFocusEnabled" type="boolean" value="false"/>
</Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="Center"/>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Main">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.pnlMain.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </JTabbedPaneConstraints>
</Constraint>
</Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
- <Container class="javax.swing.JPanel" name="pnlIrodsTreeView">
+ <Container class="javax.swing.JPanel" name="pnlMainToolBar">
+ <Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 30]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 40]"/>
+ </Property>
+ </Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
- <JTabbedPaneConstraints tabName="iRODS Tree View">
- <Property name="tabTitle" type="java.lang.String" value="iRODS Tree View"/>
- </JTabbedPaneConstraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="North"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
- <Container class="javax.swing.JPanel" name="pnlIrodsTreeToolbar">
+ <Container class="javax.swing.JPanel" name="pnlToolBarSizer">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[632, 50]"/>
+ </Property>
+ <Property name="size" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[100, 50]"/>
+ </Property>
+ </Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="North"/>
+ <BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
- <Component class="javax.swing.JButton" name="bntRefreshIrodsTree">
+ <Container class="javax.swing.JPanel" name="pnlLocalToggleSizer">
<Properties>
- <Property name="horizontalTextPosition" type="int" value="0"/>
- <Property name="label" type="java.lang.String" value="Refresh"/>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 50]"/>
+ </Property>
</Properties>
- </Component>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="West"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="btnToggleLocalView" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="btnToggleLocalView" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="11" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JToggleButton" name="btnToggleLocalView">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnToggleLocalView.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnToggleLocalViewActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlSearchSizer">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[300, 50]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="350" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="40" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlPlaceholder">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 50]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="East"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="150" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="40" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ </Container>
</SubComponents>
</Container>
- <Container class="javax.swing.JPanel" name="pnlTreeMaster">
- <Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="South"/>
- </Constraint>
- </Constraints>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlMainTrees">
+ <Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 150]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 375]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
- </Container>
- <Container class="javax.swing.JScrollPane" name="scrollIrodsTree">
- <Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="Center"/>
- </Constraint>
- </Constraints>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JSplitPane" name="pnlSplitPaneLocalRemote">
+ <Properties>
+ <Property name="dividerLocation" type="int" value="300"/>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 150]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 375]"/>
+ </Property>
+ </Properties>
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlLocalTree">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.SoftBevelBorderInfo">
+ <BevelBorder/>
+ </Border>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 62]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
+ <JSplitPaneConstraints position="left"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlLocalRoots">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="North"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlLocalRefreshButton">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="North"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JButton" name="btnLocalRefresh">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnLocalRefresh.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JScrollPane" name="scrollLocalDrives">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlDrivesFiller">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="South"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="292" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JScrollPane" name="scrollLocalFileTree">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlIrodsTree">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.SoftBevelBorderInfo">
+ <BevelBorder/>
+ </Border>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription">
+ <JSplitPaneConstraints position="right"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="tabIrodsViews" alignment="0" pref="333" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="tabIrodsViews" alignment="0" pref="341" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Container class="javax.swing.JTabbedPane" name="tabIrodsViews">
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlIrodsTreeView">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="IRODS Tree View">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.pnlIrodsTreeView.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlIrodsTreeViewButtons">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="North"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JButton" name="btnIrodsTreeRefresh">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnIrodsTreeRefresh.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnIrodsTreeRefreshActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JScrollPane" name="scrIrodsTreeView">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlIrodsSearch">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Search">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.pnlIrodsSearch.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="83" max="-2" attributes="0"/>
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="141" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="84" max="-2" attributes="0"/>
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="195" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
</Container>
</SubComponents>
</Container>
- <Container class="javax.swing.JPanel" name="pnlSearch">
+ <Container class="javax.swing.JPanel" name="pnlMainStatus">
<Properties>
- <Property name="name" type="java.lang.String" value="pnlSearch" noResource="true"/>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 30]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 34]"/>
+ </Property>
</Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
- <JTabbedPaneConstraints tabName="Search">
- <Property name="tabTitle" type="java.lang.String" value="Search"/>
- </JTabbedPaneConstraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="South"/>
</Constraint>
</Constraints>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <EmptySpace min="0" pref="575" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <EmptySpace min="0" pref="271" max="32767" attributes="0"/>
- </Group>
- </DimensionLayout>
- </Layout>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="lblTransferFileName">
+ <Properties>
+ <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
+ <Font name="Lucida Grande" size="12" style="0"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.lblTransferFileName.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[100, 16]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 16]"/>
+ </Property>
+ <Property name="requestFocusEnabled" type="boolean" value="false"/>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="10" insetsLeft="10" insetsBottom="5" insetsRight="5" anchor="18" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ <Component class="javax.swing.JProgressBar" name="pbTransferStatus">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo">
+ <BevelBorder bevelType="1"/>
+ </Border>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[100, 24]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[300, 24]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="5" insetsRight="15" anchor="18" weightX="8.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ </SubComponents>
</Container>
</SubComponents>
</Container>
- <Container class="javax.swing.JPanel" name="pnlTransferStatus">
+ <Container class="javax.swing.JPanel" name="pnlOperationMode2">
<Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 200]"/>
+ </Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[600, 75]"/>
+ <Dimension value="[700, 450]"/>
</Property>
- <Property name="requestFocusEnabled" type="boolean" value="false"/>
</Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
- <BorderConstraints direction="Last"/>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Upload">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.pnlOperationMode2.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </JTabbedPaneConstraints>
</Constraint>
</Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
- <Component class="javax.swing.JLabel" name="jLabel1">
+ <Container class="javax.swing.JPanel" name="pnlUploadTrees">
<Properties>
- <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
- <Font name="Lucida Grande" size="12" style="0"/>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 160]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 385]"/>
</Property>
- <Property name="text" type="java.lang.String" value="Current File:"/>
</Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
- <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="10" insetsLeft="15" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.0"/>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
- </Component>
- <Component class="javax.swing.JLabel" name="lblTransferFileName">
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlUploadLocalTree">
+ <Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[0, 0]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[285, 380]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.4" weightY="0.2"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane2">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlUploadCenterTools">
+ <Properties>
+ <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[65, 32767]"/>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[30, 100]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[50, 380]"/>
+ </Property>
+ <Property name="requestFocusEnabled" type="boolean" value="false"/>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.0" weightY="0.2"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JButton" name="btnUploadMove">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnUploadMove.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
+ <Insets value="[0, 0, 0, 0]"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnUploadMoveActionPerformed"/>
+ </Events>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlUploadTable">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[310, 380]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="2" gridY="0" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="0.4" weightY="0.2"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane3">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[275, 380]"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTable" name="tblUploadTable">
+ <Properties>
+ <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
+ <Table columnCount="4" rowCount="4">
+ <Column editable="true" title="Title 1" type="java.lang.Object"/>
+ <Column editable="true" title="Title 2" type="java.lang.Object"/>
+ <Column editable="true" title="Title 3" type="java.lang.Object"/>
+ <Column editable="true" title="Title 4" type="java.lang.Object"/>
+ </Table>
+ </Property>
+ <Property name="bounds" type="java.awt.Rectangle" editor="org.netbeans.beaninfo.editors.RectangleEditor">
+ <Rectangle value="[0, 0, 350, 64]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[285, 380]"/>
+ </Property>
+ <Property name="showGrid" type="boolean" value="true"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlUploadToolbar">
<Properties>
- <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
- <Font name="Lucida Grande" size="10" style="0"/>
- </Property>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 22]"/>
+ <Dimension value="[32767, 60]"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[100, 22]"/>
+ <Dimension value="[250, 30]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 22]"/>
+ <Dimension value="[700, 40]"/>
</Property>
- <Property name="requestFocusEnabled" type="boolean" value="false"/>
</Properties>
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
- <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="15" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="South"/>
</Constraint>
</Constraints>
- </Component>
- <Component class="javax.swing.JProgressBar" name="pbTransferStatus">
- <Properties>
- <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
- <Font name="Lucida Grande" size="12" style="0"/>
- </Property>
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
- <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo">
- <BevelBorder bevelType="1"/>
- </Border>
- </Property>
- <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[100, 24]"/>
- </Property>
- <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[300, 24]"/>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlUploadToolStatus">
+ <Properties>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[300, 20]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="10" insetsBottom="0" insetsRight="0" anchor="18" weightX="40.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="lblUploadTransferFileName">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.lblUploadTransferFileName.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[400, 16]"/>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[100, 16]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 16]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="10" insetsLeft="10" insetsBottom="5" insetsRight="5" anchor="18" weightX="0.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ <Component class="javax.swing.JProgressBar" name="pbUploadTransferStatus">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.BevelBorderInfo">
+ <BevelBorder bevelType="1"/>
+ </Border>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="136" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="5" insetsRight="15" anchor="18" weightX="8.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JButton" name="btnUploadBeginImport">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnUploadBeginImport.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="50.0" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ <Component class="javax.swing.JButton" name="btnUploadCancel">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.btnUploadCancel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+ <GridBagConstraints gridX="2" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.6" weightY="0.0"/>
+ </Constraint>
+ </Constraints>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="pnlOperationMode3">
+ <Properties>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[250, 200]"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[700, 450]"/>
+ </Property>
+ </Properties>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Progress">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/irods/jargon/idrop/lite/Bundle.properties" key="iDropLiteApplet.pnlOperationMode3.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
- <Property name="stringPainted" type="boolean" value="true"/>
- </Properties>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="pnlProgressTable">
<Constraints>
- <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
- <GridBagConstraints gridX="2" gridY="1" gridWidth="1" gridHeight="2" fill="2" ipadX="0" ipadY="0" insetsTop="10" insetsLeft="10" insetsBottom="0" insetsRight="15" anchor="18" weightX="40.0" weightY="0.0"/>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
- </Component>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane4">
+ <AuxValues>
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+ <BorderConstraints direction="Center"/>
+ </Constraint>
+ </Constraints>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ <SubComponents>
+ <Component class="javax.swing.JTable" name="tblProgress">
+ <Properties>
+ <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
+ <Table columnCount="4" rowCount="4">
+ <Column editable="true" title="Title 1" type="java.lang.Object"/>
+ <Column editable="true" title="Title 2" type="java.lang.Object"/>
+ <Column editable="true" title="Title 3" type="java.lang.Object"/>
+ <Column editable="true" title="Title 4" type="java.lang.Object"/>
+ </Table>
+ </Property>
+ <Property name="showGrid" type="boolean" value="true"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ </SubComponents>
+ </Container>
</SubComponents>
</Container>
</SubComponents>
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
index 29c5922..b0df95c 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
@@ -4,28 +4,25 @@
*/
/*
- * iDropLiteApplet.java
+ * NewJApplet.java
*
- * Created on Jun 7, 2011, 4:10:11 PM
+ * Created on Jul 13, 2011, 11:52:59 AM
*/
package org.irods.jargon.idrop.lite;
import java.awt.Rectangle;
-import java.awt.dnd.DnDConstants;
-import java.awt.dnd.DropTarget;
-import java.awt.dnd.DropTargetDragEvent;
-import java.awt.dnd.DropTargetDropEvent;
-import java.awt.dnd.DropTargetEvent;
-import java.awt.dnd.DropTargetListener;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
+import java.io.File;
+import java.util.List;
import java.util.logging.Level;
-import javax.swing.JOptionPane;
import java.util.logging.Logger;
-import javax.swing.JToggleButton;
+
+import javax.swing.DefaultListModel;
+import javax.swing.JList;
+import javax.swing.JOptionPane;
+import javax.swing.event.ListSelectionEvent;
+import javax.swing.event.ListSelectionListener;
import javax.swing.tree.TreePath;
-import javax.swing.tree.TreeSelectionModel;
import org.irods.jargon.core.pub.domain.DataObject;
import org.irods.jargon.core.pub.domain.Collection;
@@ -46,7 +43,7 @@ import org.slf4j.LoggerFactory;
*
* @author lisa
*/
-public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetListener, TransferStatusCallbackListener {
+public class iDropLiteApplet extends javax.swing.JApplet implements TransferStatusCallbackListener {
private static final org.slf4j.Logger log = LoggerFactory.getLogger(iDropLiteApplet.class);
private final Integer defaultLoginMode = -1;
@@ -63,15 +60,15 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
private String tempPswd;
private String absPath;
IRODSFileSystem irodsFileSystem = null;
+ private LocalFileSystemModel localFileModel = null;
+ private JList listLocalDrives;
- /** Initializes the applet iDropLiteApplet */
+ /** Initializes the applet NewJApplet */
public void init() {
try {
-
java.awt.EventQueue.invokeAndWait(new Runnable() {
public void run() {
-
- getAppletParams();
+ getAppletParams();
if(doStartup()) {
initComponents();
}
@@ -82,7 +79,6 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
}
}
-
protected void getAppletParams() {
try {
@@ -90,7 +86,7 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
} catch (Exception ex) {
this.mode = defaultLoginMode;
}
-
+
try {
this.host = getParameter("host");
this.port = Integer.parseInt(getParameter("port"));
@@ -112,13 +108,13 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, ex);
showIdropException(ex);
}
-
+
}
-
+
private boolean retrievePermAccount()
{
String pswd = null;
-
+
DataCacheServiceImpl dataCache = new DataCacheServiceImpl();
try {
dataCache.setIrodsAccessObjectFactory(irodsFileSystem.getIRODSAccessObjectFactory());
@@ -126,7 +122,7 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, e1);
}
dataCache.setIrodsAccount(irodsAccount);
-
+
try {
log.info("sending user name and key user:{}", user);
pswd = dataCache.retrieveStringValueFromCache(user, tempPswd);
@@ -136,14 +132,14 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, e2);
return false;
}
-
+
return true;
}
-
+
private boolean createPermAccount()
{
this.irodsAccount = new IRODSAccount(host, port, user, tempPswd, absPath, zone, defaultStorageResource);
-
+
return true;
}
@@ -153,9 +149,9 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
// do different logins depending on which mode is used
// 0 - Hard-coded permanent password - just use this password to create and IRODS Account
// 1 - Temporary password supplied - use this password to retrieve permanent password from cache file in cacheServiceTempDir
-
+
switch(this.mode) {
-
+
case 1:
log.info("processLogin: retrieving permanent password...");
if(!retrievePermAccount()) {
@@ -173,10 +169,10 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
default:
showMessageFromOperation("Unsupported Login Mode");
return false;
-
+
}
-
-
+
+
try {
final UserAO userAO = irodsFileSystem.getIRODSAccessObjectFactory().getUserAO(irodsAccount);
@@ -216,17 +212,17 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
protected boolean doStartup() {
log.info("initiating startup sequence...");
-
+
log.info("creating irods file system instance...");
try {
irodsFileSystem = IRODSFileSystem.instance();
} catch (JargonException ex) {
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, ex);
}
-
+
log.info("creating temporary irods account...");
this.irodsAccount = new IRODSAccount(host, port, user, tempPswd, absPath, zone, defaultStorageResource);
-
+
log.info("creating idropCore...");
iDropCore = new iDropLiteCore();
@@ -235,7 +231,8 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
}
buildTargetTree();
-
+ setUpLocalFileSelectTree();
+
try {
DataTransferOperations dataTransferOperations = irodsFileSystem.getIRODSAccessObjectFactory()
@@ -245,7 +242,7 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
catch(JargonException ex) {
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, ex);
}
-
+
return true;
}
@@ -291,13 +288,13 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
throw new IdropRuntimeException(ex);
}
- scrollIrodsTree.setViewportView(getTreeStagingResource());
+ scrIrodsTreeView.setViewportView(getTreeStagingResource());
try {
TreePath selectedPath = TreeUtils.buildTreePathForIrodsAbsolutePath(irodsTree, absPath);
irodsTree.expandPath(selectedPath);
//irodsTree.getSelectionModel().setSelectionInterval(10, 12);
Rectangle rect = irodsTree.getPathBounds(selectedPath);
- scrollIrodsTree.getViewport().scrollRectToVisible(rect);
+ scrIrodsTreeView.getViewport().scrollRectToVisible(rect);
}
catch(IdropException ex) {
Logger.getLogger(iDropLiteApplet.class.getName()).log(Level.SEVERE, null, ex);
@@ -312,12 +309,109 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
irodsTree.setRefreshingTree(false);
getiDropCore().getIrodsFileSystem().closeAndEatExceptions(iDropCore.getIrodsAccount());
- DropTarget dt = new DropTarget();
- dt.setComponent(irodsTree.getEditorComponent());
- //dt.addDropTargetListener(this);
}
});
}
+
+ private void setUpLocalFileSelectTree() {
+
+ /*
+ * build a list of the roots (e.g. drives on windows systems). If there
+ * is only one, use it as the basis for the file model, otherwise,
+ * display an additional panel listing the other roots, and build the
+ * tree for the first drive encountered.
+ */
+
+ if (fileTree != null) {
+ log.info("file tree already initialized");
+ return;
+ }
+
+ log.info("building tree to look at local file system");
+ final iDropLiteApplet gui = this;
+
+ java.awt.EventQueue.invokeLater(new Runnable() {
+
+ @Override
+ public void run() {
+ listLocalDrives = new JList();
+
+ initializeLocalFileTreeModel(null);
+ fileTree = new LocalFileTree(localFileModel, gui);
+ listLocalDrives.getSelectionModel().addListSelectionListener(
+ new ListSelectionListener() {
+
+ @Override
+ public void valueChanged(final ListSelectionEvent e) {
+ if (e.getValueIsAdjusting()) {
+ return;
+ }
+
+ log.debug("new local file system model");
+ log.debug("selection event:{}", e);
+ Object selectedItem = listLocalDrives.getSelectedValue();
+ initializeLocalFileTreeModelWhenDriveIsSelected(selectedItem);
+
+ }
+ });
+ scrollLocalFileTree.setViewportView(fileTree);
+ pnlLocalTree.add(scrollLocalFileTree,
+ java.awt.BorderLayout.CENTER);
+ pnlLocalTree.setVisible(false);
+ }
+ });
+
+ }
+
+ private void initializeLocalFileTreeModelWhenDriveIsSelected(
+ final Object selectedDrive) {
+ if (selectedDrive == null) {
+ log.debug("selected drive is null, use the first one");
+ listLocalDrives.setSelectedIndex(0);
+
+ localFileModel = new LocalFileSystemModel(new LocalFileNode(
+ new File((String) listLocalDrives.getSelectedValue())));
+
+ fileTree.setModel(localFileModel);
+ } else {
+ log.debug(
+ "selected drive is not null, create new root based on selection",
+ selectedDrive);
+ listLocalDrives.setSelectedValue(selectedDrive, true);
+ localFileModel = new LocalFileSystemModel(new LocalFileNode(
+ new File((String) selectedDrive)));
+ fileTree.setModel(localFileModel);
+
+ }
+
+ scrollLocalDrives.setVisible(true);
+ }
+
+ private void initializeLocalFileTreeModel(final Object selectedDrive) {
+ List<String> roots = LocalFileUtils.listFileRootsForSystem();
+
+ if (roots.isEmpty()) {
+ IdropException ie = new IdropException(
+ "unable to find any roots on the local file system");
+ log.error("error building roots on local file system", ie);
+ showIdropException(ie);
+ return;
+ } else if (roots.size() == 1) {
+ scrollLocalDrives.setVisible(false);
+ localFileModel = new LocalFileSystemModel(new LocalFileNode(
+ new File(roots.get(0))));
+
+ } else {
+ DefaultListModel listModel = new DefaultListModel();
+ for (String root : roots) {
+ listModel.addElement(root);
+ }
+
+ listLocalDrives.setModel(listModel);
+
+ scrollLocalDrives.setVisible(true);
+ }
+ }
public IRODSAccount getIrodsAccount() {
synchronized (this) {
@@ -325,10 +419,6 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
}
}
- public JToggleButton getToggleIrodsDetails() {
- // FIX ME: NEED TO IMPLEMENT
- return new JToggleButton();
- }
public void showIdropException(Exception idropException) {
JOptionPane.showMessageDialog(this, idropException.getMessage(), "iDROP Exception", JOptionPane.WARNING_MESSAGE);
@@ -347,10 +437,10 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
});
}
-
+
@Override
public void statusCallback(final TransferStatus ts) {
-
+
this.pbTransferStatus.setMaximum((int) ts.getTotalSize());
this.pbTransferStatus.setValue((int) ts.getBytesTransfered());
//this.pbTransferStatus.setMaximum((int) ts.getTotalFilesToTransfer());
@@ -370,13 +460,13 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
lblTransferFileName.setText(abbreviateFileName(ts.getSourceFileAbsolutePath()));
}
});
-
+
}
@Override
public void overallStatusCallback(final TransferStatus ts) {
-
+
IRODSOutlineModel irodsTreeModel = (IRODSOutlineModel) irodsTree.getModel();
try {
irodsTreeModel.notifyCompletionOfOperation(irodsTree, ts);
@@ -404,10 +494,10 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
lblTransferFileName.setText(abbreviateFileName(ts.getSourceFileAbsolutePath()));
}
});
-
+
}
-
+
private final String abbreviateFileName(final String fileName) {
if (fileName == null) {
@@ -428,6 +518,28 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
}
+ public IRODSTree getIrodsTree() {
+ return irodsTree;
+ }
+
+ public iDropLiteCore getiDropCore() {
+ return iDropCore;
+ }
+
+ public LocalFileTree getFileTree() {
+ return fileTree;
+ }
+
+ public Outline getTreeStagingResource() {
+ return irodsTree;
+ }
+
+ private void bntRefreshIrodsTreeActionPerformed(java.awt.event.ActionEvent evt) {
+ // FIX ME: get current view of irods tree and pass to buildTargetTree
+ buildTargetTree();
+ }
+
+
/** This method is called from within the init() method to
* initialize the form.
@@ -435,212 +547,501 @@ public class iDropLiteApplet extends javax.swing.JApplet implements DropTargetLi
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
- // <editor-fold defaultstate="collapsed" desc="Generated Code">
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
+ pnlTabbedMain = new javax.swing.JTabbedPane();
pnlMain = new javax.swing.JPanel();
- pnlTools = new javax.swing.JPanel();
+ pnlMainToolBar = new javax.swing.JPanel();
+ pnlToolBarSizer = new javax.swing.JPanel();
+ pnlLocalToggleSizer = new javax.swing.JPanel();
+ btnToggleLocalView = new javax.swing.JToggleButton();
+ pnlSearchSizer = new javax.swing.JPanel();
+ pnlPlaceholder = new javax.swing.JPanel();
+ pnlMainTrees = new javax.swing.JPanel();
+ pnlSplitPaneLocalRemote = new javax.swing.JSplitPane();
+ pnlLocalTree = new javax.swing.JPanel();
+ pnlLocalRoots = new javax.swing.JPanel();
+ pnlLocalRefreshButton = new javax.swing.JPanel();
+ btnLocalRefresh = new javax.swing.JButton();
+ scrollLocalDrives = new javax.swing.JScrollPane();
+ pnlDrivesFiller = new javax.swing.JPanel();
+ scrollLocalFileTree = new javax.swing.JScrollPane();
+ pnlIrodsTree = new javax.swing.JPanel();
tabIrodsViews = new javax.swing.JTabbedPane();
pnlIrodsTreeView = new javax.swing.JPanel();
- pnlIrodsTreeToolbar = new javax.swing.JPanel();
- bntRefreshIrodsTree = new javax.swing.JButton();
- pnlTreeMaster = new javax.swing.JPanel();
- scrollIrodsTree = new javax.swing.JScrollPane();
- pnlSearch = new javax.swing.JPanel();
- pnlTransferStatus = new javax.swing.JPanel();
+ pnlIrodsTreeViewButtons = new javax.swing.JPanel();
+ btnIrodsTreeRefresh = new javax.swing.JButton();
+ scrIrodsTreeView = new javax.swing.JScrollPane();
+ pnlIrodsSearch = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
+ pnlMainStatus = new javax.swing.JPanel();
lblTransferFileName = new javax.swing.JLabel();
pbTransferStatus = new javax.swing.JProgressBar();
-
- setPreferredSize(new java.awt.Dimension(600, 400));
+ pnlOperationMode2 = new javax.swing.JPanel();
+ pnlUploadTrees = new javax.swing.JPanel();
+ pnlUploadLocalTree = new javax.swing.JPanel();
+ jScrollPane2 = new javax.swing.JScrollPane();
+ pnlUploadCenterTools = new javax.swing.JPanel();
+ btnUploadMove = new javax.swing.JButton();
+ pnlUploadTable = new javax.swing.JPanel();
+ jScrollPane3 = new javax.swing.JScrollPane();
+ tblUploadTable = new javax.swing.JTable();
+ pnlUploadToolbar = new javax.swing.JPanel();
+ pnlUploadToolStatus = new javax.swing.JPanel();
+ lblUploadTransferFileName = new javax.swing.JLabel();
+ pbUploadTransferStatus = new javax.swing.JProgressBar();
+ btnUploadBeginImport = new javax.swing.JButton();
+ btnUploadCancel = new javax.swing.JButton();
+ pnlOperationMode3 = new javax.swing.JPanel();
+ pnlProgressTable = new javax.swing.JPanel();
+ jScrollPane4 = new javax.swing.JScrollPane();
+ tblProgress = new javax.swing.JTable();
+
+ setMinimumSize(new java.awt.Dimension(250, 200));
+ setPreferredSize(new java.awt.Dimension(700, 450));
+
+ pnlTabbedMain.setTabPlacement(javax.swing.JTabbedPane.RIGHT);
+ pnlTabbedMain.setMinimumSize(new java.awt.Dimension(250, 200));
+ pnlTabbedMain.setPreferredSize(new java.awt.Dimension(700, 450));
pnlMain.setBorder(javax.swing.BorderFactory.createEtchedBorder());
- pnlMain.setMinimumSize(new java.awt.Dimension(200, 200));
- pnlMain.setPreferredSize(new java.awt.Dimension(600, 400));
- pnlMain.setRequestFocusEnabled(false);
+ pnlMain.setMinimumSize(new java.awt.Dimension(250, 200));
+ pnlMain.setPreferredSize(new java.awt.Dimension(700, 450));
pnlMain.setLayout(new java.awt.BorderLayout());
- pnlTools.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
+ pnlMainToolBar.setMinimumSize(new java.awt.Dimension(250, 30));
+ pnlMainToolBar.setPreferredSize(new java.awt.Dimension(700, 40));
+ pnlMainToolBar.setLayout(new java.awt.BorderLayout());
+
+ pnlToolBarSizer.setPreferredSize(new java.awt.Dimension(632, 50));
+ pnlToolBarSizer.setSize(new java.awt.Dimension(100, 50));
+ pnlToolBarSizer.setLayout(new java.awt.BorderLayout());
+
+ pnlLocalToggleSizer.setPreferredSize(new java.awt.Dimension(150, 50));
+
+ btnToggleLocalView.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnToggleLocalView.text")); // NOI18N
+ btnToggleLocalView.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnToggleLocalViewActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout pnlLocalToggleSizerLayout = new org.jdesktop.layout.GroupLayout(pnlLocalToggleSizer);
+ pnlLocalToggleSizer.setLayout(pnlLocalToggleSizerLayout);
+ pnlLocalToggleSizerLayout.setHorizontalGroup(
+ pnlLocalToggleSizerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlLocalToggleSizerLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(btnToggleLocalView)
+ .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ pnlLocalToggleSizerLayout.setVerticalGroup(
+ pnlLocalToggleSizerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlLocalToggleSizerLayout.createSequentialGroup()
+ .add(btnToggleLocalView)
+ .addContainerGap(11, Short.MAX_VALUE))
+ );
+
+ pnlToolBarSizer.add(pnlLocalToggleSizer, java.awt.BorderLayout.WEST);
+
+ pnlSearchSizer.setPreferredSize(new java.awt.Dimension(300, 50));
+
+ org.jdesktop.layout.GroupLayout pnlSearchSizerLayout = new org.jdesktop.layout.GroupLayout(pnlSearchSizer);
+ pnlSearchSizer.setLayout(pnlSearchSizerLayout);
+ pnlSearchSizerLayout.setHorizontalGroup(
+ pnlSearchSizerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 350, Short.MAX_VALUE)
+ );
+ pnlSearchSizerLayout.setVerticalGroup(
+ pnlSearchSizerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 40, Short.MAX_VALUE)
+ );
+
+ pnlToolBarSizer.add(pnlSearchSizer, java.awt.BorderLayout.CENTER);
+
+ pnlPlaceholder.setPreferredSize(new java.awt.Dimension(150, 50));
+
+ org.jdesktop.layout.GroupLayout pnlPlaceholderLayout = new org.jdesktop.layout.GroupLayout(pnlPlaceholder);
+ pnlPlaceholder.setLayout(pnlPlaceholderLayout);
+ pnlPlaceholderLayout.setHorizontalGroup(
+ pnlPlaceholderLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 150, Short.MAX_VALUE)
+ );
+ pnlPlaceholderLayout.setVerticalGroup(
+ pnlPlaceholderLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 40, Short.MAX_VALUE)
+ );
+
+ pnlToolBarSizer.add(pnlPlaceholder, java.awt.BorderLayout.EAST);
+
+ pnlMainToolBar.add(pnlToolBarSizer, java.awt.BorderLayout.CENTER);
+
+ pnlMain.add(pnlMainToolBar, java.awt.BorderLayout.NORTH);
+
+ pnlMainTrees.setMinimumSize(new java.awt.Dimension(250, 150));
+ pnlMainTrees.setPreferredSize(new java.awt.Dimension(700, 375));
+ pnlMainTrees.setLayout(new javax.swing.BoxLayout(pnlMainTrees, javax.swing.BoxLayout.LINE_AXIS));
+
+ pnlSplitPaneLocalRemote.setDividerLocation(300);
+ pnlSplitPaneLocalRemote.setMinimumSize(new java.awt.Dimension(250, 150));
+ pnlSplitPaneLocalRemote.setPreferredSize(new java.awt.Dimension(700, 375));
+
+ pnlLocalTree.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
+ pnlLocalTree.setMinimumSize(new java.awt.Dimension(0, 62));
+ pnlLocalTree.setLayout(new java.awt.BorderLayout());
+
+ pnlLocalRoots.setLayout(new java.awt.BorderLayout());
+
+ btnLocalRefresh.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnLocalRefresh.text")); // NOI18N
+ pnlLocalRefreshButton.add(btnLocalRefresh);
+
+ pnlLocalRoots.add(pnlLocalRefreshButton, java.awt.BorderLayout.NORTH);
+ pnlLocalRoots.add(scrollLocalDrives, java.awt.BorderLayout.CENTER);
- org.jdesktop.layout.GroupLayout pnlToolsLayout = new org.jdesktop.layout.GroupLayout(pnlTools);
- pnlTools.setLayout(pnlToolsLayout);
- pnlToolsLayout.setHorizontalGroup(
- pnlToolsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(0, 592, Short.MAX_VALUE)
+ org.jdesktop.layout.GroupLayout pnlDrivesFillerLayout = new org.jdesktop.layout.GroupLayout(pnlDrivesFiller);
+ pnlDrivesFiller.setLayout(pnlDrivesFillerLayout);
+ pnlDrivesFillerLayout.setHorizontalGroup(
+ pnlDrivesFillerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 292, Short.MAX_VALUE)
);
- pnlToolsLayout.setVerticalGroup(
- pnlToolsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ pnlDrivesFillerLayout.setVerticalGroup(
+ pnlDrivesFillerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 0, Short.MAX_VALUE)
);
- pnlMain.add(pnlTools, java.awt.BorderLayout.NORTH);
+ pnlLocalRoots.add(pnlDrivesFiller, java.awt.BorderLayout.SOUTH);
- tabIrodsViews.setMinimumSize(new java.awt.Dimension(300, 300));
- tabIrodsViews.setPreferredSize(new java.awt.Dimension(600, 400));
- tabIrodsViews.setRequestFocusEnabled(false);
+ pnlLocalTree.add(pnlLocalRoots, java.awt.BorderLayout.NORTH);
+ pnlLocalTree.add(scrollLocalFileTree, java.awt.BorderLayout.CENTER);
+
+ pnlSplitPaneLocalRemote.setLeftComponent(pnlLocalTree);
+
+ pnlIrodsTree.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
pnlIrodsTreeView.setLayout(new java.awt.BorderLayout());
- bntRefreshIrodsTree.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
- bntRefreshIrodsTree.setLabel("Refresh");
- pnlIrodsTreeToolbar.add(bntRefreshIrodsTree);
- bntRefreshIrodsTree.addActionListener(new java.awt.event.ActionListener() {
+ btnIrodsTreeRefresh.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnIrodsTreeRefresh.text")); // NOI18N
+ btnIrodsTreeRefresh.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
- bntRefreshIrodsTreeActionPerformed(evt);
+ btnIrodsTreeRefreshActionPerformed(evt);
}
});
+ pnlIrodsTreeViewButtons.add(btnIrodsTreeRefresh);
- pnlIrodsTreeView.add(pnlIrodsTreeToolbar, java.awt.BorderLayout.NORTH);
+ pnlIrodsTreeView.add(pnlIrodsTreeViewButtons, java.awt.BorderLayout.NORTH);
+ pnlIrodsTreeView.add(scrIrodsTreeView, java.awt.BorderLayout.CENTER);
- pnlTreeMaster.setLayout(new java.awt.BorderLayout());
- pnlIrodsTreeView.add(pnlTreeMaster, java.awt.BorderLayout.SOUTH);
- pnlIrodsTreeView.add(scrollIrodsTree, java.awt.BorderLayout.CENTER);
+ tabIrodsViews.addTab(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.pnlIrodsTreeView.TabConstraints.tabTitle"), pnlIrodsTreeView); // NOI18N
- tabIrodsViews.addTab("iRODS Tree View", pnlIrodsTreeView);
+ jLabel1.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.jLabel1.text")); // NOI18N
- pnlSearch.setName("pnlSearch"); // NOI18N
+ org.jdesktop.layout.GroupLayout pnlIrodsSearchLayout = new org.jdesktop.layout.GroupLayout(pnlIrodsSearch);
+ pnlIrodsSearch.setLayout(pnlIrodsSearchLayout);
+ pnlIrodsSearchLayout.setHorizontalGroup(
+ pnlIrodsSearchLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlIrodsSearchLayout.createSequentialGroup()
+ .add(83, 83, 83)
+ .add(jLabel1)
+ .addContainerGap(141, Short.MAX_VALUE))
+ );
+ pnlIrodsSearchLayout.setVerticalGroup(
+ pnlIrodsSearchLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlIrodsSearchLayout.createSequentialGroup()
+ .add(84, 84, 84)
+ .add(jLabel1)
+ .addContainerGap(195, Short.MAX_VALUE))
+ );
- org.jdesktop.layout.GroupLayout pnlSearchLayout = new org.jdesktop.layout.GroupLayout(pnlSearch);
- pnlSearch.setLayout(pnlSearchLayout);
- pnlSearchLayout.setHorizontalGroup(
- pnlSearchLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(0, 575, Short.MAX_VALUE)
+ tabIrodsViews.addTab(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.pnlIrodsSearch.TabConstraints.tabTitle"), pnlIrodsSearch); // NOI18N
+
+ org.jdesktop.layout.GroupLayout pnlIrodsTreeLayout = new org.jdesktop.layout.GroupLayout(pnlIrodsTree);
+ pnlIrodsTree.setLayout(pnlIrodsTreeLayout);
+ pnlIrodsTreeLayout.setHorizontalGroup(
+ pnlIrodsTreeLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(tabIrodsViews, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
);
- pnlSearchLayout.setVerticalGroup(
- pnlSearchLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(0, 271, Short.MAX_VALUE)
+ pnlIrodsTreeLayout.setVerticalGroup(
+ pnlIrodsTreeLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(tabIrodsViews, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE)
);
- tabIrodsViews.addTab("Search", pnlSearch);
+ pnlSplitPaneLocalRemote.setRightComponent(pnlIrodsTree);
- pnlMain.add(tabIrodsViews, java.awt.BorderLayout.CENTER);
+ pnlMainTrees.add(pnlSplitPaneLocalRemote);
- pnlTransferStatus.setPreferredSize(new java.awt.Dimension(600, 75));
- pnlTransferStatus.setRequestFocusEnabled(false);
- pnlTransferStatus.setLayout(new java.awt.GridBagLayout());
+ pnlMain.add(pnlMainTrees, java.awt.BorderLayout.CENTER);
- jLabel1.setFont(new java.awt.Font("Lucida Grande", 0, 12)); // NOI18N
- jLabel1.setText("Current File:");
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridx = 0;
- gridBagConstraints.gridy = 0;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
- gridBagConstraints.insets = new java.awt.Insets(10, 15, 0, 0);
- pnlTransferStatus.add(jLabel1, gridBagConstraints);
+ pnlMainStatus.setMinimumSize(new java.awt.Dimension(250, 30));
+ pnlMainStatus.setPreferredSize(new java.awt.Dimension(700, 34));
+ pnlMainStatus.setLayout(new java.awt.GridBagLayout());
- lblTransferFileName.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N
- lblTransferFileName.setMaximumSize(new java.awt.Dimension(200, 22));
- lblTransferFileName.setMinimumSize(new java.awt.Dimension(100, 22));
- lblTransferFileName.setPreferredSize(new java.awt.Dimension(200, 22));
+ lblTransferFileName.setFont(new java.awt.Font("Lucida Grande", 0, 12));
+ lblTransferFileName.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.lblTransferFileName.text")); // NOI18N
+ lblTransferFileName.setMinimumSize(new java.awt.Dimension(100, 16));
+ lblTransferFileName.setPreferredSize(new java.awt.Dimension(250, 16));
lblTransferFileName.setRequestFocusEnabled(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
- gridBagConstraints.gridy = 1;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
- gridBagConstraints.insets = new java.awt.Insets(12, 15, 0, 0);
- pnlTransferStatus.add(lblTransferFileName, gridBagConstraints);
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.insets = new java.awt.Insets(10, 10, 5, 5);
+ pnlMainStatus.add(lblTransferFileName, gridBagConstraints);
- pbTransferStatus.setFont(new java.awt.Font("Lucida Grande", 0, 12)); // NOI18N
pbTransferStatus.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
pbTransferStatus.setMinimumSize(new java.awt.Dimension(100, 24));
pbTransferStatus.setPreferredSize(new java.awt.Dimension(300, 24));
- pbTransferStatus.setStringPainted(true);
gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridx = 2;
- gridBagConstraints.gridy = 1;
- gridBagConstraints.gridheight = 2;
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
- gridBagConstraints.weightx = 40.0;
- gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 15);
- pnlTransferStatus.add(pbTransferStatus, gridBagConstraints);
+ gridBagConstraints.weightx = 8.0;
+ gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 15);
+ pnlMainStatus.add(pbTransferStatus, gridBagConstraints);
- pnlMain.add(pnlTransferStatus, java.awt.BorderLayout.PAGE_END);
+ pnlMain.add(pnlMainStatus, java.awt.BorderLayout.SOUTH);
- org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
- getContentPane().setLayout(layout);
- layout.setHorizontalGroup(
- layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlMain, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- );
- layout.setVerticalGroup(
- layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlMain, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- );
- }// </editor-fold>
+ pnlTabbedMain.addTab(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.pnlMain.TabConstraints.tabTitle"), pnlMain); // NOI18N
+ pnlOperationMode2.setMinimumSize(new java.awt.Dimension(250, 200));
+ pnlOperationMode2.setPreferredSize(new java.awt.Dimension(700, 450));
+ pnlOperationMode2.setLayout(new java.awt.BorderLayout());
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JButton bntRefreshIrodsTree;
- private javax.swing.JLabel jLabel1;
- private javax.swing.JLabel lblTransferFileName;
- private javax.swing.JProgressBar pbTransferStatus;
- private javax.swing.JPanel pnlIrodsTreeToolbar;
- private javax.swing.JPanel pnlIrodsTreeView;
- private javax.swing.JPanel pnlMain;
- private javax.swing.JPanel pnlSearch;
- private javax.swing.JPanel pnlTools;
- private javax.swing.JPanel pnlTransferStatus;
- private javax.swing.JPanel pnlTreeMaster;
- private javax.swing.JScrollPane scrollIrodsTree;
- private javax.swing.JTabbedPane tabIrodsViews;
- // End of variables declaration//GEN-END:variables
+ pnlUploadTrees.setMinimumSize(new java.awt.Dimension(250, 160));
+ pnlUploadTrees.setPreferredSize(new java.awt.Dimension(700, 385));
+ pnlUploadTrees.setLayout(new java.awt.GridBagLayout());
- public IRODSTree getIrodsTree() {
- return irodsTree;
- }
+ pnlUploadLocalTree.setMinimumSize(new java.awt.Dimension(0, 0));
+ pnlUploadLocalTree.setPreferredSize(new java.awt.Dimension(285, 380));
+ pnlUploadLocalTree.setLayout(new java.awt.BorderLayout());
+ pnlUploadLocalTree.add(jScrollPane2, java.awt.BorderLayout.CENTER);
- public iDropLiteCore getiDropCore() {
- return iDropCore;
- }
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.weightx = 0.4;
+ gridBagConstraints.weighty = 0.2;
+ pnlUploadTrees.add(pnlUploadLocalTree, gridBagConstraints);
+
+ pnlUploadCenterTools.setMaximumSize(new java.awt.Dimension(65, 32767));
+ pnlUploadCenterTools.setMinimumSize(new java.awt.Dimension(30, 100));
+ pnlUploadCenterTools.setPreferredSize(new java.awt.Dimension(50, 380));
+ pnlUploadCenterTools.setRequestFocusEnabled(false);
+ pnlUploadCenterTools.setLayout(new java.awt.BorderLayout());
+
+ btnUploadMove.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnUploadMove.text")); // NOI18N
+ btnUploadMove.setMargin(new java.awt.Insets(0, 0, 0, 0));
+ btnUploadMove.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnUploadMoveActionPerformed(evt);
+ }
+ });
+ pnlUploadCenterTools.add(btnUploadMove, java.awt.BorderLayout.CENTER);
- public LocalFileTree getFileTree() {
- return fileTree;
- }
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.weighty = 0.2;
+ pnlUploadTrees.add(pnlUploadCenterTools, gridBagConstraints);
+
+ pnlUploadTable.setPreferredSize(new java.awt.Dimension(310, 380));
+ pnlUploadTable.setLayout(new java.awt.BorderLayout());
+
+ jScrollPane3.setPreferredSize(new java.awt.Dimension(275, 380));
+
+ tblUploadTable.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null}
+ },
+ new String [] {
+ "Title 1", "Title 2", "Title 3", "Title 4"
+ }
+ ));
+ tblUploadTable.setBounds(new java.awt.Rectangle(0, 0, 350, 64));
+ tblUploadTable.setPreferredSize(new java.awt.Dimension(285, 380));
+ tblUploadTable.setShowGrid(true);
+ jScrollPane3.setViewportView(tblUploadTable);
- public Outline getTreeStagingResource() {
- return irodsTree;
- }
+ pnlUploadTable.add(jScrollPane3, java.awt.BorderLayout.CENTER);
- private void bntRefreshIrodsTreeActionPerformed(java.awt.event.ActionEvent evt) {
- // FIX ME: get current view of irods tree and pass to buildTargetTree
- buildTargetTree();
- }
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 2;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.weightx = 0.4;
+ gridBagConstraints.weighty = 0.2;
+ pnlUploadTrees.add(pnlUploadTable, gridBagConstraints);
+ pnlOperationMode2.add(pnlUploadTrees, java.awt.BorderLayout.CENTER);
- @Override
- public void dragEnter(DropTargetDragEvent arg0) {
- // TODO Auto-generated method stub
-
- }
+ pnlUploadToolbar.setMaximumSize(new java.awt.Dimension(32767, 60));
+ pnlUploadToolbar.setMinimumSize(new java.awt.Dimension(250, 30));
+ pnlUploadToolbar.setPreferredSize(new java.awt.Dimension(700, 40));
+ pnlUploadToolbar.setLayout(new java.awt.GridBagLayout());
+ pnlUploadToolStatus.setPreferredSize(new java.awt.Dimension(300, 20));
+ pnlUploadToolStatus.setLayout(new java.awt.GridBagLayout());
- @Override
- public void dragExit(DropTargetEvent arg0) {
- // TODO Auto-generated method stub
-
- }
+ lblUploadTransferFileName.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.lblUploadTransferFileName.text")); // NOI18N
+ lblUploadTransferFileName.setMaximumSize(new java.awt.Dimension(400, 16));
+ lblUploadTransferFileName.setMinimumSize(new java.awt.Dimension(100, 16));
+ lblUploadTransferFileName.setPreferredSize(new java.awt.Dimension(250, 16));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.insets = new java.awt.Insets(10, 10, 5, 5);
+ pnlUploadToolStatus.add(lblUploadTransferFileName, gridBagConstraints);
+ pbUploadTransferStatus.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+ gridBagConstraints.ipadx = 136;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.weightx = 8.0;
+ gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 15);
+ pnlUploadToolStatus.add(pbUploadTransferStatus, gridBagConstraints);
- @Override
- public void dragOver(DropTargetDragEvent arg0) {
- // TODO Auto-generated method stub
-
- }
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 0;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
+ gridBagConstraints.weightx = 40.0;
+ gridBagConstraints.insets = new java.awt.Insets(5, 10, 0, 0);
+ pnlUploadToolbar.add(pnlUploadToolStatus, gridBagConstraints);
+ btnUploadBeginImport.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnUploadBeginImport.text")); // NOI18N
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 1;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
+ gridBagConstraints.weightx = 50.0;
+ pnlUploadToolbar.add(btnUploadBeginImport, gridBagConstraints);
- @Override
- public void drop(DropTargetDropEvent arg0) {
- // TODO Auto-generated method stub
-
- }
+ btnUploadCancel.setText(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.btnUploadCancel.text")); // NOI18N
+ gridBagConstraints = new java.awt.GridBagConstraints();
+ gridBagConstraints.gridx = 2;
+ gridBagConstraints.gridy = 0;
+ gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
+ gridBagConstraints.weightx = 0.6;
+ pnlUploadToolbar.add(btnUploadCancel, gridBagConstraints);
+ pnlOperationMode2.add(pnlUploadToolbar, java.awt.BorderLayout.SOUTH);
- @Override
- public void dropActionChanged(DropTargetDragEvent arg0) {
- // TODO Auto-generated method stub
-
- }
+ pnlTabbedMain.addTab(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.pnlOperationMode2.TabConstraints.tabTitle"), pnlOperationMode2); // NOI18N
+
+ pnlOperationMode3.setMinimumSize(new java.awt.Dimension(250, 200));
+ pnlOperationMode3.setPreferredSize(new java.awt.Dimension(700, 450));
+ pnlOperationMode3.setLayout(new java.awt.BorderLayout());
+
+ pnlProgressTable.setLayout(new java.awt.BorderLayout());
+
+ tblProgress.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null}
+ },
+ new String [] {
+ "Title 1", "Title 2", "Title 3", "Title 4"
+ }
+ ));
+ tblProgress.setShowGrid(true);
+ jScrollPane4.setViewportView(tblProgress);
+
+ pnlProgressTable.add(jScrollPane4, java.awt.BorderLayout.CENTER);
+
+ pnlOperationMode3.add(pnlProgressTable, java.awt.BorderLayout.CENTER);
+
+ pnlTabbedMain.addTab(org.openide.util.NbBundle.getMessage(iDropLiteApplet.class, "iDropLiteApplet.pnlOperationMode3.TabConstraints.tabTitle"), pnlOperationMode3); // NOI18N
+
+ getContentPane().add(pnlTabbedMain, java.awt.BorderLayout.CENTER);
+ }// </editor-fold>//GEN-END:initComponents
+
+ private void btnIrodsTreeRefreshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIrodsTreeRefreshActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_btnIrodsTreeRefreshActionPerformed
+
+ private void btnUploadMoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnUploadMoveActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_btnUploadMoveActionPerformed
+
+ private void btnToggleLocalViewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnToggleLocalViewActionPerformed
+ java.awt.EventQueue.invokeLater(new Runnable() {
+
+ @Override
+ public void run() {
+ pnlLocalTree.setVisible(btnToggleLocalView.isSelected());
+ if (pnlLocalTree.isVisible()) {
+ pnlSplitPaneLocalRemote.setDividerLocation(0.3d);
+ }
+ }
+ });
+ }//GEN-LAST:event_btnToggleLocalViewActionPerformed
+
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton btnIrodsTreeRefresh;
+ private javax.swing.JButton btnLocalRefresh;
+ private javax.swing.JToggleButton btnToggleLocalView;
+ private javax.swing.JButton btnUploadBeginImport;
+ private javax.swing.JButton btnUploadCancel;
+ private javax.swing.JButton btnUploadMove;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JScrollPane jScrollPane2;
+ private javax.swing.JScrollPane jScrollPane3;
+ private javax.swing.JScrollPane jScrollPane4;
+ private javax.swing.JLabel lblTransferFileName;
+ private javax.swing.JLabel lblUploadTransferFileName;
+ private javax.swing.JProgressBar pbTransferStatus;
+ private javax.swing.JProgressBar pbUploadTransferStatus;
+ private javax.swing.JPanel pnlDrivesFiller;
+ private javax.swing.JPanel pnlIrodsSearch;
+ private javax.swing.JPanel pnlIrodsTree;
+ private javax.swing.JPanel pnlIrodsTreeView;
+ private javax.swing.JPanel pnlIrodsTreeViewButtons;
+ private javax.swing.JPanel pnlLocalRefreshButton;
+ private javax.swing.JPanel pnlLocalRoots;
+ private javax.swing.JPanel pnlLocalToggleSizer;
+ private javax.swing.JPanel pnlLocalTree;
+ private javax.swing.JPanel pnlMain;
+ private javax.swing.JPanel pnlMainStatus;
+ private javax.swing.JPanel pnlMainToolBar;
+ private javax.swing.JPanel pnlMainTrees;
+ private javax.swing.JPanel pnlOperationMode2;
+ private javax.swing.JPanel pnlOperationMode3;
+ private javax.swing.JPanel pnlPlaceholder;
+ private javax.swing.JPanel pnlProgressTable;
+ private javax.swing.JPanel pnlSearchSizer;
+ private javax.swing.JSplitPane pnlSplitPaneLocalRemote;
+ private javax.swing.JTabbedPane pnlTabbedMain;
+ private javax.swing.JPanel pnlToolBarSizer;
+ private javax.swing.JPanel pnlUploadCenterTools;
+ private javax.swing.JPanel pnlUploadLocalTree;
+ private javax.swing.JPanel pnlUploadTable;
+ private javax.swing.JPanel pnlUploadToolStatus;
+ private javax.swing.JPanel pnlUploadToolbar;
+ private javax.swing.JPanel pnlUploadTrees;
+ private javax.swing.JScrollPane scrIrodsTreeView;
+ private javax.swing.JScrollPane scrollLocalDrives;
+ private javax.swing.JScrollPane scrollLocalFileTree;
+ private javax.swing.JTabbedPane tabIrodsViews;
+ private javax.swing.JTable tblProgress;
+ private javax.swing.JTable tblUploadTable;
+ // End of variables declaration//GEN-END:variables
}