|
@@ -31,6 +31,7 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
public static IfatzehAR arights;
|
|
public static IfatzehAR arights;
|
|
public static ArightsCatEditor arce;
|
|
public static ArightsCatEditor arce;
|
|
public static DependencyManager depman;
|
|
public static DependencyManager depman;
|
|
|
|
+ public static ArightsFlagDependencys arightsflag;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -48,7 +49,8 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
*/
|
|
*/
|
|
@SuppressWarnings("unchecked")
|
|
@SuppressWarnings("unchecked")
|
|
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
|
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
|
- private void initComponents() {
|
|
|
|
|
|
+ private void initComponents()
|
|
|
|
+ {
|
|
|
|
|
|
VIT1BG = new javax.swing.ButtonGroup();
|
|
VIT1BG = new javax.swing.ButtonGroup();
|
|
NSE1BG = new javax.swing.ButtonGroup();
|
|
NSE1BG = new javax.swing.ButtonGroup();
|
|
@@ -62,90 +64,128 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
btnArights = new javax.swing.JButton();
|
|
btnArights = new javax.swing.JButton();
|
|
bntnArce = new javax.swing.JButton();
|
|
bntnArce = new javax.swing.JButton();
|
|
btndepman = new javax.swing.JButton();
|
|
btndepman = new javax.swing.JButton();
|
|
- jButton5 = new javax.swing.JButton();
|
|
|
|
|
|
+ btnFlagDeps = new javax.swing.JButton();
|
|
exit = new javax.swing.JButton();
|
|
exit = new javax.swing.JButton();
|
|
jLabel1 = new javax.swing.JLabel();
|
|
jLabel1 = new javax.swing.JLabel();
|
|
|
|
+ jButton1 = new javax.swing.JButton();
|
|
|
|
+ jButton2 = new javax.swing.JButton();
|
|
|
|
+ jButton3 = new javax.swing.JButton();
|
|
|
|
|
|
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
|
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
|
|
|
|
|
btnUPIDs.setText("UPIDs");
|
|
btnUPIDs.setText("UPIDs");
|
|
- btnUPIDs.addActionListener(new java.awt.event.ActionListener() {
|
|
|
|
- public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
|
|
|
|
+ btnUPIDs.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
btnUPIDsActionPerformed(evt);
|
|
btnUPIDsActionPerformed(evt);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
btnArights.setText("Arights");
|
|
btnArights.setText("Arights");
|
|
- btnArights.addActionListener(new java.awt.event.ActionListener() {
|
|
|
|
- public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
|
|
|
|
+ btnArights.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
btnArightsActionPerformed(evt);
|
|
btnArightsActionPerformed(evt);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
bntnArce.setText("Modify Arights-Categories");
|
|
bntnArce.setText("Modify Arights-Categories");
|
|
- bntnArce.addActionListener(new java.awt.event.ActionListener() {
|
|
|
|
- public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
|
|
|
|
+ bntnArce.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
bntnArceActionPerformed(evt);
|
|
bntnArceActionPerformed(evt);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
btndepman.setText("Dependencys");
|
|
btndepman.setText("Dependencys");
|
|
- btndepman.addActionListener(new java.awt.event.ActionListener() {
|
|
|
|
- public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
|
|
|
|
+ btndepman.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
btndepmanActionPerformed(evt);
|
|
btndepmanActionPerformed(evt);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
- jButton5.setText("toBeSet");
|
|
|
|
|
|
+ btnFlagDeps.setText("Modify Arights-Flagdeps");
|
|
|
|
+ btnFlagDeps.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
|
|
+ btnFlagDepsActionPerformed(evt);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
|
|
exit.setText("System.exit(0)");
|
|
exit.setText("System.exit(0)");
|
|
- exit.addActionListener(new java.awt.event.ActionListener() {
|
|
|
|
- public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
|
|
|
|
+ exit.addActionListener(new java.awt.event.ActionListener()
|
|
|
|
+ {
|
|
|
|
+ public void actionPerformed(java.awt.event.ActionEvent evt)
|
|
|
|
+ {
|
|
exitActionPerformed(evt);
|
|
exitActionPerformed(evt);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
jLabel1.setText("Select the dsired Module");
|
|
jLabel1.setText("Select the dsired Module");
|
|
|
|
|
|
|
|
+ jButton1.setText("ToBeSet");
|
|
|
|
+
|
|
|
|
+ jButton2.setText("ToBeSet");
|
|
|
|
+
|
|
|
|
+ jButton3.setText("ToBeSet");
|
|
|
|
+
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
|
getContentPane().setLayout(layout);
|
|
getContentPane().setLayout(layout);
|
|
layout.setHorizontalGroup(
|
|
layout.setHorizontalGroup(
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
.addGroup(layout.createSequentialGroup()
|
|
.addGroup(layout.createSequentialGroup()
|
|
.addGap(46, 46, 46)
|
|
.addGap(46, 46, 46)
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
- .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
|
|
|
|
+ .addComponent(btnUPIDs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
+ .addComponent(btnArights, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
+ .addComponent(bntnArce, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
|
|
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
|
|
.addGroup(layout.createSequentialGroup()
|
|
.addGroup(layout.createSequentialGroup()
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
|
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
|
|
|
|
- .addComponent(btnUPIDs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
- .addComponent(btnArights, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
- .addComponent(bntnArce, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
+ .addComponent(btndepman, javax.swing.GroupLayout.DEFAULT_SIZE, 233, Short.MAX_VALUE)
|
|
|
|
+ .addComponent(btnFlagDeps, javax.swing.GroupLayout.DEFAULT_SIZE, 233, Short.MAX_VALUE))
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
- .addComponent(btndepman, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
- .addComponent(exit, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
- .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)))))
|
|
|
|
- .addContainerGap(49, Short.MAX_VALUE))
|
|
|
|
|
|
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
|
|
|
+ .addGroup(layout.createSequentialGroup()
|
|
|
|
+ .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
+ .addComponent(exit, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
|
|
|
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
);
|
|
);
|
|
layout.setVerticalGroup(
|
|
layout.setVerticalGroup(
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
|
|
|
|
|
+ .addGroup(layout.createSequentialGroup()
|
|
.addContainerGap(16, Short.MAX_VALUE)
|
|
.addContainerGap(16, Short.MAX_VALUE)
|
|
- .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
- .addComponent(btndepman, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
- .addComponent(btnUPIDs, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
- .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
- .addComponent(btnArights, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
|
|
- .addComponent(exit, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
- .addComponent(bntnArce, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
|
|
|
|
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
|
|
|
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
+ .addComponent(btnUPIDs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
+ .addComponent(btndepman, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
|
|
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
|
|
+ .addComponent(jButton3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
|
|
+ .addComponent(btnFlagDeps, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)
|
|
|
|
+ .addComponent(btnArights, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE))
|
|
|
|
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
|
|
+ .addComponent(exit, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
|
+ .addComponent(bntnArce, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
|
|
|
+ .addComponent(jButton2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
.addContainerGap())
|
|
.addContainerGap())
|
|
);
|
|
);
|
|
|
|
|
|
@@ -180,6 +220,12 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
depman.setVisible(true);
|
|
depman.setVisible(true);
|
|
this.setVisible(false);
|
|
this.setVisible(false);
|
|
}//GEN-LAST:event_btndepmanActionPerformed
|
|
}//GEN-LAST:event_btndepmanActionPerformed
|
|
|
|
+
|
|
|
|
+ private void btnFlagDepsActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btnFlagDepsActionPerformed
|
|
|
|
+ {//GEN-HEADEREND:event_btnFlagDepsActionPerformed
|
|
|
|
+ arightsflag.setVisible(true);
|
|
|
|
+ this.setVisible(false);
|
|
|
|
+ }//GEN-LAST:event_btnFlagDepsActionPerformed
|
|
|
|
|
|
/**
|
|
/**
|
|
* @param args the command line arguments
|
|
* @param args the command line arguments
|
|
@@ -194,30 +240,30 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ sel = new Ifatzeh();
|
|
|
|
+ upid =new IfatzehRTR();
|
|
|
|
+ arights = new IfatzehAR();
|
|
|
|
+ arce = new ArightsCatEditor();
|
|
|
|
+ depman = new DependencyManager();
|
|
|
|
+ arightsflag = new ArightsFlagDependencys();
|
|
try
|
|
try
|
|
{
|
|
{
|
|
Ico i = new Ico("T:\\icns\\iZtools-others\\upidtk.ico");
|
|
Ico i = new Ico("T:\\icns\\iZtools-others\\upidtk.ico");
|
|
- sel = new Ifatzeh();
|
|
|
|
sel.setIconImages(i.getImages());
|
|
sel.setIconImages(i.getImages());
|
|
- new BootStrap(sel,true);
|
|
|
|
- upid =new IfatzehRTR();
|
|
|
|
upid.setIconImages(i.getImages());
|
|
upid.setIconImages(i.getImages());
|
|
- arights = new IfatzehAR();
|
|
|
|
arights.setIconImages(i.getImages());
|
|
arights.setIconImages(i.getImages());
|
|
- arce = new ArightsCatEditor();
|
|
|
|
arce.setIconImages(i.getImages());
|
|
arce.setIconImages(i.getImages());
|
|
- depman = new DependencyManager();
|
|
|
|
depman.setIconImages(i.getImages());
|
|
depman.setIconImages(i.getImages());
|
|
|
|
+ arightsflag.setIconImages(i.getImages());
|
|
|
|
+
|
|
}
|
|
}
|
|
catch (BadIcoResException|IOException ex)
|
|
catch (BadIcoResException|IOException ex)
|
|
{
|
|
{
|
|
- sel = new Ifatzeh();
|
|
|
|
- new BootStrap(sel,true);
|
|
|
|
- upid =new IfatzehRTR();
|
|
|
|
- arights = new IfatzehAR();
|
|
|
|
- arce = new ArightsCatEditor();
|
|
|
|
- depman = new DependencyManager();
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
+ new BootStrap(sel,true);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -232,10 +278,13 @@ public class Ifatzeh extends javax.swing.JFrame {
|
|
private javax.swing.ButtonGroup VIT1BG;
|
|
private javax.swing.ButtonGroup VIT1BG;
|
|
private javax.swing.JButton bntnArce;
|
|
private javax.swing.JButton bntnArce;
|
|
private javax.swing.JButton btnArights;
|
|
private javax.swing.JButton btnArights;
|
|
|
|
+ private javax.swing.JButton btnFlagDeps;
|
|
private javax.swing.JButton btnUPIDs;
|
|
private javax.swing.JButton btnUPIDs;
|
|
private javax.swing.JButton btndepman;
|
|
private javax.swing.JButton btndepman;
|
|
private javax.swing.JButton exit;
|
|
private javax.swing.JButton exit;
|
|
- private javax.swing.JButton jButton5;
|
|
|
|
|
|
+ private javax.swing.JButton jButton1;
|
|
|
|
+ private javax.swing.JButton jButton2;
|
|
|
|
+ private javax.swing.JButton jButton3;
|
|
private javax.swing.JLabel jLabel1;
|
|
private javax.swing.JLabel jLabel1;
|
|
// End of variables declaration//GEN-END:variables
|
|
// End of variables declaration//GEN-END:variables
|
|
}
|
|
}
|