Skip to content

Commit

Permalink
Merge pull request #2751 from jlawyerorg/feature/2750-tags-automated
Browse files Browse the repository at this point in the history
Issue #2750 - automated document tags
  • Loading branch information
j-dimension authored Dec 22, 2024
2 parents ba25dc7 + 90135e0 commit f48364e
Show file tree
Hide file tree
Showing 21 changed files with 7,970 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,12 +462,23 @@
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons16/favorites.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Dokumenten-Etiketten"/>
<Property name="text" type="java.lang.String" value="Etiketten konfigurieren"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDocumentTagsActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuDocumentTagRules">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/icons16/favorites.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Etiketten-Automatik"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDocumentTagRulesActionPerformed"/>
</Events>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="mnuScanOptions">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ private void initComponents() {
mnuDocumentOptions = new javax.swing.JMenu();
mnuWordProcessor = new javax.swing.JMenuItem();
mnuDocumentTags = new javax.swing.JMenuItem();
mnuDocumentTagRules = new javax.swing.JMenuItem();
mnuScanOptions = new javax.swing.JMenuItem();
mnuSearchIndex = new javax.swing.JMenuItem();
mnuDocumentNameTemplates = new javax.swing.JMenuItem();
Expand Down Expand Up @@ -1675,14 +1676,23 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDocumentOptions.add(mnuWordProcessor);

mnuDocumentTags.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/favorites.png"))); // NOI18N
mnuDocumentTags.setText("Dokumenten-Etiketten");
mnuDocumentTags.setText("Etiketten konfigurieren");
mnuDocumentTags.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDocumentTagsActionPerformed(evt);
}
});
mnuDocumentOptions.add(mnuDocumentTags);

mnuDocumentTagRules.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons16/favorites.png"))); // NOI18N
mnuDocumentTagRules.setText("Etiketten-Automatik");
mnuDocumentTagRules.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mnuDocumentTagRulesActionPerformed(evt);
}
});
mnuDocumentOptions.add(mnuDocumentTagRules);

mnuScanOptions.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/scanner.png"))); // NOI18N
mnuScanOptions.setText(bundle.getString("menu.settings.documents.scanner")); // NOI18N
mnuScanOptions.addActionListener(new java.awt.event.ActionListener() {
Expand Down Expand Up @@ -2908,6 +2918,14 @@ private void mnuGiroCodesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-
}
}//GEN-LAST:event_mnuGiroCodesActionPerformed

private void mnuDocumentTagRulesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuDocumentTagRulesActionPerformed
if (checkAdmin()) {
TagRulesDialog dlg = new TagRulesDialog(this, true);
FrameUtils.centerDialog(dlg, this);
dlg.setVisible(true);
}
}//GEN-LAST:event_mnuDocumentTagRulesActionPerformed

/**
* @param args the command line arguments
*/
Expand Down Expand Up @@ -2977,6 +2995,7 @@ public static void main(String args[]) {
private javax.swing.JMenuItem mnuDocumentNameTemplates;
private javax.swing.JMenu mnuDocumentOptions;
private javax.swing.JMenuItem mnuDocumentPreview;
private javax.swing.JMenuItem mnuDocumentTagRules;
private javax.swing.JMenuItem mnuDocumentTags;
private javax.swing.JMenuItem mnuDocumentsBin;
private javax.swing.JMenuItem mnuDrebisSettings;
Expand Down
Loading

0 comments on commit f48364e

Please sign in to comment.