summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-07 11:23:32 (EST)
committerCarsten Drossel2009-01-07 11:23:32 (EST)
commit77492066e0fb15c15b6eb811a9cb248e50046bb7 (patch)
tree5dbdfeb867a3ab0fdf50f04a5b1e2a172b7ea1ff
parent6559dee501c3367fba9dde67cf26684ca2a15606 (diff)
downloadorg.eclipse.riena-77492066e0fb15c15b6eb811a9cb248e50046bb7.zip
org.eclipse.riena-77492066e0fb15c15b6eb811a9cb248e50046bb7.tar.gz
org.eclipse.riena-77492066e0fb15c15b6eb811a9cb248e50046bb7.tar.bz2
removed obsolete interface IPositionable
-rw-r--r--org.eclipse.riena.ui.core/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/IPositionable.java31
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/Positionable.java41
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/PositionableComparator.java27
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IActionAdapter.java (renamed from org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IActionAdapter.java)7
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IMenuActionAdapter.java1
6 files changed, 5 insertions, 105 deletions
diff --git a/org.eclipse.riena.ui.core/META-INF/MANIFEST.MF b/org.eclipse.riena.ui.core/META-INF/MANIFEST.MF
index 8b25ab6..f3ee871 100644
--- a/org.eclipse.riena.ui.core/META-INF/MANIFEST.MF
+++ b/org.eclipse.riena.ui.core/META-INF/MANIFEST.MF
@@ -10,7 +10,6 @@ Require-Bundle: org.eclipse.core.runtime,
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.riena.ui.core.marker,
org.eclipse.riena.ui.core.resource,
- org.eclipse.riena.ui.core.uiprocess,
- org.eclipse.riena.ui.core.util
+ org.eclipse.riena.ui.core.uiprocess
Import-Package: org.osgi.service.log;version="1.3.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/IPositionable.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/IPositionable.java
deleted file mode 100644
index 352b49f..0000000
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/IPositionable.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2008 compeople AG and others.
- * All rights reserved. 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
- *
- * Contributors:
- * compeople AG - initial API and implementation
- *******************************************************************************/
-package org.eclipse.riena.ui.core.util;
-
-/**
- * used to position and arrange ui elements.
- */
-public interface IPositionable {
- /**
- * get the position
- *
- * @return the position.
- */
- int getPosition();
-
- /**
- * set the position
- *
- * @param position
- */
- void setPosition(int position);
-
-}
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/Positionable.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/Positionable.java
deleted file mode 100644
index 41b3164..0000000
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/Positionable.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2008 compeople AG and others.
- * All rights reserved. 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
- *
- * Contributors:
- * compeople AG - initial API and implementation
- *******************************************************************************/
-package org.eclipse.riena.ui.core.util;
-
-/**
- * a simple menu item.
- */
-public class Positionable implements IPositionable {
- private int position;
-
- /**
- * @param position
- */
- public Positionable(int position) {
- super();
- this.position = position;
- }
-
- /**
- * @see org.eclipse.riena.ui.core.util.IPositionable#getPosition()
- */
- public int getPosition() {
- return position;
- }
-
- /**
- * @param position
- * The position to set.
- */
- public void setPosition(int position) {
- this.position = position;
- }
-}
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/PositionableComparator.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/PositionableComparator.java
deleted file mode 100644
index b01581e..0000000
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/util/PositionableComparator.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2008 compeople AG and others.
- * All rights reserved. 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
- *
- * Contributors:
- * compeople AG - initial API and implementation
- *******************************************************************************/
-package org.eclipse.riena.ui.core.util;
-
-import java.io.Serializable;
-import java.util.Comparator;
-
-/**
- * class used to sort the application tabs.
- */
-public class PositionableComparator implements Comparator<IPositionable>, Serializable {
-
- /**
- * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
- */
- public int compare(IPositionable o1, IPositionable o2) {
- return o1.getPosition() - o2.getPosition();
- }
-}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IActionAdapter.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IActionAdapter.java
index 088d87c..8875bd5 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IActionAdapter.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IActionAdapter.java
@@ -8,9 +8,10 @@
* Contributors:
* compeople AG - initial API and implementation
*******************************************************************************/
-package org.eclipse.riena.ui.ridgets;
+package org.eclipse.riena.ui.ridgets.obsolete;
+
+import org.eclipse.riena.ui.ridgets.IMarkableAdapter;
-import org.eclipse.riena.ui.core.util.IPositionable;
/**
* An adapter for UI controls that allow an action to be performed on them, like
@@ -24,7 +25,7 @@ import org.eclipse.riena.ui.core.util.IPositionable;
* @deprecated Use org.eclipse.riena.ui.internal.ridgets.IActionListener
*/
@Deprecated
-public interface IActionAdapter extends IMarkableAdapter, IPositionable {
+public interface IActionAdapter extends IMarkableAdapter {
/**
* <code>PROPERTY_TEXT</code>
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IMenuActionAdapter.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IMenuActionAdapter.java
index 444c3eb..32337bb 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IMenuActionAdapter.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/obsolete/IMenuActionAdapter.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.riena.ui.ridgets.obsolete;
-import org.eclipse.riena.ui.ridgets.IActionAdapter;
import org.eclipse.riena.ui.ridgets.util.IAcceleratorConstants;
/**