View Javadoc
1   package com.github.celldynamics.quimp.plugin.protanalysis;
2   
3   import java.awt.event.ActionEvent;
4   
5   @Deprecated
6   public class ActionNotSupported extends ProtAnalysisAbstractAction {
7   
8     private String name;
9   
10    /**
11     * Create action not related to UI element.
12     * 
13     * @param ui window reference
14     */
15    public ActionNotSupported(ProtAnalysisUi ui) {
16      super(ui);
17    }
18  
19    /**
20     * Action creator.
21     * 
22     * @param name name
23     * @param desc description
24     * @param ui reference to outer class.
25     */
26    public ActionNotSupported(String name, String desc, ProtAnalysisUi ui) {
27      super(name, desc, ui);
28      this.name = name;
29    }
30  
31    @Override
32    public void actionPerformed(ActionEvent e) {
33      logger.warn(name + " Not implemented yet");
34      // throw new NotImplementedException("Not implemented yet");
35  
36    }
37  
38  }