Ignore:
Timestamp:
2010-10-02T21:19:01+02:00 (14 years ago)
Author:
postfix
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/smed_about/src/smed_about/SmedAbout.java

    r23443 r23445  
    1313public class SmedAbout implements SmedPluggable{
    1414
     15        public SmedPluginManager manager = null;
     16       
    1517        private boolean visible = true;
    1618        private int index = -1;
     19        private String msg = "";
    1720       
    1821    private JPanel jPanel = null;  //  @jve:decl-index=0:visual-constraint="43,24"
     
    3942    @Override
    4043    public void setPluginManager(SmedPluginManager manager) {
    41         // TODO Auto-generated method stub
    42 
     44        this.manager = manager;
    4345    }
    4446
    4547    @Override
    4648    public String getInfo() {
    47 
    4849        return "something about the programm";
    4950    }
     
    5152    @Override
    5253    public JComponent getComponent() {
    53 
     54        manager.showVisualMessage(msg);
    5455        return getJPanel();
    5556    }
     
    8788        @Override
    8889        public ImageIcon getIcon() {
    89 
    9090                return null;
    9191        }
     
    9393        @Override
    9494        public boolean hasFocus() {
    95                 // TODO Auto-generated method stub
    96                 return false;
     95                manager.showVisualMessage(msg);
     96                return true;
    9797        }
    9898
Note: See TracChangeset for help on using the changeset viewer.