Changeset 23419 in osm for applications
- Timestamp:
- 2010-09-30T21:41:19+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/OSeaM.java
r23393 r23419 1 1 package oseam; 2 2 3 import javax.swing.ImageIcon; 3 4 import javax.swing.JComponent; 4 5 … … 49 50 } 50 51 52 @Override 53 public ImageIcon getIcon() { 54 55 return new ImageIcon(getClass().getResource("/images/Smp.png")); 56 } 57 51 58 52 59 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r23393 r23419 203 203 204 204 public void closePanel() { 205 // Pictogramme wiederherstellen und aufraeumen 206 if (obuoy != null) PicRebuild(); 207 205 208 onode = null; 206 209 DataSet.removeSelectionListener(SmpListener); … … 226 229 // Einhängen des Listeners in die Eventqueue von josm 227 230 DataSet.addSelectionListener(SmpListener); 231 228 232 } 229 233 -
applications/editors/josm/plugins/smed/plugs/smed_about/src/smed_about/SmedAbout.java
r23398 r23419 1 1 package smed_about; 2 2 3 import javax.swing.ImageIcon; 3 4 import javax.swing.JComponent; 4 5 … … 82 83 @Override 83 84 public String getFileName() { return "smed_about.jar"; } 85 86 @Override 87 public ImageIcon getIcon() { 88 89 return null; 90 } 84 91 } -
applications/editors/josm/plugins/smed/plugs/smed_ex/src/smed_ex/SmedEx.java
r23399 r23419 1 1 package smed_ex; 2 2 3 import javax.swing.ImageIcon; 3 4 import javax.swing.JComponent; 4 5 import javax.swing.JOptionPane; … … 97 98 @Override 98 99 public String getFileName() { return "smed_ex.jar"; } 100 101 @Override 102 public ImageIcon getIcon() { 103 104 return null; 105 } 99 106 } -
applications/editors/josm/plugins/smed/src/smed/menu/file/TabManager.java
r23389 r23419 3 3 4 4 import javax.swing.DefaultListModel; 5 import javax.swing.Icon; 5 import javax.swing.ImageIcon; 6 6 import javax.swing.JComponent; 7 7 import javax.swing.JDialog; … … 16 16 import java.awt.event.ActionEvent; 17 17 import java.awt.event.ActionListener; 18 import java.awt.event.KeyEvent;19 import java.io.IOException;20 18 import java.util.List; 21 19 … … 334 332 int i = 0; 335 333 JTabbedPane tabbedPane = SmedTabbedPane.getTabbedPane(); 336 Icon icon = null;337 334 338 335 if(plugins != null) { … … 352 349 353 350 tabbedPane.removeAll(); 354 355 351 JComponent panel = null; 352 ImageIcon icon = null; 356 353 357 354 for(SmedPluggable p : plugins) { 358 355 if(splugDir.isVisible(p.getFileName()) && !splugDir.isDeleted(p.getFileName())) { 359 356 panel = p.getComponent(); 360 357 icon = p.getIcon(); 358 361 359 tabbedPane.addTab(p.getName(),icon, panel, p.getInfo()); 362 360 } -
applications/editors/josm/plugins/smed/src/smed/plug/ifc/SmedPluggable.java
r23382 r23419 1 1 package smed.plug.ifc; 2 2 3 import javax.swing.ImageIcon; 3 4 import javax.swing.JComponent; 4 5 … … 10 11 String getName(); 11 12 String getFileName(); 13 ImageIcon getIcon(); 12 14 String getInfo(); 13 15 JComponent getComponent(); -
applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabAction.java
r23393 r23419 68 68 69 69 //Display the window. 70 frame.addWindowListener(new java.awt.event.WindowAdapter() { 71 public void windowClosing(java.awt.event.WindowEvent e) { 72 osmItem.setEnabled(true); 73 74 closeDialog(); 75 } 76 }); 70 77 frame.setSize(new Dimension(420, 460)); 71 78 // frame.pack(); -
applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabbedPane.java
r23382 r23419 8 8 import java.util.List; 9 9 10 import javax.swing.Icon; 10 import javax.swing.ImageIcon; 11 11 import javax.swing.JComponent; 12 12 import javax.swing.JPanel; … … 38 38 39 39 if(plugins != null) { 40 Icon icon = null; 40 ImageIcon icon = null; 41 41 tabbedPane = new JTabbedPane(); 42 42 43 43 JComponent panel; 44 44 int i = 0; … … 48 48 if(splugDir.isVisible(p.getFileName())) { 49 49 panel = p.getComponent(); 50 icon = p.getIcon(); 50 51 51 52 tabbedPane.addTab(p.getName(),icon, panel, p.getInfo());
Note:
See TracChangeset
for help on using the changeset viewer.