Skip to content

Commit

Permalink
minor changes to document context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Oct 21, 2024
1 parent 2c67170 commit 0733cac
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,17 @@
<Property name="useNullLayout" type="boolean" value="true"/>
</Layout>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="mnuDuplicateDocumentAsPdf">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons16/pdf.png"/>
</Property>
<Property name="text" type="java.lang.String" value="als PDF zur Akte speichern"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDuplicateDocumentAsPdfActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuCopyFilesToClipboard">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.editors2.FontEditor">
Expand Down Expand Up @@ -163,17 +174,6 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDuplicateDocumentActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuDuplicateDocumentAs">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons/filesave.png"/>
</Property>
<Property name="text" type="java.lang.String" value="ablegen als ..."/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDuplicateDocumentAsActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuCopyDocumentToOtherCase">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
Expand Down Expand Up @@ -279,12 +279,12 @@
</MenuItem>
<Component class="javax.swing.JPopupMenu$Separator" name="jSeparator11">
</Component>
<Menu class="javax.swing.JMenu" name="mnuPdfActions">
<Menu class="javax.swing.JMenu" name="mnuPdfAndConvertActions">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons16/pdf.png"/>
</Property>
<Property name="text" type="java.lang.String" value="PDF-Aktionen"/>
<Property name="text" type="java.lang.String" value="PDF und Konvertierung"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="mnuShrinkPdf">
Expand All @@ -299,17 +299,6 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuShrinkPdfActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuDuplicateDocumentAsPdf">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons16/pdf.png"/>
</Property>
<Property name="text" type="java.lang.String" value="als PDF zur Akte speichern"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDuplicateDocumentAsPdfActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuSaveDocumentsLocallyPdf">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
Expand All @@ -332,6 +321,17 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuSaveDocumentEncryptedActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuDuplicateDocumentAs">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons/filesave.png"/>
</Property>
<Property name="text" type="java.lang.String" value="ablegen als ..."/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDuplicateDocumentAsActionPerformed"/>
</Events>
</MenuItem>
</SubComponents>
</Menu>
<Component class="javax.swing.JPopupMenu$Separator" name="jSeparator1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1756,14 +1756,14 @@ private void initComponents() {
mnuEditReview = new javax.swing.JMenuItem();
mnuRemoveReview = new javax.swing.JMenuItem();
documentsPopup = new javax.swing.JPopupMenu();
mnuDuplicateDocumentAsPdf = new javax.swing.JMenuItem();
mnuCopyFilesToClipboard = new javax.swing.JMenuItem();
mnuOpenDocument = new javax.swing.JMenuItem();
mnuOpenDocumentWith = new javax.swing.JMenu();
mnuOpenDocumentMicrosoftOffice = new javax.swing.JMenuItem();
mnuOpenDocumentLibreOffice = new javax.swing.JMenuItem();
mnuSaveDocumentsLocally = new javax.swing.JMenuItem();
mnuDuplicateDocument = new javax.swing.JMenuItem();
mnuDuplicateDocumentAs = new javax.swing.JMenuItem();
mnuCopyDocumentToOtherCase = new javax.swing.JMenuItem();
mnuMoveDocumentToOtherCase = new javax.swing.JMenuItem();
mnuRenameDocument = new javax.swing.JMenuItem();
Expand All @@ -1775,11 +1775,11 @@ private void initComponents() {
mnuSendMessageForDocument = new javax.swing.JMenuItem();
mnuRemoveDocument = new javax.swing.JMenuItem();
jSeparator11 = new javax.swing.JPopupMenu.Separator();
mnuPdfActions = new javax.swing.JMenu();
mnuPdfAndConvertActions = new javax.swing.JMenu();
mnuShrinkPdf = new javax.swing.JMenuItem();
mnuDuplicateDocumentAsPdf = new javax.swing.JMenuItem();
mnuSaveDocumentsLocallyPdf = new javax.swing.JMenuItem();
mnuSaveDocumentEncrypted = new javax.swing.JMenuItem();
mnuDuplicateDocumentAs = new javax.swing.JMenuItem();
jSeparator1 = new javax.swing.JPopupMenu.Separator();
mnuSendDocument = new javax.swing.JMenuItem();
mnuSendDocumentPDF = new javax.swing.JMenuItem();
Expand Down Expand Up @@ -2035,6 +2035,15 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
});
reviewsPopup.add(mnuRemoveReview);

