From 9827efc246d8453421f2c60263932efd44fb91f2 Mon Sep 17 00:00:00 2001 From: Martin Vejmelka Date: Tue, 17 Aug 2010 10:09:11 +0200 Subject: [PATCH] Add spaces before left curly brace in appropriate positions. --- .../epcImageExport/settings/ImageExportSettings.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Plugins/EPC/ModuleEPCImageExport/src/cz/cvut/promod/epcImageExport/settings/ImageExportSettings.java b/Plugins/EPC/ModuleEPCImageExport/src/cz/cvut/promod/epcImageExport/settings/ImageExportSettings.java index 9cff331..e734495 100644 --- a/Plugins/EPC/ModuleEPCImageExport/src/cz/cvut/promod/epcImageExport/settings/ImageExportSettings.java +++ b/Plugins/EPC/ModuleEPCImageExport/src/cz/cvut/promod/epcImageExport/settings/ImageExportSettings.java @@ -23,7 +23,7 @@ import cz.cvut.promod.epcImageExport.frames.imageExport.ImageExportModel; * * The common dialog setting page of the EPCImageExportModule plugin. */ -public class ImageExportSettings extends AbstractDialogPage{ +public class ImageExportSettings extends AbstractDialogPage { private static final String INSET_LABEL = Resources.getResources().getString("epc.imageexport.settings.inset"); @@ -42,7 +42,7 @@ public class ImageExportSettings extends AbstractDialogPage{ private final CancelAction cancelAction = new CancelAction(); - public ImageExportSettings(final PresentationModel presentation){ + public ImageExportSettings(final PresentationModel presentation) { super(INSET_LABEL); this.presentation = presentation; @@ -66,25 +66,25 @@ public class ImageExportSettings extends AbstractDialogPage{ } private void initEventHandling() { - addButtonListener(new ButtonListener(){ + addButtonListener(new ButtonListener() { public void buttonEventFired(ButtonEvent e) { - if(e.getID() == 0){ // the button was clicked - if(ButtonNames.OK.equals(e.getButtonName()) || ButtonNames.APPLY.equals(e.getButtonName())){ + if (e.getID() == 0) { // the button was clicked + if (ButtonNames.OK.equals(e.getButtonName()) || ButtonNames.APPLY.equals(e.getButtonName())) { applyAction.actionPerformed(null); } } } }); - addButtonListener(new ButtonListener(){ + addButtonListener(new ButtonListener() { public void buttonEventFired(ButtonEvent e) { - if(ButtonNames.CANCEL.equals(e.getButtonName())){ + if(ButtonNames.CANCEL.equals(e.getButtonName())) { cancelAction.actionPerformed(null); } } }); - insetSpinner.addChangeListener(new ChangeListener(){ + insetSpinner.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { fireButtonEvent(ButtonEvent.ENABLE_BUTTON, ButtonNames.APPLY); } -- 2.11.4.GIT