View Javadoc
1   package com.jsql.view.swing.panel.address;
2   
3   import com.jsql.view.swing.manager.util.StateButton;
4   import com.jsql.view.swing.panel.PanelAddressBar;
5   
6   import java.awt.event.ActionEvent;
7   
8   public class ActionEnterAddressBar extends ActionStart {
9       
10      public ActionEnterAddressBar(PanelAddressBar panelAddressBar) {
11          super(panelAddressBar);
12      }
13  
14      @Override
15      public void actionPerformed(ActionEvent e) {
16          // No injection running
17          if (this.panelAddressBar.getAddressMenuBar().getButtonInUrl().getState() == StateButton.STARTABLE) {
18              this.startInjection();
19          }
20      }
21  }