From 822346126e25abcc8f00c58044a87bca592ab9d0 Mon Sep 17 00:00:00 2001 From: Martin Vejmelka Date: Tue, 17 Aug 2010 10:48:51 +0200 Subject: [PATCH] Fixed left curly braces. --- .../src/cz/cvut/promod/epc/workspace/EPCWorkspaceData.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/workspace/EPCWorkspaceData.java b/Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/workspace/EPCWorkspaceData.java index 216df58..4de073b 100644 --- a/Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/workspace/EPCWorkspaceData.java +++ b/Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/workspace/EPCWorkspaceData.java @@ -20,7 +20,7 @@ import java.util.Map; * * EPCWorkspaceData represents the NotationWorkspaceData interface implementation for the EPCNotation plugin. */ -public class EPCWorkspaceData implements NotationWorkspaceData{ +public class EPCWorkspaceData implements NotationWorkspaceData { private static JGraph graph; private static EPCWorkspace workspace; @@ -61,25 +61,25 @@ public class EPCWorkspaceData implements NotationWorkspaceData{ } private void initEventHandling() { - lockModel.addValueChangeListener(new PropertyChangeListener(){ + lockModel.addValueChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent propertyChangeEvent) { graph.setEditable((Boolean) propertyChangeEvent.getNewValue()); } }); - gridModel.addValueChangeListener(new PropertyChangeListener(){ + gridModel.addValueChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent propertyChangeEvent) { graph.setGridEnabled((Boolean) propertyChangeEvent.getNewValue()); } }); - viewGridModel.addValueChangeListener(new PropertyChangeListener(){ + viewGridModel.addValueChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent propertyChangeEvent) { graph.setGridVisible((Boolean) propertyChangeEvent.getNewValue()); } }); - cellSizeModel.addValueChangeListener(new PropertyChangeListener(){ + cellSizeModel.addValueChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent propertyChangeEvent) { final Integer gridCellSize = (Integer) propertyChangeEvent.getNewValue(); @@ -88,7 +88,7 @@ public class EPCWorkspaceData implements NotationWorkspaceData{ } }); - selectedToolModel.addValueChangeListener(new PropertyChangeListener(){ + selectedToolModel.addValueChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent propertyChangeEvent) { final ToolChooserModel.Tool selectedTool = (ToolChooserModel.Tool) propertyChangeEvent.getNewValue(); -- 2.11.4.GIT