X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.selectionview%2Fsrc%2Forg%2Fsimantics%2Fselectionview%2FTabChangeEvent.java;h=1a386247ac9c2440ba1c3d8bba3c4548f74365d4;hb=HEAD;hp=b68fec9cc5d3857e889bdcc9dd4c2013d6fcf391;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/TabChangeEvent.java b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/TabChangeEvent.java
index b68fec9cc..1a386247a 100644
--- a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/TabChangeEvent.java
+++ b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/TabChangeEvent.java
@@ -1,62 +1,62 @@
-package org.simantics.selectionview;
-
-
-/**
- * @author Tuukka Lehtonen
- */
-public class TabChangeEvent {
-
- private final IPropertyTab oldTab;
- private final String oldTabLabel;
- private final IPropertyTab newTab;
- private final String newTabLabel;
-
- /**
- * @param oldTab
- * @param oldTabLabel
- * @param newTab
- * @param newTabLabel
- */
- public TabChangeEvent(IPropertyTab oldTab, String oldTabLabel, IPropertyTab newTab, String newTabLabel) {
- this.oldTab = oldTab;
- this.oldTabLabel = oldTabLabel;
- this.newTab = newTab;
- this.newTabLabel = newTabLabel;
- }
-
- /**
- * @return null
if no tab is currently selected or no tabs
- * exist
- */
- public IPropertyTab getNewTab() {
- return newTab;
- }
-
- /**
- * @return null
if no tab is currently selected or no tabs
- * exist
- */
- public String getNewTabLabel() {
- return newTabLabel;
- }
-
- /**
- * @return null
if no tab was previously selected
- */
- public IPropertyTab getOldTab() {
- return oldTab;
- }
-
- /**
- * @return null
if no tab was previously selected
- */
- public String getOldTabLabel() {
- return oldTabLabel;
- }
-
- @Override
- public String toString() {
- return getClass().getSimpleName() + "(" + oldTabLabel + " - " + oldTab + " => " + newTabLabel + " - " + newTab + ")";
- }
-
-}
+package org.simantics.selectionview;
+
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class TabChangeEvent {
+
+ private final IPropertyTab oldTab;
+ private final String oldTabLabel;
+ private final IPropertyTab newTab;
+ private final String newTabLabel;
+
+ /**
+ * @param oldTab
+ * @param oldTabLabel
+ * @param newTab
+ * @param newTabLabel
+ */
+ public TabChangeEvent(IPropertyTab oldTab, String oldTabLabel, IPropertyTab newTab, String newTabLabel) {
+ this.oldTab = oldTab;
+ this.oldTabLabel = oldTabLabel;
+ this.newTab = newTab;
+ this.newTabLabel = newTabLabel;
+ }
+
+ /**
+ * @return null
if no tab is currently selected or no tabs
+ * exist
+ */
+ public IPropertyTab getNewTab() {
+ return newTab;
+ }
+
+ /**
+ * @return null
if no tab is currently selected or no tabs
+ * exist
+ */
+ public String getNewTabLabel() {
+ return newTabLabel;
+ }
+
+ /**
+ * @return null
if no tab was previously selected
+ */
+ public IPropertyTab getOldTab() {
+ return oldTab;
+ }
+
+ /**
+ * @return null
if no tab was previously selected
+ */
+ public String getOldTabLabel() {
+ return oldTabLabel;
+ }
+
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + "(" + oldTabLabel + " - " + oldTab + " => " + newTabLabel + " - " + newTab + ")";
+ }
+
+}