Changeset 8836 in josm for trunk/src/org/openstreetmap/josm/gui/io
- Timestamp:
- 2015-10-08T00:22:36+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/io
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/ActionFlagsTableCell.java
r8510 r8836 50 50 * Constructs a new {@code ActionFlagsTableCell}. 51 51 */ 52 publicActionFlagsTableCell() {52 ActionFlagsTableCell() { 53 53 checkBoxes[0] = new JCheckBox(tr("Upload")); 54 54 checkBoxes[1] = new JCheckBox(tr("Save")); -
trunk/src/org/openstreetmap/josm/gui/io/ChangesetManagementPanel.java
r8510 r8836 301 301 */ 302 302 class RefreshAction extends AbstractAction { 303 publicRefreshAction() {303 RefreshAction() { 304 304 putValue(SHORT_DESCRIPTION, tr("Load the list of your open changesets from the server")); 305 305 putValue(SMALL_ICON, ImageProvider.get("dialogs", "refresh")); … … 318 318 */ 319 319 class CloseChangesetAction extends AbstractAction implements ItemListener{ 320 publicCloseChangesetAction() {320 CloseChangesetAction() { 321 321 putValue(SMALL_ICON, ImageProvider.get("closechangeset")); 322 322 putValue(SHORT_DESCRIPTION, tr("Close the currently selected open changeset")); -
trunk/src/org/openstreetmap/josm/gui/io/CloseChangesetDialog.java
r8510 r8836 119 119 120 120 class CloseAction extends AbstractAction implements ListSelectionListener { 121 publicCloseAction() {121 CloseAction() { 122 122 putValue(NAME, tr("Close changesets")); 123 123 putValue(SMALL_ICON, ImageProvider.get("closechangeset")); … … 145 145 class CancelAction extends AbstractAction { 146 146 147 publicCancelAction() {147 CancelAction() { 148 148 putValue(NAME, tr("Cancel")); 149 149 putValue(SMALL_ICON, ImageProvider.get("cancel")); -
trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java
r8510 r8836 278 278 } 279 279 280 publicOsmApiCredentialsPanel(CredentialDialog owner) {280 OsmApiCredentialsPanel(CredentialDialog owner) { 281 281 super(owner); 282 282 build(); … … 299 299 } 300 300 301 publicOtherHostCredentialsPanel(CredentialDialog owner, String host) {301 OtherHostCredentialsPanel(CredentialDialog owner, String host) { 302 302 super(owner); 303 303 this.host = host; … … 321 321 } 322 322 323 publicHttpProxyCredentialsPanel(CredentialDialog owner) {323 HttpProxyCredentialsPanel(CredentialDialog owner) { 324 324 super(owner); 325 325 build(); … … 349 349 protected JTextField nextTF; 350 350 351 publicTFKeyListener(CredentialDialog owner, JTextField currentTF, JTextField nextTF) {351 TFKeyListener(CredentialDialog owner, JTextField currentTF, JTextField nextTF) { 352 352 this.owner = owner; 353 353 this.currentTF = currentTF; … … 382 382 383 383 class OKAction extends AbstractAction { 384 publicOKAction() {384 OKAction() { 385 385 putValue(NAME, tr("Authenticate")); 386 386 putValue(SHORT_DESCRIPTION, tr("Authenticate with the supplied username and password")); … … 396 396 397 397 class CancelAction extends AbstractAction { 398 publicCancelAction() {398 CancelAction() { 399 399 putValue(NAME, tr("Cancel")); 400 400 putValue(SHORT_DESCRIPTION, tr("Cancel authentication")); -
trunk/src/org/openstreetmap/josm/gui/io/DownloadFileTask.java
r8510 r8836 62 62 * permitted, and indicates that the cause is nonexistent or unknown.) 63 63 */ 64 publicDownloadException(String message, Throwable cause) {64 DownloadException(String message, Throwable cause) { 65 65 super(message, cause); 66 66 } -
trunk/src/org/openstreetmap/josm/gui/io/LayerNameAndFilePathTableCell.java
r8510 r8836 46 46 47 47 /** constructor that sets the default on each element **/ 48 publicLayerNameAndFilePathTableCell() {48 LayerNameAndFilePathTableCell() { 49 49 setLayout(new GridBagLayout()); 50 50 … … 217 217 218 218 private class LaunchFileChooserAction extends AbstractAction { 219 publicLaunchFileChooserAction() {219 LaunchFileChooserAction() { 220 220 putValue(NAME, "..."); 221 221 putValue(SHORT_DESCRIPTION, tr("Launch a file chooser to select a file")); -
trunk/src/org/openstreetmap/josm/gui/io/RecentlyOpenedFilesMenu.java
r8377 r8836 81 81 private static class ClearAction extends AbstractAction { 82 82 83 publicClearAction() {83 ClearAction() { 84 84 super(tr("Clear")); 85 85 putValue(SHORT_DESCRIPTION, tr("Clear the list of recently opened files")); -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayerInfo.java
r8291 r8836 28 28 * @throws IllegalArgumentException if layer is null 29 29 */ 30 publicSaveLayerInfo(AbstractModifiableLayer layer) {30 SaveLayerInfo(AbstractModifiableLayer layer) { 31 31 CheckParameterUtil.ensureParameterNotNull(layer, "layer"); 32 32 this.layer = layer; -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
r8736 r8836 55 55 56 56 public class SaveLayersDialog extends JDialog implements TableModelListener { 57 public staticenum UserAction {57 public enum UserAction { 58 58 /** save/upload layers was successful, proceed with operation */ 59 59 PROCEED, … … 196 196 } 197 197 198 publicLayerListWarningMessagePanel(String msg, List<SaveLayerInfo> infos) {198 LayerListWarningMessagePanel(String msg, List<SaveLayerInfo> infos) { 199 199 build(); 200 200 lblMessage.setText(msg); … … 301 301 302 302 class CancelAction extends AbstractAction { 303 publicCancelAction() {303 CancelAction() { 304 304 putValue(NAME, tr("Cancel")); 305 305 putValue(SHORT_DESCRIPTION, tr("Close this dialog and resume editing in JOSM")); … … 333 333 334 334 class DiscardAndProceedAction extends AbstractAction implements PropertyChangeListener { 335 publicDiscardAndProceedAction() {335 DiscardAndProceedAction() { 336 336 initForDiscardAndExit(); 337 337 } … … 375 375 private final transient Image upldDis = new BufferedImage(is, is, BufferedImage.TYPE_4BYTE_ABGR); 376 376 377 publicSaveAndProceedAction() {377 SaveAndProceedAction() { 378 378 // get disabled versions of icons 379 379 new JLabel(ImageProvider.get("save")).getDisabledIcon().paintIcon(new JPanel(), saveDis.getGraphics(), 0, 0); -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTable.java
r8510 r8836 11 11 12 12 class SaveLayersTable extends JTable implements PropertyChangeListener { 13 publicSaveLayersTable(SaveLayersModel model) {13 SaveLayersTable(SaveLayersModel model) { 14 14 super(model, new SaveLayersTableColumnModel()); 15 15 putClientProperty("terminateEditOnFocusLost", Boolean.TRUE); -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java
r8510 r8836 28 28 * Constructs a new {@code RecommendedActionsTableCell}. 29 29 */ 30 publicRecommendedActionsTableCell() {30 RecommendedActionsTableCell() { 31 31 pnlEmpty.setPreferredSize(new Dimension(1, 19)); 32 32 needsUpload.setPreferredSize(new Dimension(needsUpload.getPreferredSize().width, 19)); … … 72 72 * Constructs a new {@code SaveLayersTableColumnModel}. 73 73 */ 74 publicSaveLayersTableColumnModel() {74 SaveLayersTableColumnModel() { 75 75 build(); 76 76 } -
trunk/src/org/openstreetmap/josm/gui/io/UploadAndSaveProgressRenderer.java
r8510 r8836 24 24 * Constructs a new {@code UploadAndSaveProgressRenderer}. 25 25 */ 26 publicUploadAndSaveProgressRenderer() {26 UploadAndSaveProgressRenderer() { 27 27 build(); 28 28 // initially not visible -
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r8510 r8836 381 381 */ 382 382 class UploadAction extends AbstractAction { 383 publicUploadAction() {383 UploadAction() { 384 384 putValue(NAME, tr("Upload Changes")); 385 385 putValue(SMALL_ICON, ImageProvider.get("upload")); … … 504 504 */ 505 505 class CancelAction extends AbstractAction { 506 publicCancelAction() {506 CancelAction() { 507 507 putValue(NAME, tr("Cancel")); 508 508 putValue(SMALL_ICON, ImageProvider.get("cancel")); -
trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java
r8510 r8836 184 184 } 185 185 186 publicOsmPrimitiveList() {186 OsmPrimitiveList() { 187 187 this(new OsmPrimitiveListModel()); 188 188 } 189 189 190 publicOsmPrimitiveList(OsmPrimitiveListModel model) {190 OsmPrimitiveList(OsmPrimitiveListModel model) { 191 191 super(model); 192 192 init(); … … 257 257 258 258 class CancelAction extends AbstractAction { 259 publicCancelAction() {259 CancelAction() { 260 260 putValue(Action.SHORT_DESCRIPTION, tr("Cancel uploading")); 261 261 putValue(Action.NAME, tr("Cancel")); … … 275 275 276 276 class ContinueAction extends AbstractAction implements ListSelectionListener { 277 publicContinueAction() {277 ContinueAction() { 278 278 putValue(Action.SHORT_DESCRIPTION, tr("Continue uploading")); 279 279 putValue(Action.NAME, tr("Continue")); -
trunk/src/org/openstreetmap/josm/gui/io/UploadedObjectsSummaryPanel.java
r8510 r8836 147 147 * Constructs a new {@code PrimitiveList}. 148 148 */ 149 publicPrimitiveList() {149 PrimitiveList() { 150 150 super(new PrimitiveListModel()); 151 151 } … … 165 165 * Constructs a new {@code PrimitiveListModel}. 166 166 */ 167 publicPrimitiveListModel() {167 PrimitiveListModel() { 168 168 primitives = new ArrayList<>(); 169 169 } 170 170 171 publicPrimitiveListModel(List<OsmPrimitive> primitives) {171 PrimitiveListModel(List<OsmPrimitive> primitives) { 172 172 setPrimitives(primitives); 173 173 }
Note:
See TracChangeset
for help on using the changeset viewer.