Changeset 23445 in osm for applications/editors/josm/plugins/smed/plugs/smed_about
- Timestamp:
- 2010-10-02T21:19:01+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/smed_about/src/smed_about/SmedAbout.java
r23443 r23445 13 13 public class SmedAbout implements SmedPluggable{ 14 14 15 public SmedPluginManager manager = null; 16 15 17 private boolean visible = true; 16 18 private int index = -1; 19 private String msg = ""; 17 20 18 21 private JPanel jPanel = null; // @jve:decl-index=0:visual-constraint="43,24" … … 39 42 @Override 40 43 public void setPluginManager(SmedPluginManager manager) { 41 // TODO Auto-generated method stub 42 44 this.manager = manager; 43 45 } 44 46 45 47 @Override 46 48 public String getInfo() { 47 48 49 return "something about the programm"; 49 50 } … … 51 52 @Override 52 53 public JComponent getComponent() { 53 54 manager.showVisualMessage(msg); 54 55 return getJPanel(); 55 56 } … … 87 88 @Override 88 89 public ImageIcon getIcon() { 89 90 90 return null; 91 91 } … … 93 93 @Override 94 94 public boolean hasFocus() { 95 // TODO Auto-generated method stub96 return false;95 manager.showVisualMessage(msg); 96 return true; 97 97 } 98 98
Note:
See TracChangeset
for help on using the changeset viewer.