Changeset 34369 in osm for applications/editors/josm/plugins/pdfimport
- Timestamp:
- 2018-06-30T07:16:02+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport/src/pdfimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java
r34211 r34369 172 172 this.addListeners(); 173 173 this.removeLayer(); 174 if (PdfImportPlugin.Preferences.guiMode == PdfImportPlugin.GuiMode.Simple) this.loadFilePressed();; 174 175 } 175 176 … … 443 444 c.gridx = 2; c.gridy = 8; c.gridwidth = 1; 444 445 configPanel.add(this.splitOnOrthogonalCheck, c); 445 446 if (PdfImportPlugin.Preferences.guiMode == PdfImportPlugin.GuiMode.Simple) configPanel.setVisible(false); 446 447 447 448 projectionPanel = new JPanel(new GridBagLayout()); … … 516 517 this.setSize(450, 550); 517 518 this.setContentPane(panel); 519 if (PdfImportPlugin.Preferences.guiMode == PdfImportPlugin.GuiMode.Simple) { 520 loadFileButton.setVisible(false); 521 configPanel.setVisible(false); 522 saveButton.setVisible(false); 523 showButton.setVisible(false); 524 } 518 525 } 519 526 -
applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportPlugin.java
r34211 r34369 55 55 case 1: 56 56 Preferences.guiMode = GuiMode.Expert; 57 break; 57 58 case 2: 58 59 Preferences.guiMode = GuiMode.Simple; 60 break; 59 61 default: 60 62 Preferences.guiMode = GuiMode.Expert;
Note:
See TracChangeset
for help on using the changeset viewer.