summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayant Gupta2012-12-19 00:50:08 (EST)
committerJayant Gupta2012-12-19 00:50:08 (EST)
commitd2878e888824c05a566ba98ffd36c7b5f82e4db2 (patch)
tree1424e6187a1d95e0f3a8cebe5405392a3f27baea
parentc10418124bed15104b0e3821324c0c92056fe257 (diff)
downloadorg.eclipse.etrice-d2878e888824c05a566ba98ffd36c7b5f82e4db2.zip
org.eclipse.etrice-d2878e888824c05a566ba98ffd36c7b5f82e4db2.tar.gz
org.eclipse.etrice-d2878e888824c05a566ba98ffd36c7b5f82e4db2.tar.bz2
Modifies copyright note of ETricePreferenceUtil.java .refs/changes/98/9298/1
-rw-r--r--plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java87
1 files changed, 43 insertions, 44 deletions
diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java
index b19b789..931972d 100644
--- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java
+++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java
@@ -1,14 +1,13 @@
/*******************************************************************************
- * Copyright (c) 2012 Jayant Gupta
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * Copyright 2010 by Christian-Albrechts-University of Kiel and Others
+ * Department of Computer Science
+ * + Real-Time and Embedded Systems Group
+ * This code is provided under the terms of the Eclipse Public License (EPL).
+ * See the file epl-v10.html for the license text.
*
* CONTRIBUTORS:
- * Jayant Gupta (initial contribution)
- *
- *
+ * Jayant Gupta (used KIELER code with minor modifications in eTrice)
+ *
*******************************************************************************/
package org.eclipse.etrice.ui.layout.preferences;
@@ -53,15 +52,16 @@ import de.cau.cs.kieler.kiml.ui.service.EclipseLayoutDataService;
import de.cau.cs.kieler.kiml.ui.service.EclipseLayoutInfoService;
/**
- * The Utility class for eTrice Preference Pages.
+ * The Utility class for eTrice Preference Pages.
* <p>
- * This class provides a few useful methods, an enumerated type and two static nested class :
+ * This class provides a few useful methods, an enumerated type and two static
+ * nested class :
* <ul>
* <li>{@link ElementType}</li>
* <li>{@link NewOptionDialog}</li>
* <li>{@link OptionsTableProvider}</li>
* </ul>
- *
+ *
* @author jayant
*/
public final class ETricePreferenceUtil {
@@ -148,46 +148,45 @@ public final class ETricePreferenceUtil {
}
}
}
-
-
-
+
/**
* Enumeration of element types that can receive default options.
- *
+ *
* @author msp
*/
public static enum ElementType {
-
- /** highest priority: edit parts of specific diagram editors. */
- EDIT_PART,
-
- /** medium priority: domain model elements. */
- MODEL_ELEM,
-
- /** lowest priority: diagram type definition (contributed via extension point). */
- DIAG_TYPE;
-
- /**
- * Returns a description for the element type.
- *
- * @return a user-friendly description
- */
- public String getDescription() {
- switch (this) {
- case EDIT_PART:
- return Messages.getString("kiml.ui.54");
- case MODEL_ELEM:
- return Messages.getString("kiml.ui.55");
- case DIAG_TYPE:
- return Messages.getString("kiml.ui.56");
- }
- return null;
- }
+
+ /** highest priority: edit parts of specific diagram editors. */
+ EDIT_PART,
+
+ /** medium priority: domain model elements. */
+ MODEL_ELEM,
+
+ /**
+ * lowest priority: diagram type definition (contributed via extension
+ * point).
+ */
+ DIAG_TYPE;
+
+ /**
+ * Returns a description for the element type.
+ *
+ * @return a user-friendly description
+ */
+ public String getDescription() {
+ switch (this) {
+ case EDIT_PART:
+ return Messages.getString("kiml.ui.54");
+ case MODEL_ELEM:
+ return Messages.getString("kiml.ui.55");
+ case DIAG_TYPE:
+ return Messages.getString("kiml.ui.56");
+ }
+ return null;
+ }
}
-
-
-
+
/**
* A dialog to add new default layout options in the preference page.
*