Changeset 23443 in osm for applications/editors/josm/plugins/smed/plugs
- Timestamp:
- 2010-10-02T16:39:43+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/OSeaM.java
r23426 r23443 13 13 private OSeaMAction osm = null; 14 14 public SmedPluginManager manager = null; 15 private int index = -1; 15 16 16 17 @Override … … 57 58 } 58 59 60 @Override 61 public boolean hasFocus() { 62 osm.hasFocus = true; 63 osm.setQueued(); 64 System.out.println("OSeaM has Focus"); 65 return true; 66 } 67 68 @Override 69 public boolean lostFocus() { 70 osm.setDequeued(); 71 return true; 72 } 73 74 @Override 75 public int getIndex() { return index; } 76 77 @Override 78 public void setIndex(int index) { this.index = index; } 79 59 80 60 81 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r23419 r23443 64 64 private String Os = ""; // @jve:decl-index=0: //$NON-NLS-1$ 65 65 private String UserHome = ""; // @jve:decl-index=0: //$NON-NLS-1$ 66 public boolean hasFocus = false; 66 67 67 68 // SelectionChangedListner der in die Eventqueue von josm eingehängt wird … … 228 229 // siehe org.openstreetmap.josm.plugins.osb -> OsbLayer.java 229 230 // Einhängen des Listeners in die Eventqueue von josm 231 if(hasFocus) DataSet.addSelectionListener(SmpListener); 232 233 } 234 235 public void setQueued() { 236 System.out.println("OSeaM is queued"); 230 237 DataSet.addSelectionListener(SmpListener); 231 232 } 233 238 } 239 240 public void setDequeued() { 241 System.out.println("OSeaM is dequeued"); 242 DataSet.removeSelectionListener(SmpListener); 243 } 244 234 245 private void PicRebuild() { 235 246 … … 1404 1415 return sM01StatusBar; 1405 1416 } 1417 1406 1418 } -
applications/editors/josm/plugins/smed/plugs/smed_about/src/smed_about/SmedAbout.java
r23419 r23443 14 14 15 15 private boolean visible = true; 16 private int index = -1; 16 17 17 18 private JPanel jPanel = null; // @jve:decl-index=0:visual-constraint="43,24" … … 89 90 return null; 90 91 } 92 93 @Override 94 public boolean hasFocus() { 95 // TODO Auto-generated method stub 96 return false; 97 } 98 99 @Override 100 public boolean lostFocus() { 101 // TODO Auto-generated method stub 102 return false; 103 } 104 105 @Override 106 public int getIndex() { return index; } 107 108 @Override 109 public void setIndex(int index) { this.index = index; } 91 110 } -
applications/editors/josm/plugins/smed/plugs/smed_ex/src/smed_ex/SmedEx.java
r23426 r23443 19 19 private boolean visible = true; 20 20 public SmedPluginManager manager = null; 21 private int index = -1; 21 22 22 23 private JPanel jPanel = null; // @jve:decl-index=0:visual-constraint="78,30" … … 105 106 return null; 106 107 } 108 109 @Override 110 public boolean hasFocus() { 111 // TODO Auto-generated method stub 112 return false; 113 } 114 115 @Override 116 public boolean lostFocus() { 117 // TODO Auto-generated method stub 118 return false; 119 } 120 121 @Override 122 public int getIndex() { return index; } 123 124 @Override 125 public void setIndex(int index) { this.index = index; } 107 126 }
Note:
See TracChangeset
for help on using the changeset viewer.