mnuDuplicateDocumentAsPdf.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/pdf.png"))); // NOI18N
mnuDuplicateDocumentAsPdf.setText("als PDF zur Akte speichern");
mnuDuplicateDocumentAsPdf.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDuplicateDocumentAsPdfActionPerformed(evt);
}
});
documentsPopup.add(mnuDuplicateDocumentAsPdf);

mnuCopyFilesToClipboard.setFont(mnuCopyFilesToClipboard.getFont());
mnuCopyFilesToClipboard.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/editpaste.png"))); // NOI18N
mnuCopyFilesToClipboard.setText("in Zwischenablage kopieren");
Expand Down Expand Up @@ -2095,15 +2104,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
});
documentsPopup.add(mnuDuplicateDocument);

mnuDuplicateDocumentAs.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/filesave.png"))); // NOI18N
mnuDuplicateDocumentAs.setText("ablegen als ...");
mnuDuplicateDocumentAs.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDuplicateDocumentAsActionPerformed(evt);
}
});
documentsPopup.add(mnuDuplicateDocumentAs);

mnuCopyDocumentToOtherCase.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/editcopy.png"))); // NOI18N
mnuCopyDocumentToOtherCase.setText("in andere Akte kopieren");
mnuCopyDocumentToOtherCase.addActionListener(new java.awt.event.ActionListener() {
Expand Down Expand Up @@ -2189,8 +2189,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
documentsPopup.add(mnuRemoveDocument);
documentsPopup.add(jSeparator11);

mnuPdfActions.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/pdf.png"))); // NOI18N
mnuPdfActions.setText("PDF-Aktionen");
mnuPdfAndConvertActions.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/pdf.png"))); // NOI18N
mnuPdfAndConvertActions.setText("PDF und Konvertierung");

mnuShrinkPdf.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/material/compress_24dp_0E72B5.png"))); // NOI18N
mnuShrinkPdf.setText("PDF verkleinern");
Expand All @@ -2200,16 +2200,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuShrinkPdfActionPerformed(evt);
}
});
mnuPdfActions.add(mnuShrinkPdf);

mnuDuplicateDocumentAsPdf.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/pdf.png"))); // NOI18N
mnuDuplicateDocumentAsPdf.setText("als PDF zur Akte speichern");
mnuDuplicateDocumentAsPdf.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDuplicateDocumentAsPdfActionPerformed(evt);
}
});
mnuPdfActions.add(mnuDuplicateDocumentAsPdf);
mnuPdfAndConvertActions.add(mnuShrinkPdf);

mnuSaveDocumentsLocallyPdf.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/filesave.png"))); // NOI18N
mnuSaveDocumentsLocallyPdf.setText("als PDF lokal speichern");
Expand All @@ -2218,7 +2209,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuSaveDocumentsLocallyPdfActionPerformed(evt);
}
});
mnuPdfActions.add(mnuSaveDocumentsLocallyPdf);
mnuPdfAndConvertActions.add(mnuSaveDocumentsLocallyPdf);

mnuSaveDocumentEncrypted.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/gpg.png"))); // NOI18N
mnuSaveDocumentEncrypted.setText("verschlüsseltes PDF exportieren");
Expand All @@ -2227,9 +2218,18 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuSaveDocumentEncryptedActionPerformed(evt);
}
});
mnuPdfActions.add(mnuSaveDocumentEncrypted);
mnuPdfAndConvertActions.add(mnuSaveDocumentEncrypted);

mnuDuplicateDocumentAs.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/filesave.png"))); // NOI18N
mnuDuplicateDocumentAs.setText("ablegen als ...");
mnuDuplicateDocumentAs.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDuplicateDocumentAsActionPerformed(evt);
}
});
mnuPdfAndConvertActions.add(mnuDuplicateDocumentAs);

documentsPopup.add(mnuPdfActions);
documentsPopup.add(mnuPdfAndConvertActions);
documentsPopup.add(jSeparator1);

mnuSendDocument.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/mail_send_2.png"))); // NOI18N
Expand Down Expand Up @@ -7803,7 +7803,7 @@ public void drop(DropTargetDropEvent dtde) {
private javax.swing.JMenuItem mnuOpenDocumentMicrosoftOffice;
private javax.swing.JMenu mnuOpenDocumentWith;
private javax.swing.JMenuItem mnuOpenInExternalMailer;
private javax.swing.JMenu mnuPdfActions;
private javax.swing.JMenu mnuPdfAndConvertActions;
private javax.swing.JMenuItem mnuPostponeReview;
private javax.swing.JMenuItem mnuRemoveDocument;
private javax.swing.JMenuItem mnuRemoveReview;
Expand Down

0 comments on commit 0733cac

Please sign in to comment.