summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormconway <michael_conway@unc.edu>2013-05-29 15:33:54 (GMT)
committer mconway <michael_conway@unc.edu>2013-05-29 15:33:54 (GMT)
commitf82a2a33f38a585cddf5ad4810818b25687b9711 (patch)
tree1c206ffcf528fc63c1fbeef647d6d8642025d1ae
parentadd5cc3b9b8286e6e1e561a60149a8363dda6bc6 (diff)
downloadQCG-Data-f82a2a33f38a585cddf5ad4810818b25687b9711.zip
QCG-Data-f82a2a33f38a585cddf5ad4810818b25687b9711.tar.gz
QCG-Data-f82a2a33f38a585cddf5ad4810818b25687b9711.tar.bz2
[#1441] add diff view to idrop
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/Version.java2
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.form1
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.java203
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/DiffViewDialog.java7
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.form27
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.java2332
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/ToolsDialog.java22
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form38
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java18
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java2
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/DiffTreeCustomRenderer.java71
11 files changed, 1185 insertions, 1538 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/Version.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/Version.java
index 22a9e18..cf29458 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/Version.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/Version.java
@@ -1,5 +1,5 @@
package org.irods.jargon.idrop.lite;
public final class Version {
public static String VERSION="2.0.1-SNAPSHOT";
- public static String BUILD_TIME="20130423-1550";
+ public static String BUILD_TIME="20130529-0944";
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.form
index 097ab59..4ec4767 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.form
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.form
@@ -15,6 +15,7 @@
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
+ <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.java
index b5c4b76..ad987a8 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/AddPermissionsDialog.java
@@ -97,108 +97,87 @@ public class AddPermissionsDialog extends javax.swing.JDialog implements
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed"
- // desc="Generated Code">//GEN-BEGIN:initComponents
- private void initComponents() {
-
- pnlMain = new javax.swing.JPanel();
- pnlPermissionEdit = new javax.swing.JPanel();
- jPanel3 = new javax.swing.JPanel();
- jLabel31 = new javax.swing.JLabel();
- cbPermissionsUserName = new javax.swing.JComboBox();
- jPanel4 = new javax.swing.JPanel();
- jLabel32 = new javax.swing.JLabel();
- cbPermissionsPermission = new javax.swing.JComboBox();
- jPanel1 = new javax.swing.JPanel();
- jPanel2 = new javax.swing.JPanel();
- btnPermissionsCancel = new javax.swing.JButton();
- btnPermissionsAdd = new javax.swing.JButton();
-
- setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
- setTitle(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class, "AddPermissionsDialog.title")); // NOI18N
- setBackground(java.awt.Color.white);
- setPreferredSize(new java.awt.Dimension(460, 180));
-
- pnlMain.setLayout(new java.awt.BorderLayout());
-
- pnlPermissionEdit.setBorder(javax.swing.BorderFactory
- .createEmptyBorder(16, 8, 20, 8));
- pnlPermissionEdit.setPreferredSize(new java.awt.Dimension(527, 200));
- pnlPermissionEdit.setLayout(new java.awt.BorderLayout());
-
- jLabel31.setText(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class,
- "AddPermissionsDialog.jLabel31.text")); // NOI18N
- jLabel31.setPreferredSize(new java.awt.Dimension(120, 16));
- jPanel3.add(jLabel31);
-
- cbPermissionsUserName.setMinimumSize(new java.awt.Dimension(60, 27));
- cbPermissionsUserName.setPreferredSize(new java.awt.Dimension(260, 27));
- jPanel3.add(cbPermissionsUserName);
-
- pnlPermissionEdit.add(jPanel3, java.awt.BorderLayout.NORTH);
-
- jLabel32.setText(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class,
- "AddPermissionsDialog.jLabel32.text")); // NOI18N
- jLabel32.setPreferredSize(new java.awt.Dimension(120, 16));
- jPanel4.add(jLabel32);
-
- cbPermissionsPermission
- .setPreferredSize(new java.awt.Dimension(260, 27));
- jPanel4.add(cbPermissionsPermission);
-
- pnlPermissionEdit.add(jPanel4, java.awt.BorderLayout.SOUTH);
-
- pnlMain.add(pnlPermissionEdit, java.awt.BorderLayout.CENTER);
-
- jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 6,
- 1));
- jPanel1.setPreferredSize(new java.awt.Dimension(525, 40));
- jPanel1.setLayout(new java.awt.BorderLayout());
-
- jPanel2.setPreferredSize(new java.awt.Dimension(200, 34));
- jPanel2.setRequestFocusEnabled(false);
-
- btnPermissionsCancel.setText(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class,
- "AddPermissionsDialog.btnPermissionsCancel.text")); // NOI18N
- btnPermissionsCancel
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnPermissionsCancelActionPerformed(evt);
- }
- });
- jPanel2.add(btnPermissionsCancel);
-
- btnPermissionsAdd.setText(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class,
- "AddPermissionsDialog.btnPermissionsAdd.text")); // NOI18N
- btnPermissionsAdd
- .setActionCommand(org.openide.util.NbBundle.getMessage(
- AddPermissionsDialog.class,
- "AddPermissionsDialog.btnPermissionsAdd.actionCommand")); // NOI18N
- btnPermissionsAdd.setEnabled(false);
- btnPermissionsAdd
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnPermissionsAddActionPerformed(evt);
- }
- });
- jPanel2.add(btnPermissionsAdd);
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ pnlMain = new javax.swing.JPanel();
+ pnlPermissionEdit = new javax.swing.JPanel();
+ jPanel3 = new javax.swing.JPanel();
+ jLabel31 = new javax.swing.JLabel();
+ cbPermissionsUserName = new javax.swing.JComboBox();
+ jPanel4 = new javax.swing.JPanel();
+ jLabel32 = new javax.swing.JLabel();
+ cbPermissionsPermission = new javax.swing.JComboBox();
+ jPanel1 = new javax.swing.JPanel();
+ jPanel2 = new javax.swing.JPanel();
+ btnPermissionsCancel = new javax.swing.JButton();
+ btnPermissionsAdd = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
+ setTitle(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.title")); // NOI18N
+ setBackground(java.awt.Color.white);
+ setPreferredSize(new java.awt.Dimension(460, 180));
+
+ pnlMain.setLayout(new java.awt.BorderLayout());
+
+ pnlPermissionEdit.setBorder(javax.swing.BorderFactory.createEmptyBorder(16, 8, 20, 8));
+ pnlPermissionEdit.setPreferredSize(new java.awt.Dimension(527, 200));
+ pnlPermissionEdit.setLayout(new java.awt.BorderLayout());
+
+ jLabel31.setText(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.jLabel31.text")); // NOI18N
+ jLabel31.setPreferredSize(new java.awt.Dimension(120, 16));
+ jPanel3.add(jLabel31);
+
+ cbPermissionsUserName.setMinimumSize(new java.awt.Dimension(60, 27));
+ cbPermissionsUserName.setPreferredSize(new java.awt.Dimension(260, 27));
+ jPanel3.add(cbPermissionsUserName);
+
+ pnlPermissionEdit.add(jPanel3, java.awt.BorderLayout.NORTH);
+
+ jLabel32.setText(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.jLabel32.text")); // NOI18N
+ jLabel32.setPreferredSize(new java.awt.Dimension(120, 16));
+ jPanel4.add(jLabel32);
+
+ cbPermissionsPermission.setPreferredSize(new java.awt.Dimension(260, 27));
+ jPanel4.add(cbPermissionsPermission);
+
+ pnlPermissionEdit.add(jPanel4, java.awt.BorderLayout.SOUTH);
+
+ pnlMain.add(pnlPermissionEdit, java.awt.BorderLayout.CENTER);
+
+ jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 6, 1));
+ jPanel1.setPreferredSize(new java.awt.Dimension(525, 40));
+ jPanel1.setLayout(new java.awt.BorderLayout());
+
+ jPanel2.setPreferredSize(new java.awt.Dimension(200, 34));
+ jPanel2.setRequestFocusEnabled(false);
+
+ btnPermissionsCancel.setText(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.btnPermissionsCancel.text")); // NOI18N
+ btnPermissionsCancel.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnPermissionsCancelActionPerformed(evt);
+ }
+ });
+ jPanel2.add(btnPermissionsCancel);
+
+ btnPermissionsAdd.setText(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.btnPermissionsAdd.text")); // NOI18N
+ btnPermissionsAdd.setActionCommand(org.openide.util.NbBundle.getMessage(AddPermissionsDialog.class, "AddPermissionsDialog.btnPermissionsAdd.actionCommand")); // NOI18N
+ btnPermissionsAdd.setEnabled(false);
+ btnPermissionsAdd.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnPermissionsAddActionPerformed(evt);
+ }
+ });
+ jPanel2.add(btnPermissionsAdd);
- jPanel1.add(jPanel2, java.awt.BorderLayout.EAST);
+ jPanel1.add(jPanel2, java.awt.BorderLayout.EAST);
- pnlMain.add(jPanel1, java.awt.BorderLayout.SOUTH);
+ pnlMain.add(jPanel1, java.awt.BorderLayout.SOUTH);
- getContentPane().add(pnlMain, java.awt.BorderLayout.CENTER);
+ getContentPane().add(pnlMain, java.awt.BorderLayout.CENTER);
- pack();
- }// </editor-fold>//GEN-END:initComponents
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
private void btnPermissionsAddActionPerformed(
final java.awt.event.ActionEvent evt) {// GEN-FIRST:event_btnPermissionsAddActionPerformed
@@ -238,19 +217,19 @@ public class AddPermissionsDialog extends javax.swing.JDialog implements
dispose();
}// GEN-LAST:event_btnPermissionsCancelActionPerformed
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JButton btnPermissionsAdd;
- private javax.swing.JButton btnPermissionsCancel;
- private javax.swing.JComboBox cbPermissionsPermission;
- private javax.swing.JComboBox cbPermissionsUserName;
- private javax.swing.JLabel jLabel31;
- private javax.swing.JLabel jLabel32;
- private javax.swing.JPanel jPanel1;
- private javax.swing.JPanel jPanel2;
- private javax.swing.JPanel jPanel3;
- private javax.swing.JPanel jPanel4;
- private javax.swing.JPanel pnlMain;
- private javax.swing.JPanel pnlPermissionEdit;
- // End of variables declaration//GEN-END:variables
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton btnPermissionsAdd;
+ private javax.swing.JButton btnPermissionsCancel;
+ private javax.swing.JComboBox cbPermissionsPermission;
+ private javax.swing.JComboBox cbPermissionsUserName;
+ private javax.swing.JLabel jLabel31;
+ private javax.swing.JLabel jLabel32;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JPanel jPanel3;
+ private javax.swing.JPanel jPanel4;
+ private javax.swing.JPanel pnlMain;
+ private javax.swing.JPanel pnlPermissionEdit;
+ // End of variables declaration//GEN-END:variables
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/DiffViewDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/DiffViewDialog.java
index 11030d7..f1bf3d8 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/DiffViewDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/DiffViewDialog.java
@@ -5,6 +5,7 @@
package org.irods.jargon.idrop.desktop.systraygui;
import org.irods.jargon.datautils.tree.FileTreeModel;
+import org.irods.jargon.idrop.desktop.systraygui.viscomponents.DiffTreeCustomRenderer;
import org.irods.jargon.idrop.desktop.systraygui.viscomponents.DiffViewData;
import org.slf4j.LoggerFactory;
@@ -27,7 +28,7 @@ public class DiffViewDialog extends javax.swing.JDialog {
this.diffViewData = diffViewData;
this.fileTreeModel = diffViewData.getFileTreeModel();
this.treeDiff.setModel(fileTreeModel);
- initialzeDiffView();
+ initializeDiffView();
}
/**
@@ -140,9 +141,11 @@ public class DiffViewDialog extends javax.swing.JDialog {
/**
* Initialize the components for the diff view
*/
- private void initialzeDiffView() {
+ private void initializeDiffView() {
this.lblIrodsPath.setText(diffViewData.getIrodsAbsolutePath());
this.lblLocalAbsPath.setText(diffViewData.getLocalAbsolutePath());
+ DiffTreeCustomRenderer renderer = new DiffTreeCustomRenderer();
+ treeDiff.setCellRenderer(renderer);
}
public DiffViewData getDiffViewData() {
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.form
index 002e2f6..33a7b19 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.form
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.form
@@ -93,7 +93,7 @@
<Component id="lblInfoObjectName" pref="362" max="32767" attributes="0"/>
<Component id="lblInfoObjectParent" max="32767" attributes="0"/>
</Group>
- <EmptySpace pref="67" max="32767" attributes="0"/>
+ <EmptySpace pref="63" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -110,7 +110,7 @@
<Component id="jLabel2" alignment="3" min="-2" pref="20" max="-2" attributes="0"/>
<Component id="lblInfoObjectParent" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace pref="19" max="32767" attributes="0"/>
+ <EmptySpace pref="12" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -301,7 +301,7 @@
<Component id="jLabel27" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblInfoCollectionInfo2" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace pref="289" max="32767" attributes="0"/>
+ <EmptySpace pref="316" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -496,7 +496,7 @@
</Group>
</Group>
</Group>
- <EmptySpace pref="51" max="32767" attributes="0"/>
+ <EmptySpace pref="63" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -578,7 +578,7 @@
<Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="lblInfoObjectVersion" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace pref="281" max="32767" attributes="0"/>
+ <EmptySpace pref="318" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -809,7 +809,7 @@
<Component id="jLabel17" min="-2" max="-2" attributes="0"/>
<Component id="jLabel18" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace pref="66" max="32767" attributes="0"/>
+ <EmptySpace pref="92" max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="txtInfoTags" max="32767" attributes="0"/>
<Component id="jScrollPane1" pref="408" max="32767" attributes="0"/>
@@ -985,7 +985,7 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="8" max="-2" attributes="0"/>
<Component id="btnMetadataDelete" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="8" max="32767" attributes="0"/>
+ <EmptySpace pref="29" max="32767" attributes="0"/>
</Group>
</Group>
</Group>
@@ -997,7 +997,7 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="5" max="-2" attributes="0"/>
<Component id="btnMetadataDelete" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="32767" attributes="0"/>
+ <EmptySpace pref="12" max="32767" attributes="0"/>
</Group>
</Group>
</Group>
@@ -1061,7 +1061,7 @@
</Group>
</Group>
<Group type="102" alignment="1" attributes="0">
- <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
+ <EmptySpace min="0" pref="432" max="32767" attributes="0"/>
<Component id="btnMetadataClear" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="btnMetadataCreate" min="-2" max="-2" attributes="0"/>
@@ -1074,7 +1074,7 @@
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
- <EmptySpace pref="18" max="32767" attributes="0"/>
+ <EmptySpace pref="43" max="32767" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel28" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="txtMetadataAttribute" alignment="3" min="-2" max="-2" attributes="0"/>
@@ -1256,7 +1256,7 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
- <EmptySpace pref="19" max="32767" attributes="0"/>
+ <EmptySpace pref="33" max="32767" attributes="0"/>
<Component id="btnPermissionsSave" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -1373,9 +1373,6 @@
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 40]"/>
</Property>
- <Property name="size" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[200, 100]"/>
- </Property>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
@@ -1418,7 +1415,7 @@
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
- <EmptySpace min="0" pref="6" max="32767" attributes="0"/>
+ <EmptySpace min="0" pref="12" max="32767" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="btnClose" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="btnRefresh" alignment="3" min="-2" max="-2" attributes="0"/>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.java
index ffe41ef..59c4004 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/IRODSInfoDialog.java
@@ -590,1297 +590,848 @@ public class IRODSInfoDialog extends javax.swing.JDialog implements
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed"
- // desc="Generated Code">//GEN-BEGIN:initComponents
- private void initComponents() {
-
- jPanel2 = new javax.swing.JPanel();
- jPanel1 = new javax.swing.JPanel();
- pnlSelectedObject = new javax.swing.JPanel();
- lblObjectCollection = new javax.swing.JLabel();
- jLabel2 = new javax.swing.JLabel();
- lblInfoObjectName = new javax.swing.JLabel();
- lblInfoObjectParent = new javax.swing.JLabel();
- tabbedpanelMain = new javax.swing.JTabbedPane();
- pnlInfoTab = new javax.swing.JPanel();
- pnlInfoCards = new javax.swing.JPanel();
- pnlCollectionInfo = new javax.swing.JPanel();
- jLabel19 = new javax.swing.JLabel();
- jLabel20 = new javax.swing.JLabel();
- jLabel21 = new javax.swing.JLabel();
- jLabel22 = new javax.swing.JLabel();
- jLabel23 = new javax.swing.JLabel();
- jLabel24 = new javax.swing.JLabel();
- jLabel25 = new javax.swing.JLabel();
- jLabel26 = new javax.swing.JLabel();
- jLabel27 = new javax.swing.JLabel();
- lblInfoCollectionCreatedDate = new javax.swing.JLabel();
- lblInfoCollectionModifiedDate = new javax.swing.JLabel();
- lblInfoCollectionOwner = new javax.swing.JLabel();
- lblInfoCollectionOwnerZone = new javax.swing.JLabel();
- lblInfoCollectionType = new javax.swing.JLabel();
- lblInfoCollectionObjectPath = new javax.swing.JLabel();
- lblInfoCollectionDescription = new javax.swing.JLabel();
- lblInfoCollectionInfo1 = new javax.swing.JLabel();
- lblInfoCollectionInfo2 = new javax.swing.JLabel();
- pnlObjectInfo = new javax.swing.JPanel();
- jLabel3 = new javax.swing.JLabel();
- jLabel4 = new javax.swing.JLabel();
- jLabel5 = new javax.swing.JLabel();
- jLabel6 = new javax.swing.JLabel();
- jLabel7 = new javax.swing.JLabel();
- jLabel8 = new javax.swing.JLabel();
- jLabel9 = new javax.swing.JLabel();
- jLabel10 = new javax.swing.JLabel();
- jLabel11 = new javax.swing.JLabel();
- jLabel12 = new javax.swing.JLabel();
- jLabel13 = new javax.swing.JLabel();
- jLabel14 = new javax.swing.JLabel();
- jLabel15 = new javax.swing.JLabel();
- jLabel16 = new javax.swing.JLabel();
- lblInfoObjectSize = new javax.swing.JLabel();
- lblInfoObjectCreatedDate = new javax.swing.JLabel();
- lblInfoObjectModifiedDate = new javax.swing.JLabel();
- lblInfoObjectOwner = new javax.swing.JLabel();
- lblInfoObjectOwnerZone = new javax.swing.JLabel();
- lblInfoObjectDataPath = new javax.swing.JLabel();
- lblInfoObjectResourceGroup = new javax.swing.JLabel();
- lblInfoObjectChecksum = new javax.swing.JLabel();
- lblInfoObjectResource = new javax.swing.JLabel();
- lblInfoObjectReplicaNumber = new javax.swing.JLabel();
- lblInfoObjectReplicationStatus = new javax.swing.JLabel();
- lblInfoObjectStatus = new javax.swing.JLabel();
- lblInfoObjectType = new javax.swing.JLabel();
- lblInfoObjectVersion = new javax.swing.JLabel();
- pnlTagsComments = new javax.swing.JPanel();
- jLabel17 = new javax.swing.JLabel();
- txtInfoTags = new javax.swing.JTextField();
- jLabel18 = new javax.swing.JLabel();
- jScrollPane1 = new javax.swing.JScrollPane();
- textareaInfoComments = new javax.swing.JTextArea();
- btnUpdateTagsComments = new javax.swing.JButton();
- pnlMetadataTab = new javax.swing.JPanel();
- pnlMetadataTable = new javax.swing.JPanel();
- jScrollPane2 = new javax.swing.JScrollPane();
- tableMetadata = new javax.swing.JTable();
- jPanel5 = new javax.swing.JPanel();
- jPanel6 = new javax.swing.JPanel();
- btnMetadataDelete = new javax.swing.JButton();
- pnlMetaDataEdit = new javax.swing.JPanel();
- jLabel28 = new javax.swing.JLabel();
- jLabel29 = new javax.swing.JLabel();
- jLabel30 = new javax.swing.JLabel();
- btnMetadataClear = new javax.swing.JButton();
- btnMetadataCreate = new javax.swing.JButton();
- txtMetadataAttribute = new javax.swing.JTextField();
- txtMetadataValue = new javax.swing.JTextField();
- txtMetadataUnit = new javax.swing.JTextField();
- pnlPermissionsTab = new javax.swing.JPanel();
- pnlPermissionsTable = new javax.swing.JPanel();
- jScrollPane3 = new javax.swing.JScrollPane();
- tablePermissions = new javax.swing.JTable();
- jPanel7 = new javax.swing.JPanel();
- jPanel8 = new javax.swing.JPanel();
- btnPermissionsSave = new javax.swing.JButton();
- jPanel9 = new javax.swing.JPanel();
- jPanel16 = new javax.swing.JPanel();
- btnAddSharePermissions = new javax.swing.JButton();
- btnDeleteSharePermissions = new javax.swing.JButton();
- pnlCloseBtn = new javax.swing.JPanel();
- jPanel3 = new javax.swing.JPanel();
- jPanel4 = new javax.swing.JPanel();
- btnClose = new javax.swing.JButton();
- btnRefresh = new javax.swing.JButton();
-
- org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(
- jPanel2);
- jPanel2.setLayout(jPanel2Layout);
- jPanel2Layout.setHorizontalGroup(jPanel2Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(0, 100,
- Short.MAX_VALUE));
- jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(0, 100,
- Short.MAX_VALUE));
-
- setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
- setPreferredSize(new java.awt.Dimension(560, 720));
-
- jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(14, 10,
- 10, 10));
- jPanel1.setPreferredSize(new java.awt.Dimension(600, 750));
- jPanel1.setLayout(new java.awt.BorderLayout());
-
- pnlSelectedObject.setBorder(javax.swing.BorderFactory
- .createEmptyBorder(1, 4, 1, 4));
- pnlSelectedObject.setPreferredSize(new java.awt.Dimension(528, 70));
-
- lblObjectCollection.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
- lblObjectCollection.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblObjectCollection.text")); // NOI18N
-
- jLabel2.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
- jLabel2.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel2.text")); // NOI18N
-
- lblInfoObjectName.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectName.text")); // NOI18N
-
- lblInfoObjectParent.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectParent.text")); // NOI18N
-
- org.jdesktop.layout.GroupLayout pnlSelectedObjectLayout = new org.jdesktop.layout.GroupLayout(
- pnlSelectedObject);
- pnlSelectedObject.setLayout(pnlSelectedObjectLayout);
- pnlSelectedObjectLayout
- .setHorizontalGroup(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlSelectedObjectLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(lblObjectCollection,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 140, Short.MAX_VALUE)
- .add(jLabel2,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(lblInfoObjectName,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 362, Short.MAX_VALUE)
- .add(lblInfoObjectParent,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE))
- .addContainerGap(67, Short.MAX_VALUE)));
- pnlSelectedObjectLayout
- .setVerticalGroup(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlSelectedObjectLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(lblObjectCollection)
- .add(lblInfoObjectName))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlSelectedObjectLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel2,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 20,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(lblInfoObjectParent))
- .addContainerGap(19, Short.MAX_VALUE)));
-
- jPanel1.add(pnlSelectedObject, java.awt.BorderLayout.PAGE_START);
-
- tabbedpanelMain.setPreferredSize(new java.awt.Dimension(600, 867));
-
- pnlInfoTab.setLayout(new java.awt.BorderLayout());
-
- pnlInfoCards.setBorder(javax.swing.BorderFactory.createEtchedBorder());
- pnlInfoCards.setPreferredSize(new java.awt.Dimension(555, 640));
- pnlInfoCards.setLayout(new java.awt.CardLayout());
-
- pnlCollectionInfo.setPreferredSize(new java.awt.Dimension(515, 500));
-
- jLabel19.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel19.text")); // NOI18N
-
- jLabel20.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel20.text")); // NOI18N
-
- jLabel21.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel21.text")); // NOI18N
-
- jLabel22.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel22.text")); // NOI18N
-
- jLabel23.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel23.text")); // NOI18N
-
- jLabel24.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel24.text")); // NOI18N
-
- jLabel25.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel25.text")); // NOI18N
-
- jLabel26.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel26.text")); // NOI18N
-
- jLabel27.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel27.text")); // NOI18N
-
- lblInfoCollectionCreatedDate.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionCreatedDate.text")); // NOI18N
-
- lblInfoCollectionModifiedDate.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionModifiedDate.text")); // NOI18N
-
- lblInfoCollectionOwner.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionOwner.text")); // NOI18N
-
- lblInfoCollectionOwnerZone.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionOwnerZone.text")); // NOI18N
-
- lblInfoCollectionType.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionType.text")); // NOI18N
-
- lblInfoCollectionObjectPath.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionObjectPath.text")); // NOI18N
-
- lblInfoCollectionDescription.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionDescription.text")); // NOI18N
-
- lblInfoCollectionInfo1.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionInfo1.text")); // NOI18N
-
- lblInfoCollectionInfo2.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoCollectionInfo2.text")); // NOI18N
-
- org.jdesktop.layout.GroupLayout pnlCollectionInfoLayout = new org.jdesktop.layout.GroupLayout(
- pnlCollectionInfo);
- pnlCollectionInfo.setLayout(pnlCollectionInfoLayout);
- pnlCollectionInfoLayout
- .setHorizontalGroup(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlCollectionInfoLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.TRAILING,
- false)
- .add(org.jdesktop.layout.GroupLayout.LEADING,
- pnlCollectionInfoLayout
- .createSequentialGroup()
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel22)
- .add(jLabel23)
- .add(jLabel24)
- .add(jLabel25)
- .add(jLabel26)
- .add(jLabel27))
- .add(24, 24, 24)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoCollectionOwnerZone,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 400,
- Short.MAX_VALUE)
- .add(lblInfoCollectionType,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoCollectionObjectPath,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoCollectionDescription,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoCollectionInfo1,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoCollectionInfo2,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)))
- .add(org.jdesktop.layout.GroupLayout.LEADING,
- pnlCollectionInfoLayout
- .createSequentialGroup()
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel19)
- .add(jLabel20)
- .add(jLabel21))
- .add(47, 47, 47)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(lblInfoCollectionCreatedDate,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 400,
- Short.MAX_VALUE)
- .add(lblInfoCollectionModifiedDate,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoCollectionOwner,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE))))
- .addContainerGap()));
- pnlCollectionInfoLayout
- .setVerticalGroup(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlCollectionInfoLayout
- .createSequentialGroup()
- .add(24, 24, 24)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel19)
- .add(lblInfoCollectionCreatedDate))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel20)
- .add(lblInfoCollectionModifiedDate))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel21)
- .add(lblInfoCollectionOwner))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel22)
- .add(lblInfoCollectionOwnerZone))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel23)
- .add(lblInfoCollectionType))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel24)
- .add(lblInfoCollectionObjectPath))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel25)
- .add(lblInfoCollectionDescription))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel26)
- .add(lblInfoCollectionInfo1))
- .add(18, 18, 18)
- .add(pnlCollectionInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel27)
- .add(lblInfoCollectionInfo2))
- .addContainerGap(289, Short.MAX_VALUE)));
-
- pnlInfoCards.add(pnlCollectionInfo, "cardCollectionInfo");
-
- pnlObjectInfo.setPreferredSize(new java.awt.Dimension(550, 530));
-
- jLabel3.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel3.text")); // NOI18N
-
- jLabel4.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel4.text")); // NOI18N
-
- jLabel5.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel5.text")); // NOI18N
-
- jLabel6.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel6.text")); // NOI18N
-
- jLabel7.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel7.text")); // NOI18N
-
- jLabel8.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel8.text")); // NOI18N
-
- jLabel9.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel9.text")); // NOI18N
-
- jLabel10.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel10.text")); // NOI18N
-
- jLabel11.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel11.text")); // NOI18N
-
- jLabel12.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel12.text")); // NOI18N
-
- jLabel13.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel13.text")); // NOI18N
-
- jLabel14.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel14.text")); // NOI18N
-
- jLabel15.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel15.text")); // NOI18N
-
- jLabel16.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel16.text")); // NOI18N
-
- lblInfoObjectSize.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectSize.text")); // NOI18N
-
- lblInfoObjectCreatedDate.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectCreatedDate.text")); // NOI18N
-
- lblInfoObjectModifiedDate.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectModifiedDate.text")); // NOI18N
-
- lblInfoObjectOwner.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectOwner.text")); // NOI18N
-
- lblInfoObjectOwnerZone.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectOwnerZone.text")); // NOI18N
-
- lblInfoObjectDataPath.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectDataPath.text")); // NOI18N
-
- lblInfoObjectResourceGroup.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectResourceGroup.text")); // NOI18N
-
- lblInfoObjectChecksum.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectChecksum.text")); // NOI18N
-
- lblInfoObjectResource.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectResource.text")); // NOI18N
-
- lblInfoObjectReplicaNumber.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectReplicaNumber.text")); // NOI18N
-
- lblInfoObjectReplicationStatus.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectReplicationStatus.text")); // NOI18N
-
- lblInfoObjectStatus.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectStatus.text")); // NOI18N
-
- lblInfoObjectType.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectType.text")); // NOI18N
-
- lblInfoObjectVersion.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.lblInfoObjectVersion.text")); // NOI18N
-
- org.jdesktop.layout.GroupLayout pnlObjectInfoLayout = new org.jdesktop.layout.GroupLayout(
- pnlObjectInfo);
- pnlObjectInfo.setLayout(pnlObjectInfoLayout);
- pnlObjectInfoLayout
- .setHorizontalGroup(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlObjectInfoLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(pnlObjectInfoLayout
- .createSequentialGroup()
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel3,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 70,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel4)
- .add(jLabel5)
- .add(jLabel6)
- .add(jLabel7,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 90,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel8,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 90,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel9,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 115,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel10,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 80,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel11,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 70,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel12))
- .add(22, 22, 22)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(lblInfoObjectResource,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectReplicaNumber,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectSize,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 370,
- Short.MAX_VALUE)
- .add(lblInfoObjectCreatedDate,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectModifiedDate,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectOwner,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectOwnerZone,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectDataPath,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectResourceGroup,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectChecksum,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)))
- .add(pnlObjectInfoLayout
- .createSequentialGroup()
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel13,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 125,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
- .add(jLabel14)
- .add(jLabel15)
- .add(jLabel16))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.UNRELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoObjectReplicationStatus,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectStatus,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectType,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)
- .add(lblInfoObjectVersion,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE))))
- .addContainerGap(51, Short.MAX_VALUE)));
- pnlObjectInfoLayout
- .setVerticalGroup(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlObjectInfoLayout
- .createSequentialGroup()
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlObjectInfoLayout
- .createSequentialGroup()
- .add(18, 18, 18)
- .add(lblInfoObjectSize))
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- pnlObjectInfoLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(jLabel3)))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoObjectCreatedDate)
- .add(jLabel4))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel5)
- .add(lblInfoObjectModifiedDate))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoObjectOwner)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- jLabel6))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel7)
- .add(lblInfoObjectOwnerZone))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoObjectDataPath)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- jLabel8))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel9)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- lblInfoObjectResourceGroup))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(lblInfoObjectChecksum)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- jLabel10))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel11)
- .add(lblInfoObjectResource))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel12)
- .add(lblInfoObjectReplicaNumber))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel13)
- .add(lblInfoObjectReplicationStatus))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel14).add(lblInfoObjectStatus))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel15).add(lblInfoObjectType))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(pnlObjectInfoLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel16)
- .add(lblInfoObjectVersion))
- .addContainerGap(281, Short.MAX_VALUE)));
-
- pnlInfoCards.add(pnlObjectInfo, "cardObjectInfo");
-
- pnlInfoTab.add(pnlInfoCards, java.awt.BorderLayout.CENTER);
-
- pnlTagsComments.setBorder(javax.swing.BorderFactory
- .createEtchedBorder());
-
- jLabel17.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel17.text")); // NOI18N
-
- txtInfoTags.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.txtInfoTags.text")); // NOI18N
-
- jLabel18.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel18.text")); // NOI18N
-
- textareaInfoComments.setColumns(20);
- textareaInfoComments.setRows(5);
- jScrollPane1.setViewportView(textareaInfoComments);
-
- btnUpdateTagsComments.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.btnUpdateTagsComments.text")); // NOI18N
- btnUpdateTagsComments
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnUpdateTagsCommentsActionPerformed(evt);
- }
- });
-
- org.jdesktop.layout.GroupLayout pnlTagsCommentsLayout = new org.jdesktop.layout.GroupLayout(
- pnlTagsComments);
- pnlTagsComments.setLayout(pnlTagsCommentsLayout);
- pnlTagsCommentsLayout
- .setHorizontalGroup(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlTagsCommentsLayout
- .createSequentialGroup()
- .add(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- pnlTagsCommentsLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel17)
- .add(jLabel18))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED,
- 66,
- Short.MAX_VALUE)
- .add(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING,
- false)
- .add(txtInfoTags)
- .add(jScrollPane1,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 408,
- Short.MAX_VALUE))
- .add(6, 6, 6))
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- pnlTagsCommentsLayout
- .createSequentialGroup()
- .add(0, 0,
- Short.MAX_VALUE)
- .add(btnUpdateTagsComments)))
- .addContainerGap()));
- pnlTagsCommentsLayout
- .setVerticalGroup(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlTagsCommentsLayout
- .createSequentialGroup()
- .add(6, 6, 6)
- .add(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel17)
- .add(txtInfoTags,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- 28,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.UNRELATED)
- .add(pnlTagsCommentsLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel18)
- .add(jScrollPane1,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.UNRELATED)
- .add(btnUpdateTagsComments)
- .addContainerGap(
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE)));
-
- pnlInfoTab.add(pnlTagsComments, java.awt.BorderLayout.SOUTH);
-
- tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.pnlInfoTab.TabConstraints.tabTitle"),
- pnlInfoTab); // NOI18N
-
- pnlMetadataTab.setLayout(new java.awt.BorderLayout());
-
- pnlMetadataTable.setLayout(new java.awt.BorderLayout());
-
- tableMetadata.setModel(new javax.swing.table.DefaultTableModel(
- new Object[][] { { null, null, null }, { null, null, null },
- { null, null, null }, { null, null, null } },
- new String[] { "Attribute", "Value", "Unit" }) {
- Class[] types = new Class[] { java.lang.String.class,
- java.lang.String.class, java.lang.String.class };
- boolean[] canEdit = new boolean[] { false, false, false };
-
- @Override
- public Class getColumnClass(final int columnIndex) {
- return types[columnIndex];
- }
-
- @Override
- public boolean isCellEditable(final int rowIndex,
- final int columnIndex) {
- return canEdit[columnIndex];
- }
- });
- tableMetadata
- .setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
- jScrollPane2.setViewportView(tableMetadata);
-
- pnlMetadataTable.add(jScrollPane2, java.awt.BorderLayout.CENTER);
-
- jPanel5.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 2, 2,
- 2));
- jPanel5.setPreferredSize(new java.awt.Dimension(568, 44));
- jPanel5.setLayout(new java.awt.BorderLayout());
-
- jPanel6.setPreferredSize(new java.awt.Dimension(100, 40));
-
- btnMetadataDelete.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.btnMetadataDelete.text")); // NOI18N
- btnMetadataDelete.setActionCommand(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.btnMetadataDelete.actionCommand")); // NOI18N
- btnMetadataDelete.setEnabled(false);
- btnMetadataDelete
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnMetadataDeleteActionPerformed(evt);
- }
- });
-
- org.jdesktop.layout.GroupLayout jPanel6Layout = new org.jdesktop.layout.GroupLayout(
- jPanel6);
- jPanel6.setLayout(jPanel6Layout);
- jPanel6Layout.setHorizontalGroup(jPanel6Layout
- .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
- .add(0, 100, Short.MAX_VALUE)
- .add(jPanel6Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(
- jPanel6Layout.createSequentialGroup().add(8, 8, 8)
- .add(btnMetadataDelete)
- .addContainerGap(8, Short.MAX_VALUE))));
- jPanel6Layout
- .setVerticalGroup(jPanel6Layout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(0, 40, Short.MAX_VALUE)
- .add(jPanel6Layout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jPanel6Layout
- .createSequentialGroup()
- .add(5, 5, 5)
- .add(btnMetadataDelete)
- .addContainerGap(
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE))));
-
- jPanel5.add(jPanel6, java.awt.BorderLayout.EAST);
-
- pnlMetadataTable.add(jPanel5, java.awt.BorderLayout.SOUTH);
-
- pnlMetadataTab.add(pnlMetadataTable, java.awt.BorderLayout.CENTER);
-
- pnlMetaDataEdit.setBorder(javax.swing.BorderFactory
- .createEtchedBorder());
- pnlMetaDataEdit.setPreferredSize(new java.awt.Dimension(527, 200));
-
- jLabel28.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel28.text")); // NOI18N
-
- jLabel29.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel29.text")); // NOI18N
-
- jLabel30.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.jLabel30.text")); // NOI18N
-
- btnMetadataClear
- .setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.btnMetadataClear.text")); // NOI18N
- btnMetadataClear.addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(final java.awt.event.ActionEvent evt) {
- btnMetadataClearActionPerformed(evt);
- }
- });
-
- btnMetadataCreate.setText(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.btnMetadataCreate.text")); // NOI18N
- btnMetadataCreate.setEnabled(false);
- btnMetadataCreate
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnMetadataCreateActionPerformed(evt);
- }
- });
-
- txtMetadataAttribute.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.txtMetadataAttribute.text")); // NOI18N
-
- txtMetadataValue
- .setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.txtMetadataValue.text")); // NOI18N
-
- txtMetadataUnit.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.txtMetadataUnit.text")); // NOI18N
-
- org.jdesktop.layout.GroupLayout pnlMetaDataEditLayout = new org.jdesktop.layout.GroupLayout(
- pnlMetaDataEdit);
- pnlMetaDataEdit.setLayout(pnlMetaDataEditLayout);
- pnlMetaDataEditLayout
- .setHorizontalGroup(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlMetaDataEditLayout
- .createSequentialGroup()
- .addContainerGap()
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlMetaDataEditLayout
- .createSequentialGroup()
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(jLabel28)
- .add(jLabel29)
- .add(jLabel30))
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.UNRELATED)
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(txtMetadataValue,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- 480,
- Short.MAX_VALUE)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- txtMetadataAttribute)
- .add(txtMetadataUnit)))
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- pnlMetaDataEditLayout
- .createSequentialGroup()
- .add(0, 0,
- Short.MAX_VALUE)
- .add(btnMetadataClear)
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(btnMetadataCreate)))
- .addContainerGap()));
- pnlMetaDataEditLayout
- .setVerticalGroup(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(pnlMetaDataEditLayout
- .createSequentialGroup()
- .addContainerGap(18, Short.MAX_VALUE)
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel28)
- .add(txtMetadataAttribute,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(18, 18, 18)
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel29)
- .add(txtMetadataValue,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(18, 18, 18)
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(jLabel30)
- .add(txtMetadataUnit,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
- .add(23, 23, 23)
- .add(pnlMetaDataEditLayout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(btnMetadataClear)
- .add(btnMetadataCreate))
- .addContainerGap()));
-
- pnlMetadataTab.add(pnlMetaDataEdit, java.awt.BorderLayout.SOUTH);
-
- tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.pnlMetadataTab.TabConstraints.tabTitle"),
- pnlMetadataTab); // NOI18N
-
- pnlPermissionsTab.setLayout(new java.awt.BorderLayout());
-
- pnlPermissionsTable.setLayout(new java.awt.BorderLayout());
-
- tablePermissions.setModel(new javax.swing.table.DefaultTableModel(
- new Object[][] { { "", null }, { null, null }, { null, null },
- { null, null } }, new String[] { "User Name",
- "Share Permission" }) {
- Class[] types = new Class[] { java.lang.String.class,
- java.lang.Object.class };
- boolean[] canEdit = new boolean[] { false, true };
-
- @Override
- public Class getColumnClass(final int columnIndex) {
- return types[columnIndex];
- }
-
- @Override
- public boolean isCellEditable(final int rowIndex,
- final int columnIndex) {
- return canEdit[columnIndex];
- }
- });
- tablePermissions
- .setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
- jScrollPane3.setViewportView(tablePermissions);
-
- pnlPermissionsTable.add(jScrollPane3, java.awt.BorderLayout.CENTER);
-
- jPanel7.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 2, 2,
- 2));
- jPanel7.setPreferredSize(new java.awt.Dimension(568, 44));
- jPanel7.setLayout(new java.awt.BorderLayout());
-
- jPanel8.setPreferredSize(new java.awt.Dimension(100, 44));
-
- btnPermissionsSave.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.btnPermissionsSave.text")); // NOI18N
- btnPermissionsSave.setActionCommand(org.openide.util.NbBundle
- .getMessage(IRODSInfoDialog.class,
- "IRODSInfoDialog.btnPermissionsSave.actionCommand")); // NOI18N
- btnPermissionsSave.setEnabled(false);
- btnPermissionsSave
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnPermissionsSaveActionPerformed(evt);
- }
- });
-
- org.jdesktop.layout.GroupLayout jPanel8Layout = new org.jdesktop.layout.GroupLayout(
- jPanel8);
- jPanel8.setLayout(jPanel8Layout);
- jPanel8Layout.setHorizontalGroup(jPanel8Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(
- org.jdesktop.layout.GroupLayout.TRAILING,
- jPanel8Layout.createSequentialGroup()
- .addContainerGap(19, Short.MAX_VALUE)
- .add(btnPermissionsSave).addContainerGap()));
- jPanel8Layout.setVerticalGroup(jPanel8Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(
- org.jdesktop.layout.GroupLayout.TRAILING,
- jPanel8Layout
- .createSequentialGroup()
- .addContainerGap(
- org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
- Short.MAX_VALUE).add(btnPermissionsSave)
- .addContainerGap()));
-
- jPanel7.add(jPanel8, java.awt.BorderLayout.EAST);
-
- jPanel9.setPreferredSize(new java.awt.Dimension(100, 25));
- jPanel9.setLayout(new java.awt.BorderLayout());
-
- jPanel16.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER,
- 1, 1));
-
- btnAddSharePermissions.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.btnAddSharePermissions.text")); // NOI18N
- btnAddSharePermissions.setPreferredSize(new java.awt.Dimension(22, 24));
- btnAddSharePermissions
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnAddSharePermissionsActionPerformed(evt);
- }
- });
- jPanel16.add(btnAddSharePermissions);
-
- btnDeleteSharePermissions.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.btnDeleteSharePermissions.text")); // NOI18N
- btnDeleteSharePermissions.setEnabled(false);
- btnDeleteSharePermissions.setPreferredSize(new java.awt.Dimension(22,
- 24));
- btnDeleteSharePermissions
- .addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(
- final java.awt.event.ActionEvent evt) {
- btnDeleteSharePermissionsActionPerformed(evt);
- }
- });
- jPanel16.add(btnDeleteSharePermissions);
-
- jPanel9.add(jPanel16, java.awt.BorderLayout.WEST);
-
- jPanel7.add(jPanel9, java.awt.BorderLayout.WEST);
-
- pnlPermissionsTable.add(jPanel7, java.awt.BorderLayout.SOUTH);
-
- pnlPermissionsTab
- .add(pnlPermissionsTable, java.awt.BorderLayout.CENTER);
-
- tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class,
- "IRODSInfoDialog.pnlPermissionsTab.TabConstraints.tabTitle"),
- pnlPermissionsTab); // NOI18N
-
- jPanel1.add(tabbedpanelMain, java.awt.BorderLayout.CENTER);
-
- pnlCloseBtn.setPreferredSize(new java.awt.Dimension(589, 35));
- pnlCloseBtn.setLayout(new java.awt.BorderLayout());
-
- jPanel3.setPreferredSize(new java.awt.Dimension(100, 40));
- jPanel3.setSize(new java.awt.Dimension(200, 100));
-
- org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(
- jPanel3);
- jPanel3.setLayout(jPanel3Layout);
- jPanel3Layout.setHorizontalGroup(jPanel3Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(0, 100,
- Short.MAX_VALUE));
- jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(0, 35,
- Short.MAX_VALUE));
-
- pnlCloseBtn.add(jPanel3, java.awt.BorderLayout.WEST);
-
- btnClose.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.btnClose.text")); // NOI18N
- btnClose.addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(final java.awt.event.ActionEvent evt) {
- btnCloseActionPerformed(evt);
- }
- });
-
- btnRefresh.setText(org.openide.util.NbBundle.getMessage(
- IRODSInfoDialog.class, "IRODSInfoDialog.btnRefresh.text")); // NOI18N
- btnRefresh.addActionListener(new java.awt.event.ActionListener() {
- @Override
- public void actionPerformed(final java.awt.event.ActionEvent evt) {
- btnRefreshActionPerformed(evt);
- }
- });
-
- org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(
- jPanel4);
- jPanel4.setLayout(jPanel4Layout);
- jPanel4Layout.setHorizontalGroup(jPanel4Layout.createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING).add(
- org.jdesktop.layout.GroupLayout.TRAILING,
- jPanel4Layout
- .createSequentialGroup()
- .addContainerGap(417, Short.MAX_VALUE)
- .add(btnRefresh)
- .addPreferredGap(
- org.jdesktop.layout.LayoutStyle.RELATED)
- .add(btnClose).addContainerGap()));
- jPanel4Layout
- .setVerticalGroup(jPanel4Layout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.LEADING)
- .add(org.jdesktop.layout.GroupLayout.TRAILING,
- jPanel4Layout
- .createSequentialGroup()
- .add(0, 6, Short.MAX_VALUE)
- .add(jPanel4Layout
- .createParallelGroup(
- org.jdesktop.layout.GroupLayout.BASELINE)
- .add(btnClose).add(btnRefresh))));
-
- pnlCloseBtn.add(jPanel4, java.awt.BorderLayout.EAST);
-
- jPanel1.add(pnlCloseBtn, java.awt.BorderLayout.PAGE_END);
-
- getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
-
- pack();
- }// </editor-fold>//GEN-END:initComponents
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel2 = new javax.swing.JPanel();
+ jPanel1 = new javax.swing.JPanel();
+ pnlSelectedObject = new javax.swing.JPanel();
+ lblObjectCollection = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ lblInfoObjectName = new javax.swing.JLabel();
+ lblInfoObjectParent = new javax.swing.JLabel();
+ tabbedpanelMain = new javax.swing.JTabbedPane();
+ pnlInfoTab = new javax.swing.JPanel();
+ pnlInfoCards = new javax.swing.JPanel();
+ pnlCollectionInfo = new javax.swing.JPanel();
+ jLabel19 = new javax.swing.JLabel();
+ jLabel20 = new javax.swing.JLabel();
+ jLabel21 = new javax.swing.JLabel();
+ jLabel22 = new javax.swing.JLabel();
+ jLabel23 = new javax.swing.JLabel();
+ jLabel24 = new javax.swing.JLabel();
+ jLabel25 = new javax.swing.JLabel();
+ jLabel26 = new javax.swing.JLabel();
+ jLabel27 = new javax.swing.JLabel();
+ lblInfoCollectionCreatedDate = new javax.swing.JLabel();
+ lblInfoCollectionModifiedDate = new javax.swing.JLabel();
+ lblInfoCollectionOwner = new javax.swing.JLabel();
+ lblInfoCollectionOwnerZone = new javax.swing.JLabel();
+ lblInfoCollectionType = new javax.swing.JLabel();
+ lblInfoCollectionObjectPath = new javax.swing.JLabel();
+ lblInfoCollectionDescription = new javax.swing.JLabel();
+ lblInfoCollectionInfo1 = new javax.swing.JLabel();
+ lblInfoCollectionInfo2 = new javax.swing.JLabel();
+ pnlObjectInfo = new javax.swing.JPanel();
+ jLabel3 = new javax.swing.JLabel();
+ jLabel4 = new javax.swing.JLabel();
+ jLabel5 = new javax.swing.JLabel();
+ jLabel6 = new javax.swing.JLabel();
+ jLabel7 = new javax.swing.JLabel();
+ jLabel8 = new javax.swing.JLabel();
+ jLabel9 = new javax.swing.JLabel();
+ jLabel10 = new javax.swing.JLabel();
+ jLabel11 = new javax.swing.JLabel();
+ jLabel12 = new javax.swing.JLabel();
+ jLabel13 = new javax.swing.JLabel();
+ jLabel14 = new javax.swing.JLabel();
+ jLabel15 = new javax.swing.JLabel();
+ jLabel16 = new javax.swing.JLabel();
+ lblInfoObjectSize = new javax.swing.JLabel();
+ lblInfoObjectCreatedDate = new javax.swing.JLabel();
+ lblInfoObjectModifiedDate = new javax.swing.JLabel();
+ lblInfoObjectOwner = new javax.swing.JLabel();
+ lblInfoObjectOwnerZone = new javax.swing.JLabel();
+ lblInfoObjectDataPath = new javax.swing.JLabel();
+ lblInfoObjectResourceGroup = new javax.swing.JLabel();
+ lblInfoObjectChecksum = new javax.swing.JLabel();
+ lblInfoObjectResource = new javax.swing.JLabel();
+ lblInfoObjectReplicaNumber = new javax.swing.JLabel();
+ lblInfoObjectReplicationStatus = new javax.swing.JLabel();
+ lblInfoObjectStatus = new javax.swing.JLabel();
+ lblInfoObjectType = new javax.swing.JLabel();
+ lblInfoObjectVersion = new javax.swing.JLabel();
+ pnlTagsComments = new javax.swing.JPanel();
+ jLabel17 = new javax.swing.JLabel();
+ txtInfoTags = new javax.swing.JTextField();
+ jLabel18 = new javax.swing.JLabel();
+ jScrollPane1 = new javax.swing.JScrollPane();
+ textareaInfoComments = new javax.swing.JTextArea();
+ btnUpdateTagsComments = new javax.swing.JButton();
+ pnlMetadataTab = new javax.swing.JPanel();
+ pnlMetadataTable = new javax.swing.JPanel();
+ jScrollPane2 = new javax.swing.JScrollPane();
+ tableMetadata = new javax.swing.JTable();
+ jPanel5 = new javax.swing.JPanel();
+ jPanel6 = new javax.swing.JPanel();
+ btnMetadataDelete = new javax.swing.JButton();
+ pnlMetaDataEdit = new javax.swing.JPanel();
+ jLabel28 = new javax.swing.JLabel();
+ jLabel29 = new javax.swing.JLabel();
+ jLabel30 = new javax.swing.JLabel();
+ btnMetadataClear = new javax.swing.JButton();
+ btnMetadataCreate = new javax.swing.JButton();
+ txtMetadataAttribute = new javax.swing.JTextField();
+ txtMetadataValue = new javax.swing.JTextField();
+ txtMetadataUnit = new javax.swing.JTextField();
+ pnlPermissionsTab = new javax.swing.JPanel();
+ pnlPermissionsTable = new javax.swing.JPanel();
+ jScrollPane3 = new javax.swing.JScrollPane();
+ tablePermissions = new javax.swing.JTable();
+ jPanel7 = new javax.swing.JPanel();
+ jPanel8 = new javax.swing.JPanel();
+ btnPermissionsSave = new javax.swing.JButton();
+ jPanel9 = new javax.swing.JPanel();
+ jPanel16 = new javax.swing.JPanel();
+ btnAddSharePermissions = new javax.swing.JButton();
+ btnDeleteSharePermissions = new javax.swing.JButton();
+ pnlCloseBtn = new javax.swing.JPanel();
+ jPanel3 = new javax.swing.JPanel();
+ jPanel4 = new javax.swing.JPanel();
+ btnClose = new javax.swing.JButton();
+ btnRefresh = new javax.swing.JButton();
+
+ org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 100, Short.MAX_VALUE)
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 100, Short.MAX_VALUE)
+ );
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
+ setPreferredSize(new java.awt.Dimension(560, 720));
+
+ jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(14, 10, 10, 10));
+ jPanel1.setPreferredSize(new java.awt.Dimension(600, 750));
+ jPanel1.setLayout(new java.awt.BorderLayout());
+
+ pnlSelectedObject.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4));
+ pnlSelectedObject.setPreferredSize(new java.awt.Dimension(528, 70));
+
+ lblObjectCollection.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
+ lblObjectCollection.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblObjectCollection.text")); // NOI18N
+
+ jLabel2.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
+ jLabel2.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel2.text")); // NOI18N
+
+ lblInfoObjectName.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectName.text")); // NOI18N
+
+ lblInfoObjectParent.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectParent.text")); // NOI18N
+
+ org.jdesktop.layout.GroupLayout pnlSelectedObjectLayout = new org.jdesktop.layout.GroupLayout(pnlSelectedObject);
+ pnlSelectedObject.setLayout(pnlSelectedObjectLayout);
+ pnlSelectedObjectLayout.setHorizontalGroup(
+ pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlSelectedObjectLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(lblObjectCollection, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE)
+ .add(jLabel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(lblInfoObjectName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 362, Short.MAX_VALUE)
+ .add(lblInfoObjectParent, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap(63, Short.MAX_VALUE))
+ );
+ pnlSelectedObjectLayout.setVerticalGroup(
+ pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlSelectedObjectLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(lblObjectCollection)
+ .add(lblInfoObjectName))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlSelectedObjectLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(lblInfoObjectParent))
+ .addContainerGap(12, Short.MAX_VALUE))
+ );
+
+ jPanel1.add(pnlSelectedObject, java.awt.BorderLayout.PAGE_START);
+
+ tabbedpanelMain.setPreferredSize(new java.awt.Dimension(600, 867));
+
+ pnlInfoTab.setLayout(new java.awt.BorderLayout());
+
+ pnlInfoCards.setBorder(javax.swing.BorderFactory.createEtchedBorder());
+ pnlInfoCards.setPreferredSize(new java.awt.Dimension(555, 640));
+ pnlInfoCards.setLayout(new java.awt.CardLayout());
+
+ pnlCollectionInfo.setPreferredSize(new java.awt.Dimension(515, 500));
+
+ jLabel19.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel19.text")); // NOI18N
+
+ jLabel20.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel20.text")); // NOI18N
+
+ jLabel21.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel21.text")); // NOI18N
+
+ jLabel22.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel22.text")); // NOI18N
+
+ jLabel23.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel23.text")); // NOI18N
+
+ jLabel24.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel24.text")); // NOI18N
+
+ jLabel25.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel25.text")); // NOI18N
+
+ jLabel26.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel26.text")); // NOI18N
+
+ jLabel27.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel27.text")); // NOI18N
+
+ lblInfoCollectionCreatedDate.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionCreatedDate.text")); // NOI18N
+
+ lblInfoCollectionModifiedDate.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionModifiedDate.text")); // NOI18N
+
+ lblInfoCollectionOwner.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionOwner.text")); // NOI18N
+
+ lblInfoCollectionOwnerZone.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionOwnerZone.text")); // NOI18N
+
+ lblInfoCollectionType.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionType.text")); // NOI18N
+
+ lblInfoCollectionObjectPath.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionObjectPath.text")); // NOI18N
+
+ lblInfoCollectionDescription.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionDescription.text")); // NOI18N
+
+ lblInfoCollectionInfo1.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionInfo1.text")); // NOI18N
+
+ lblInfoCollectionInfo2.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoCollectionInfo2.text")); // NOI18N
+
+ org.jdesktop.layout.GroupLayout pnlCollectionInfoLayout = new org.jdesktop.layout.GroupLayout(pnlCollectionInfo);
+ pnlCollectionInfo.setLayout(pnlCollectionInfoLayout);
+ pnlCollectionInfoLayout.setHorizontalGroup(
+ pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlCollectionInfoLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
+ .add(org.jdesktop.layout.GroupLayout.LEADING, pnlCollectionInfoLayout.createSequentialGroup()
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel22)
+ .add(jLabel23)
+ .add(jLabel24)
+ .add(jLabel25)
+ .add(jLabel26)
+ .add(jLabel27))
+ .add(24, 24, 24)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoCollectionOwnerZone, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
+ .add(lblInfoCollectionType, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoCollectionObjectPath, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoCollectionDescription, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoCollectionInfo1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoCollectionInfo2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .add(org.jdesktop.layout.GroupLayout.LEADING, pnlCollectionInfoLayout.createSequentialGroup()
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel19)
+ .add(jLabel20)
+ .add(jLabel21))
+ .add(47, 47, 47)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(lblInfoCollectionCreatedDate, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
+ .add(lblInfoCollectionModifiedDate, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoCollectionOwner, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
+ .addContainerGap())
+ );
+ pnlCollectionInfoLayout.setVerticalGroup(
+ pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlCollectionInfoLayout.createSequentialGroup()
+ .add(24, 24, 24)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel19)
+ .add(lblInfoCollectionCreatedDate))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel20)
+ .add(lblInfoCollectionModifiedDate))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel21)
+ .add(lblInfoCollectionOwner))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel22)
+ .add(lblInfoCollectionOwnerZone))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel23)
+ .add(lblInfoCollectionType))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel24)
+ .add(lblInfoCollectionObjectPath))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel25)
+ .add(lblInfoCollectionDescription))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel26)
+ .add(lblInfoCollectionInfo1))
+ .add(18, 18, 18)
+ .add(pnlCollectionInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel27)
+ .add(lblInfoCollectionInfo2))
+ .addContainerGap(316, Short.MAX_VALUE))
+ );
+
+ pnlInfoCards.add(pnlCollectionInfo, "cardCollectionInfo");
+
+ pnlObjectInfo.setPreferredSize(new java.awt.Dimension(550, 530));
+
+ jLabel3.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel3.text")); // NOI18N
+
+ jLabel4.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel4.text")); // NOI18N
+
+ jLabel5.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel5.text")); // NOI18N
+
+ jLabel6.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel6.text")); // NOI18N
+
+ jLabel7.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel7.text")); // NOI18N
+
+ jLabel8.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel8.text")); // NOI18N
+
+ jLabel9.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel9.text")); // NOI18N
+
+ jLabel10.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel10.text")); // NOI18N
+
+ jLabel11.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel11.text")); // NOI18N
+
+ jLabel12.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel12.text")); // NOI18N
+
+ jLabel13.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel13.text")); // NOI18N
+
+ jLabel14.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel14.text")); // NOI18N
+
+ jLabel15.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel15.text")); // NOI18N
+
+ jLabel16.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel16.text")); // NOI18N
+
+ lblInfoObjectSize.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectSize.text")); // NOI18N
+
+ lblInfoObjectCreatedDate.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectCreatedDate.text")); // NOI18N
+
+ lblInfoObjectModifiedDate.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectModifiedDate.text")); // NOI18N
+
+ lblInfoObjectOwner.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectOwner.text")); // NOI18N
+
+ lblInfoObjectOwnerZone.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectOwnerZone.text")); // NOI18N
+
+ lblInfoObjectDataPath.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectDataPath.text")); // NOI18N
+
+ lblInfoObjectResourceGroup.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectResourceGroup.text")); // NOI18N
+
+ lblInfoObjectChecksum.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectChecksum.text")); // NOI18N
+
+ lblInfoObjectResource.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectResource.text")); // NOI18N
+
+ lblInfoObjectReplicaNumber.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectReplicaNumber.text")); // NOI18N
+
+ lblInfoObjectReplicationStatus.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectReplicationStatus.text")); // NOI18N
+
+ lblInfoObjectStatus.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectStatus.text")); // NOI18N
+
+ lblInfoObjectType.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectType.text")); // NOI18N
+
+ lblInfoObjectVersion.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.lblInfoObjectVersion.text")); // NOI18N
+
+ org.jdesktop.layout.GroupLayout pnlObjectInfoLayout = new org.jdesktop.layout.GroupLayout(pnlObjectInfo);
+ pnlObjectInfo.setLayout(pnlObjectInfoLayout);
+ pnlObjectInfoLayout.setHorizontalGroup(
+ pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlObjectInfoLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(pnlObjectInfoLayout.createSequentialGroup()
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel4)
+ .add(jLabel5)
+ .add(jLabel6)
+ .add(jLabel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 90, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 90, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 115, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 80, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel12))
+ .add(22, 22, 22)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(lblInfoObjectResource, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectReplicaNumber, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectSize, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 370, Short.MAX_VALUE)
+ .add(lblInfoObjectCreatedDate, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectModifiedDate, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectOwner, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectOwnerZone, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectDataPath, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectResourceGroup, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectChecksum, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .add(pnlObjectInfoLayout.createSequentialGroup()
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel13, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 125, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(jLabel14)
+ .add(jLabel15)
+ .add(jLabel16))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoObjectReplicationStatus, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectStatus, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectType, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lblInfoObjectVersion, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
+ .addContainerGap(63, Short.MAX_VALUE))
+ );
+ pnlObjectInfoLayout.setVerticalGroup(
+ pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlObjectInfoLayout.createSequentialGroup()
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlObjectInfoLayout.createSequentialGroup()
+ .add(18, 18, 18)
+ .add(lblInfoObjectSize))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlObjectInfoLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(jLabel3)))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoObjectCreatedDate)
+ .add(jLabel4))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel5)
+ .add(lblInfoObjectModifiedDate))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoObjectOwner)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel6))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel7)
+ .add(lblInfoObjectOwnerZone))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoObjectDataPath)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel8))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel9)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, lblInfoObjectResourceGroup))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lblInfoObjectChecksum)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel10))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel11)
+ .add(lblInfoObjectResource))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel12)
+ .add(lblInfoObjectReplicaNumber))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel13)
+ .add(lblInfoObjectReplicationStatus))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel14)
+ .add(lblInfoObjectStatus))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel15)
+ .add(lblInfoObjectType))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(pnlObjectInfoLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel16)
+ .add(lblInfoObjectVersion))
+ .addContainerGap(318, Short.MAX_VALUE))
+ );
+
+ pnlInfoCards.add(pnlObjectInfo, "cardObjectInfo");
+
+ pnlInfoTab.add(pnlInfoCards, java.awt.BorderLayout.CENTER);
+
+ pnlTagsComments.setBorder(javax.swing.BorderFactory.createEtchedBorder());
+
+ jLabel17.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel17.text")); // NOI18N
+
+ txtInfoTags.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.txtInfoTags.text")); // NOI18N
+
+ jLabel18.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel18.text")); // NOI18N
+
+ textareaInfoComments.setColumns(20);
+ textareaInfoComments.setRows(5);
+ jScrollPane1.setViewportView(textareaInfoComments);
+
+ btnUpdateTagsComments.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnUpdateTagsComments.text")); // NOI18N
+ btnUpdateTagsComments.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnUpdateTagsCommentsActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout pnlTagsCommentsLayout = new org.jdesktop.layout.GroupLayout(pnlTagsComments);
+ pnlTagsComments.setLayout(pnlTagsCommentsLayout);
+ pnlTagsCommentsLayout.setHorizontalGroup(
+ pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlTagsCommentsLayout.createSequentialGroup()
+ .add(pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlTagsCommentsLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel17)
+ .add(jLabel18))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 92, Short.MAX_VALUE)
+ .add(pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
+ .add(txtInfoTags)
+ .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 408, Short.MAX_VALUE))
+ .add(6, 6, 6))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlTagsCommentsLayout.createSequentialGroup()
+ .add(0, 0, Short.MAX_VALUE)
+ .add(btnUpdateTagsComments)))
+ .addContainerGap())
+ );
+ pnlTagsCommentsLayout.setVerticalGroup(
+ pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlTagsCommentsLayout.createSequentialGroup()
+ .add(6, 6, 6)
+ .add(pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel17)
+ .add(txtInfoTags, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
+ .add(pnlTagsCommentsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel18)
+ .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
+ .add(btnUpdateTagsComments)
+ .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ pnlInfoTab.add(pnlTagsComments, java.awt.BorderLayout.SOUTH);
+
+ tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.pnlInfoTab.TabConstraints.tabTitle"), pnlInfoTab); // NOI18N
+
+ pnlMetadataTab.setLayout(new java.awt.BorderLayout());
+
+ pnlMetadataTable.setLayout(new java.awt.BorderLayout());
+
+ tableMetadata.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null},
+ {null, null, null},
+ {null, null, null},
+ {null, null, null}
+ },
+ new String [] {
+ "Attribute", "Value", "Unit"
+ }
+ ) {
+ Class[] types = new Class [] {
+ java.lang.String.class, java.lang.String.class, java.lang.String.class
+ };
+ boolean[] canEdit = new boolean [] {
+ false, false, false
+ };
+
+ public Class getColumnClass(int columnIndex) {
+ return types [columnIndex];
+ }
+
+ public boolean isCellEditable(int rowIndex, int columnIndex) {
+ return canEdit [columnIndex];
+ }
+ });
+ tableMetadata.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+ jScrollPane2.setViewportView(tableMetadata);
+
+ pnlMetadataTable.add(jScrollPane2, java.awt.BorderLayout.CENTER);
+
+ jPanel5.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 2, 2, 2));
+ jPanel5.setPreferredSize(new java.awt.Dimension(568, 44));
+ jPanel5.setLayout(new java.awt.BorderLayout());
+
+ jPanel6.setPreferredSize(new java.awt.Dimension(100, 40));
+
+ btnMetadataDelete.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnMetadataDelete.text")); // NOI18N
+ btnMetadataDelete.setActionCommand(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnMetadataDelete.actionCommand")); // NOI18N
+ btnMetadataDelete.setEnabled(false);
+ btnMetadataDelete.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnMetadataDeleteActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout jPanel6Layout = new org.jdesktop.layout.GroupLayout(jPanel6);
+ jPanel6.setLayout(jPanel6Layout);
+ jPanel6Layout.setHorizontalGroup(
+ jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 100, Short.MAX_VALUE)
+ .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jPanel6Layout.createSequentialGroup()
+ .add(8, 8, 8)
+ .add(btnMetadataDelete)
+ .addContainerGap(29, Short.MAX_VALUE)))
+ );
+ jPanel6Layout.setVerticalGroup(
+ jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 40, Short.MAX_VALUE)
+ .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jPanel6Layout.createSequentialGroup()
+ .add(5, 5, 5)
+ .add(btnMetadataDelete)
+ .addContainerGap(12, Short.MAX_VALUE)))
+ );
+
+ jPanel5.add(jPanel6, java.awt.BorderLayout.EAST);
+
+ pnlMetadataTable.add(jPanel5, java.awt.BorderLayout.SOUTH);
+
+ pnlMetadataTab.add(pnlMetadataTable, java.awt.BorderLayout.CENTER);
+
+ pnlMetaDataEdit.setBorder(javax.swing.BorderFactory.createEtchedBorder());
+ pnlMetaDataEdit.setPreferredSize(new java.awt.Dimension(527, 200));
+
+ jLabel28.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel28.text")); // NOI18N
+
+ jLabel29.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel29.text")); // NOI18N
+
+ jLabel30.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.jLabel30.text")); // NOI18N
+
+ btnMetadataClear.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnMetadataClear.text")); // NOI18N
+ btnMetadataClear.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnMetadataClearActionPerformed(evt);
+ }
+ });
+
+ btnMetadataCreate.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnMetadataCreate.text")); // NOI18N
+ btnMetadataCreate.setEnabled(false);
+ btnMetadataCreate.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnMetadataCreateActionPerformed(evt);
+ }
+ });
+
+ txtMetadataAttribute.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.txtMetadataAttribute.text")); // NOI18N
+
+ txtMetadataValue.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.txtMetadataValue.text")); // NOI18N
+
+ txtMetadataUnit.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.txtMetadataUnit.text")); // NOI18N
+
+ org.jdesktop.layout.GroupLayout pnlMetaDataEditLayout = new org.jdesktop.layout.GroupLayout(pnlMetaDataEdit);
+ pnlMetaDataEdit.setLayout(pnlMetaDataEditLayout);
+ pnlMetaDataEditLayout.setHorizontalGroup(
+ pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlMetaDataEditLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlMetaDataEditLayout.createSequentialGroup()
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(jLabel28)
+ .add(jLabel29)
+ .add(jLabel30))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(txtMetadataValue, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 480, Short.MAX_VALUE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, txtMetadataAttribute)
+ .add(txtMetadataUnit)))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlMetaDataEditLayout.createSequentialGroup()
+ .add(0, 432, Short.MAX_VALUE)
+ .add(btnMetadataClear)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(btnMetadataCreate)))
+ .addContainerGap())
+ );
+ pnlMetaDataEditLayout.setVerticalGroup(
+ pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(pnlMetaDataEditLayout.createSequentialGroup()
+ .addContainerGap(43, Short.MAX_VALUE)
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel28)
+ .add(txtMetadataAttribute, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(18, 18, 18)
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel29)
+ .add(txtMetadataValue, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(18, 18, 18)
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(jLabel30)
+ .add(txtMetadataUnit, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(23, 23, 23)
+ .add(pnlMetaDataEditLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(btnMetadataClear)
+ .add(btnMetadataCreate))
+ .addContainerGap())
+ );
+
+ pnlMetadataTab.add(pnlMetaDataEdit, java.awt.BorderLayout.SOUTH);
+
+ tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.pnlMetadataTab.TabConstraints.tabTitle"), pnlMetadataTab); // NOI18N
+
+ pnlPermissionsTab.setLayout(new java.awt.BorderLayout());
+
+ pnlPermissionsTable.setLayout(new java.awt.BorderLayout());
+
+ tablePermissions.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {"", null},
+ {null, null},
+ {null, null},
+ {null, null}
+ },
+ new String [] {
+ "User Name", "Share Permission"
+ }
+ ) {
+ Class[] types = new Class [] {
+ java.lang.String.class, java.lang.Object.class
+ };
+ boolean[] canEdit = new boolean [] {
+ false, true
+ };
+
+ public Class getColumnClass(int columnIndex) {
+ return types [columnIndex];
+ }
+
+ public boolean isCellEditable(int rowIndex, int columnIndex) {
+ return canEdit [columnIndex];
+ }
+ });
+ tablePermissions.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+ jScrollPane3.setViewportView(tablePermissions);
+
+ pnlPermissionsTable.add(jScrollPane3, java.awt.BorderLayout.CENTER);
+
+ jPanel7.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 2, 2, 2));
+ jPanel7.setPreferredSize(new java.awt.Dimension(568, 44));
+ jPanel7.setLayout(new java.awt.BorderLayout());
+
+ jPanel8.setPreferredSize(new java.awt.Dimension(100, 44));
+
+ btnPermissionsSave.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnPermissionsSave.text")); // NOI18N
+ btnPermissionsSave.setActionCommand(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnPermissionsSave.actionCommand")); // NOI18N
+ btnPermissionsSave.setEnabled(false);
+ btnPermissionsSave.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnPermissionsSaveActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout jPanel8Layout = new org.jdesktop.layout.GroupLayout(jPanel8);
+ jPanel8.setLayout(jPanel8Layout);
+ jPanel8Layout.setHorizontalGroup(
+ jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel8Layout.createSequentialGroup()
+ .addContainerGap(33, Short.MAX_VALUE)
+ .add(btnPermissionsSave)
+ .addContainerGap())
+ );
+ jPanel8Layout.setVerticalGroup(
+ jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel8Layout.createSequentialGroup()
+ .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(btnPermissionsSave)
+ .addContainerGap())
+ );
+
+ jPanel7.add(jPanel8, java.awt.BorderLayout.EAST);
+
+ jPanel9.setPreferredSize(new java.awt.Dimension(100, 25));
+ jPanel9.setLayout(new java.awt.BorderLayout());
+
+ jPanel16.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER, 1, 1));
+
+ btnAddSharePermissions.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnAddSharePermissions.text")); // NOI18N
+ btnAddSharePermissions.setPreferredSize(new java.awt.Dimension(22, 24));
+ btnAddSharePermissions.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnAddSharePermissionsActionPerformed(evt);
+ }
+ });
+ jPanel16.add(btnAddSharePermissions);
+
+ btnDeleteSharePermissions.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnDeleteSharePermissions.text")); // NOI18N
+ btnDeleteSharePermissions.setEnabled(false);
+ btnDeleteSharePermissions.setPreferredSize(new java.awt.Dimension(22, 24));
+ btnDeleteSharePermissions.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnDeleteSharePermissionsActionPerformed(evt);
+ }
+ });
+ jPanel16.add(btnDeleteSharePermissions);
+
+ jPanel9.add(jPanel16, java.awt.BorderLayout.WEST);
+
+ jPanel7.add(jPanel9, java.awt.BorderLayout.WEST);
+
+ pnlPermissionsTable.add(jPanel7, java.awt.BorderLayout.SOUTH);
+
+ pnlPermissionsTab.add(pnlPermissionsTable, java.awt.BorderLayout.CENTER);
+
+ tabbedpanelMain.addTab(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.pnlPermissionsTab.TabConstraints.tabTitle"), pnlPermissionsTab); // NOI18N
+
+ jPanel1.add(tabbedpanelMain, java.awt.BorderLayout.CENTER);
+
+ pnlCloseBtn.setPreferredSize(new java.awt.Dimension(589, 35));
+ pnlCloseBtn.setLayout(new java.awt.BorderLayout());
+
+ jPanel3.setPreferredSize(new java.awt.Dimension(100, 40));
+
+ org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
+ jPanel3.setLayout(jPanel3Layout);
+ jPanel3Layout.setHorizontalGroup(
+ jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 100, Short.MAX_VALUE)
+ );
+ jPanel3Layout.setVerticalGroup(
+ jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(0, 35, Short.MAX_VALUE)
+ );
+
+ pnlCloseBtn.add(jPanel3, java.awt.BorderLayout.WEST);
+
+ btnClose.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnClose.text")); // NOI18N
+ btnClose.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnCloseActionPerformed(evt);
+ }
+ });
+
+ btnRefresh.setText(org.openide.util.NbBundle.getMessage(IRODSInfoDialog.class, "IRODSInfoDialog.btnRefresh.text")); // NOI18N
+ btnRefresh.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnRefreshActionPerformed(evt);
+ }
+ });
+
+ org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
+ jPanel4.setLayout(jPanel4Layout);
+ jPanel4Layout.setHorizontalGroup(
+ jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
+ .addContainerGap(417, Short.MAX_VALUE)
+ .add(btnRefresh)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(btnClose)
+ .addContainerGap())
+ );
+ jPanel4Layout.setVerticalGroup(
+ jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
+ .add(0, 12, Short.MAX_VALUE)
+ .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(btnClose)
+ .add(btnRefresh)))
+ );
+
+ pnlCloseBtn.add(jPanel4, java.awt.BorderLayout.EAST);
+
+ jPanel1.add(pnlCloseBtn, java.awt.BorderLayout.PAGE_END);
+
+ getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
+
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
private void btnMetadataCreateActionPerformed(
final java.awt.event.ActionEvent evt) {// GEN-FIRST:event_btnMetadataCreateActionPerformed
@@ -2281,104 +1832,103 @@ public class IRODSInfoDialog extends javax.swing.JDialog implements
}
}
}// GEN-LAST:event_btnDeleteSharePermissionsActionPerformed
- // Variables declaration - do not modify//GEN-BEGIN:variables
-
- private javax.swing.JButton btnAddSharePermissions;
- private javax.swing.JButton btnClose;
- private javax.swing.JButton btnDeleteSharePermissions;
- private javax.swing.JButton btnMetadataClear;
- private javax.swing.JButton btnMetadataCreate;
- private javax.swing.JButton btnMetadataDelete;
- private javax.swing.JButton btnPermissionsSave;
- private javax.swing.JButton btnRefresh;
- private javax.swing.JButton btnUpdateTagsComments;
- private javax.swing.JLabel jLabel10;
- private javax.swing.JLabel jLabel11;
- private javax.swing.JLabel jLabel12;
- private javax.swing.JLabel jLabel13;
- private javax.swing.JLabel jLabel14;
- private javax.swing.JLabel jLabel15;
- private javax.swing.JLabel jLabel16;
- private javax.swing.JLabel jLabel17;
- private javax.swing.JLabel jLabel18;
- private javax.swing.JLabel jLabel19;
- private javax.swing.JLabel jLabel2;
- private javax.swing.JLabel jLabel20;
- private javax.swing.JLabel jLabel21;
- private javax.swing.JLabel jLabel22;
- private javax.swing.JLabel jLabel23;
- private javax.swing.JLabel jLabel24;
- private javax.swing.JLabel jLabel25;
- private javax.swing.JLabel jLabel26;
- private javax.swing.JLabel jLabel27;
- private javax.swing.JLabel jLabel28;
- private javax.swing.JLabel jLabel29;
- private javax.swing.JLabel jLabel3;
- private javax.swing.JLabel jLabel30;
- private javax.swing.JLabel jLabel4;
- private javax.swing.JLabel jLabel5;
- private javax.swing.JLabel jLabel6;
- private javax.swing.JLabel jLabel7;
- private javax.swing.JLabel jLabel8;
- private javax.swing.JLabel jLabel9;
- private javax.swing.JPanel jPanel1;
- private javax.swing.JPanel jPanel16;
- private javax.swing.JPanel jPanel2;
- private javax.swing.JPanel jPanel3;
- private javax.swing.JPanel jPanel4;
- private javax.swing.JPanel jPanel5;
- private javax.swing.JPanel jPanel6;
- private javax.swing.JPanel jPanel7;
- private javax.swing.JPanel jPanel8;
- private javax.swing.JPanel jPanel9;
- private javax.swing.JScrollPane jScrollPane1;
- private javax.swing.JScrollPane jScrollPane2;
- private javax.swing.JScrollPane jScrollPane3;
- private javax.swing.JLabel lblInfoCollectionCreatedDate;
- private javax.swing.JLabel lblInfoCollectionDescription;
- private javax.swing.JLabel lblInfoCollectionInfo1;
- private javax.swing.JLabel lblInfoCollectionInfo2;
- private javax.swing.JLabel lblInfoCollectionModifiedDate;
- private javax.swing.JLabel lblInfoCollectionObjectPath;
- private javax.swing.JLabel lblInfoCollectionOwner;
- private javax.swing.JLabel lblInfoCollectionOwnerZone;
- private javax.swing.JLabel lblInfoCollectionType;
- private javax.swing.JLabel lblInfoObjectChecksum;
- private javax.swing.JLabel lblInfoObjectCreatedDate;
- private javax.swing.JLabel lblInfoObjectDataPath;
- private javax.swing.JLabel lblInfoObjectModifiedDate;
- private javax.swing.JLabel lblInfoObjectName;
- private javax.swing.JLabel lblInfoObjectOwner;
- private javax.swing.JLabel lblInfoObjectOwnerZone;
- private javax.swing.JLabel lblInfoObjectParent;
- private javax.swing.JLabel lblInfoObjectReplicaNumber;
- private javax.swing.JLabel lblInfoObjectReplicationStatus;
- private javax.swing.JLabel lblInfoObjectResource;
- private javax.swing.JLabel lblInfoObjectResourceGroup;
- private javax.swing.JLabel lblInfoObjectSize;
- private javax.swing.JLabel lblInfoObjectStatus;
- private javax.swing.JLabel lblInfoObjectType;
- private javax.swing.JLabel lblInfoObjectVersion;
- private javax.swing.JLabel lblObjectCollection;
- private javax.swing.JPanel pnlCloseBtn;
- private javax.swing.JPanel pnlCollectionInfo;
- private javax.swing.JPanel pnlInfoCards;
- private javax.swing.JPanel pnlInfoTab;
- private javax.swing.JPanel pnlMetaDataEdit;
- private javax.swing.JPanel pnlMetadataTab;
- private javax.swing.JPanel pnlMetadataTable;
- private javax.swing.JPanel pnlObjectInfo;
- private javax.swing.JPanel pnlPermissionsTab;
- private javax.swing.JPanel pnlPermissionsTable;
- private javax.swing.JPanel pnlSelectedObject;
- private javax.swing.JPanel pnlTagsComments;
- private javax.swing.JTabbedPane tabbedpanelMain;
- private javax.swing.JTable tableMetadata;
- private javax.swing.JTable tablePermissions;
- private javax.swing.JTextArea textareaInfoComments;
- private javax.swing.JTextField txtInfoTags;
- private javax.swing.JTextField txtMetadataAttribute;
- private javax.swing.JTextField txtMetadataUnit;
- private javax.swing.JTextField txtMetadataValue;
- // End of variables declaration//GEN-END:variables
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton btnAddSharePermissions;
+ private javax.swing.JButton btnClose;
+ private javax.swing.JButton btnDeleteSharePermissions;
+ private javax.swing.JButton btnMetadataClear;
+ private javax.swing.JButton btnMetadataCreate;
+ private javax.swing.JButton btnMetadataDelete;
+ private javax.swing.JButton btnPermissionsSave;
+ private javax.swing.JButton btnRefresh;
+ private javax.swing.JButton btnUpdateTagsComments;
+ private javax.swing.JLabel jLabel10;
+ private javax.swing.JLabel jLabel11;
+ private javax.swing.JLabel jLabel12;
+ private javax.swing.JLabel jLabel13;
+ private javax.swing.JLabel jLabel14;
+ private javax.swing.JLabel jLabel15;
+ private javax.swing.JLabel jLabel16;
+ private javax.swing.JLabel jLabel17;
+ private javax.swing.JLabel jLabel18;
+ private javax.swing.JLabel jLabel19;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel20;
+ private javax.swing.JLabel jLabel21;
+ private javax.swing.JLabel jLabel22;
+ private javax.swing.JLabel jLabel23;
+ private javax.swing.JLabel jLabel24;
+ private javax.swing.JLabel jLabel25;
+ private javax.swing.JLabel jLabel26;
+ private javax.swing.JLabel jLabel27;
+ private javax.swing.JLabel jLabel28;
+ private javax.swing.JLabel jLabel29;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabel30;
+ private javax.swing.JLabel jLabel4;
+ private javax.swing.JLabel jLabel5;
+ private javax.swing.JLabel jLabel6;
+ private javax.swing.JLabel jLabel7;
+ private javax.swing.JLabel jLabel8;
+ private javax.swing.JLabel jLabel9;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel16;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JPanel jPanel3;
+ private javax.swing.JPanel jPanel4;
+ private javax.swing.JPanel jPanel5;
+ private javax.swing.JPanel jPanel6;
+ private javax.swing.JPanel jPanel7;
+ private javax.swing.JPanel jPanel8;
+ private javax.swing.JPanel jPanel9;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JScrollPane jScrollPane2;
+ private javax.swing.JScrollPane jScrollPane3;
+ private javax.swing.JLabel lblInfoCollectionCreatedDate;
+ private javax.swing.JLabel lblInfoCollectionDescription;
+ private javax.swing.JLabel lblInfoCollectionInfo1;
+ private javax.swing.JLabel lblInfoCollectionInfo2;
+ private javax.swing.JLabel lblInfoCollectionModifiedDate;
+ private javax.swing.JLabel lblInfoCollectionObjectPath;
+ private javax.swing.JLabel lblInfoCollectionOwner;
+ private javax.swing.JLabel lblInfoCollectionOwnerZone;
+ private javax.swing.JLabel lblInfoCollectionType;
+ private javax.swing.JLabel lblInfoObjectChecksum;
+ private javax.swing.JLabel lblInfoObjectCreatedDate;
+ private javax.swing.JLabel lblInfoObjectDataPath;
+ private javax.swing.JLabel lblInfoObjectModifiedDate;
+ private javax.swing.JLabel lblInfoObjectName;
+ private javax.swing.JLabel lblInfoObjectOwner;
+ private javax.swing.JLabel lblInfoObjectOwnerZone;
+ private javax.swing.JLabel lblInfoObjectParent;
+ private javax.swing.JLabel lblInfoObjectReplicaNumber;
+ private javax.swing.JLabel lblInfoObjectReplicationStatus;
+ private javax.swing.JLabel lblInfoObjectResource;
+ private javax.swing.JLabel lblInfoObjectResourceGroup;
+ private javax.swing.JLabel lblInfoObjectSize;
+ private javax.swing.JLabel lblInfoObjectStatus;
+ private javax.swing.JLabel lblInfoObjectType;
+ private javax.swing.JLabel lblInfoObjectVersion;
+ private javax.swing.JLabel lblObjectCollection;
+ private javax.swing.JPanel pnlCloseBtn;
+ private javax.swing.JPanel pnlCollectionInfo;
+ private javax.swing.JPanel pnlInfoCards;
+ private javax.swing.JPanel pnlInfoTab;
+ private javax.swing.JPanel pnlMetaDataEdit;
+ private javax.swing.JPanel pnlMetadataTab;
+ private javax.swing.JPanel pnlMetadataTable;
+ private javax.swing.JPanel pnlObjectInfo;
+ private javax.swing.JPanel pnlPermissionsTab;
+ private javax.swing.JPanel pnlPermissionsTable;
+ private javax.swing.JPanel pnlSelectedObject;
+ private javax.swing.JPanel pnlTagsComments;
+ private javax.swing.JTabbedPane tabbedpanelMain;
+ private javax.swing.JTable tableMetadata;
+ private javax.swing.JTable tablePermissions;
+ private javax.swing.JTextArea textareaInfoComments;
+ private javax.swing.JTextField txtInfoTags;
+ private javax.swing.JTextField txtMetadataAttribute;
+ private javax.swing.JTextField txtMetadataUnit;
+ private javax.swing.JTextField txtMetadataValue;
+ // End of variables declaration//GEN-END:variables
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/ToolsDialog.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/ToolsDialog.java
index 1ef0b6a..25fa154 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/ToolsDialog.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/ToolsDialog.java
@@ -4,11 +4,13 @@
*/
package org.irods.jargon.idrop.desktop.systraygui;
+import java.awt.Cursor;
import java.io.File;
import javax.swing.ListSelectionModel;
import javax.swing.tree.TreePath;
import org.irods.jargon.core.exception.JargonException;
import org.irods.jargon.core.pub.io.IRODSFile;
+import org.irods.jargon.datautils.tree.DiffTreePostProcessor;
import org.irods.jargon.datautils.tree.FileTreeDiffUtility;
import org.irods.jargon.datautils.tree.FileTreeDiffUtilityImpl;
import org.irods.jargon.datautils.tree.FileTreeModel;
@@ -122,10 +124,10 @@ public class ToolsDialog extends javax.swing.JDialog {
.getModel();
ListSelectionModel selectionModel = idropGui.getIrodsTree().getSelectionModel();
int idx = selectionModel.getLeadSelectionIndex();
- IRODSFile ifile = null;
+ IRODSFile ifile = null;
// make sure there is a selected node
if (idx >= 0) {
-
+
try {
IRODSNode selectedNode = (IRODSNode) irodsFileSystemModel
.getValueAt(idx, 0);
@@ -150,10 +152,13 @@ public class ToolsDialog extends javax.swing.JDialog {
log.info("local path for diff:{}", localAbsPath);
log.info("irods path for diff:{}", irodsAbsPath);
this.dispose();
-
- FileTreeDiffUtility fileTreeDiffUtility = new FileTreeDiffUtilityImpl(idropGui.getiDropCore().getIrodsAccount(),idropGui.getiDropCore().getIRODSAccessObjectFactory());
+ idropGui.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
+ FileTreeDiffUtility fileTreeDiffUtility = new FileTreeDiffUtilityImpl(idropGui.getiDropCore().getIrodsAccount(), idropGui.getiDropCore().getIRODSAccessObjectFactory());
try {
FileTreeModel diffModel = fileTreeDiffUtility.generateDiffLocalToIRODS(localFile, irodsAbsPath, 0L, 0L);
+ DiffTreePostProcessor postProcessor = new DiffTreePostProcessor();
+ postProcessor.postProcessFileTreeModel(diffModel);
+
log.info("diffModel:{}", diffModel);
DiffViewData diffViewData = new DiffViewData();
diffViewData.setFileTreeModel(diffModel);
@@ -162,12 +167,15 @@ public class ToolsDialog extends javax.swing.JDialog {
DiffViewDialog diffViewDialog = new DiffViewDialog(this.idropGui, true, diffViewData);
diffViewDialog.setVisible(true);
} catch (JargonException ex) {
- log.error("Error generating diff", ex);
+ log.error("Error generating diff", ex);
MessageUtil.showError(this, "An error occurred generating the diff:\n" + ex.getMessage(), MessageUtil.ERROR_MESSAGE);
this.dispose();
+ } finally {
+ idropGui.setCursor(Cursor
+ .getPredefinedCursor(Cursor.DEFAULT_CURSOR));
}
-
-
+
+
}//GEN-LAST:event_btnToolbarDiffActionPerformed
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
index 64a9a4b..910ff23 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
@@ -160,6 +160,18 @@
<Border info="null"/>
</Property>
<Property name="horizontalTextPosition" type="int" value="0"/>
+ <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
+ <Insets value="null"/>
+ </Property>
+ <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
<Events>
@@ -250,6 +262,9 @@
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icon_editmetadata.png"/>
</Property>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="null"/>
+ </Property>
<Property name="borderPainted" type="boolean" value="false"/>
<Property name="horizontalTextPosition" type="int" value="0"/>
<Property name="label" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
@@ -297,6 +312,18 @@
<Border info="null"/>
</Property>
<Property name="horizontalTextPosition" type="int" value="0"/>
+ <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
+ <Insets value="null"/>
+ </Property>
+ <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="null"/>
+ </Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
<Events>
@@ -320,14 +347,17 @@
<Border info="null"/>
</Property>
<Property name="horizontalTextPosition" type="int" value="0"/>
+ <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
+ <Insets value="null"/>
+ </Property>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[58, 70]"/>
+ <Dimension value="null"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[58, 70]"/>
+ <Dimension value="null"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[58, 70]"/>
+ <Dimension value="null"/>
</Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
@@ -336,7 +366,7 @@
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
- <GridBagConstraints gridX="11" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="2" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="21" weightX="0.0" weightY="0.0"/>
+ <GridBagConstraints gridX="11" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
index 243dc6f..f2ea478 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
@@ -1449,6 +1449,10 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
btnMainToolbarTools.setToolTipText(org.openide.util.NbBundle.getMessage(iDrop.class, "iDrop.btnMainToolbarTools.toolTipText")); // NOI18N
btnMainToolbarTools.setBorder(null);
btnMainToolbarTools.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
+ btnMainToolbarTools.setMargin(null);
+ btnMainToolbarTools.setMaximumSize(null);
+ btnMainToolbarTools.setMinimumSize(null);
+ btnMainToolbarTools.setPreferredSize(null);
btnMainToolbarTools.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
btnMainToolbarTools.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -1506,6 +1510,7 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
pnlMainToolbarIcons.add(btnMainToolbarDelete, gridBagConstraints);
btnMainToolbarInfo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon_editmetadata.png"))); // NOI18N
+ btnMainToolbarInfo.setBorder(null);
btnMainToolbarInfo.setBorderPainted(false);
btnMainToolbarInfo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
btnMainToolbarInfo.setLabel(org.openide.util.NbBundle.getMessage(iDrop.class, "iDrop.btnMainToolbarInfo.label")); // NOI18N
@@ -1534,6 +1539,10 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
btnMainToolbarSync.setText(org.openide.util.NbBundle.getMessage(iDrop.class, "iDrop.btnMainToolbarSync.text")); // NOI18N
btnMainToolbarSync.setBorder(null);
btnMainToolbarSync.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
+ btnMainToolbarSync.setMargin(null);
+ btnMainToolbarSync.setMaximumSize(null);
+ btnMainToolbarSync.setMinimumSize(null);
+ btnMainToolbarSync.setPreferredSize(null);
btnMainToolbarSync.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
btnMainToolbarSync.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -1550,9 +1559,10 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
btnMainToolbarSettings.setText(org.openide.util.NbBundle.getMessage(iDrop.class, "iDrop.btnMainToolbarSettings.text")); // NOI18N
btnMainToolbarSettings.setBorder(null);
btnMainToolbarSettings.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
- btnMainToolbarSettings.setMaximumSize(new java.awt.Dimension(58, 70));
- btnMainToolbarSettings.setMinimumSize(new java.awt.Dimension(58, 70));
- btnMainToolbarSettings.setPreferredSize(new java.awt.Dimension(58, 70));
+ btnMainToolbarSettings.setMargin(null);
+ btnMainToolbarSettings.setMaximumSize(null);
+ btnMainToolbarSettings.setMinimumSize(null);
+ btnMainToolbarSettings.setPreferredSize(null);
btnMainToolbarSettings.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
btnMainToolbarSettings.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -1562,8 +1572,6 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 11;
gridBagConstraints.gridy = 1;
- gridBagConstraints.ipadx = 2;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
pnlMainToolbarIcons.add(btnMainToolbarSettings, gridBagConstraints);
btnMainToolbarSearchFiles.setIcon(new javax.swing.ImageIcon(getClass().getResource("/search_files.png"))); // NOI18N
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
index 1c0659c..5c3bd03 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/utils/Version.java
@@ -1,5 +1,5 @@
package org.irods.jargon.idrop.desktop.systraygui.utils;
public final class Version {
public static String VERSION="2.0.1-SNAPSHOT";
- public static String BUILD_TIME="20130528-1330";
+ public static String BUILD_TIME="20130529-1121";
}
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/DiffTreeCustomRenderer.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/DiffTreeCustomRenderer.java
new file mode 100644
index 0000000..74f7378
--- /dev/null
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/viscomponents/DiffTreeCustomRenderer.java
@@ -0,0 +1,71 @@
+package org.irods.jargon.idrop.desktop.systraygui.viscomponents;
+
+import java.awt.Color;
+import java.awt.Component;
+import static javax.swing.JComponent.TOOL_TIP_TEXT_KEY;
+import javax.swing.JTree;
+import javax.swing.tree.DefaultTreeCellRenderer;
+import org.irods.jargon.datautils.tree.FileTreeDiffEntry;
+import org.irods.jargon.datautils.tree.FileTreeNode;
+
+/**
+ * Custom renderer for the file diff tree
+ *
+ * @author Mike
+ */
+public class DiffTreeCustomRenderer extends DefaultTreeCellRenderer {
+
+ @Override
+ public Component getTreeCellRendererComponent(
+ JTree tree,
+ Object value,
+ boolean selected,
+ boolean expanded,
+ boolean leaf,
+ int row,
+ boolean hasFocus) {
+ // Allow the original renderer to set up the label
+ Component c = super.getTreeCellRendererComponent(
+ tree, value, selected,
+ expanded, leaf, row,
+ hasFocus);
+
+ FileTreeNode fileTreeNode = (FileTreeNode) value;
+ FileTreeDiffEntry diffEntry = (FileTreeDiffEntry) fileTreeNode.getUserObject();
+ StringBuilder sb = new StringBuilder();
+ sb.append(diffEntry.getCollectionAndDataObjectListingEntry().getNodeLabelDisplayValue());
+
+
+ if (diffEntry.isCountAsDiff()) {
+ c.setForeground(diffForeground);
+ sb.append(" : ");
+ sb.append(diffEntry.getDiffType());
+ } else if (diffEntry.getCountOfDiffsInChildren() > 0) {
+ c.setForeground(diffChildForeground);
+ sb.append(" child diffs:");
+ sb.append(diffEntry.getCountOfDiffsInChildren());
+ }
+
+ //c.setName(sb.toString());
+ this.setText(sb.toString());
+
+ StringBuilder tt = new StringBuilder();
+ tt.append("<html>");
+ tt.append(diffEntry.getCollectionAndDataObjectListingEntry().getFormattedAbsolutePath());
+ if (diffEntry.isCountAsDiff()) {
+ tt.append("<br/><h3>there was a difference here:</h3>");
+ tt.append(diffEntry.getDiffType());
+ } else if (!fileTreeNode.isLeaf()) {
+ tt.append("<br/>there were ");
+ tt.append(diffEntry.getCountOfDiffsInChildren());
+ tt.append(" diffs in children nodes");
+ }
+ tt.append("</html>");
+
+ this.setToolTipText(tt.toString());
+
+ return c;
+ }
+ private Color diffForeground = Color.RED;
+ private Color diffChildForeground = Color.CYAN;
+}