Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2014-03-28 21:11:45 +0000
committerLars Vogel2014-03-28 21:12:23 +0000
commita848651fba566a75afc049fb90a5f10f838fd06c (patch)
tree1c0865a9eac6c8739c7b2cdecd7b0abfcfd8e820 /bundles/org.eclipse.e4.ui.di
parentfbed0ce304cf5b4f172fd298e888de11a1df8c9d (diff)
downloadeclipse.platform.ui-a848651fba566a75afc049fb90a5f10f838fd06c.tar.gz
eclipse.platform.ui-a848651fba566a75afc049fb90a5f10f838fd06c.tar.xz
eclipse.platform.ui-a848651fba566a75afc049fb90a5f10f838fd06c.zip
Bug 431530 - Add @Override and @Deprecated annotations to platform.ui
bundles Change-Id: Iec3ce62ec56cb1ee3aeca3d78a4b7255400983de Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
Diffstat (limited to 'bundles/org.eclipse.e4.ui.di')
-rw-r--r--bundles/org.eclipse.e4.ui.di/src/org/eclipse/e4/ui/internal/di/UIEventObjectSupplier.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.ui.di/src/org/eclipse/e4/ui/internal/di/UIEventObjectSupplier.java b/bundles/org.eclipse.e4.ui.di/src/org/eclipse/e4/ui/internal/di/UIEventObjectSupplier.java
index 589de36ffbc..54426e26cca 100644
--- a/bundles/org.eclipse.e4.ui.di/src/org/eclipse/e4/ui/internal/di/UIEventObjectSupplier.java
+++ b/bundles/org.eclipse.e4.ui.di/src/org/eclipse/e4/ui/internal/di/UIEventObjectSupplier.java
@@ -35,6 +35,7 @@ public class UIEventObjectSupplier extends EventObjectSupplier {
this.requestor = requestor;
}
+ @Override
public void handleEvent(org.osgi.service.event.Event event) {
if (!requestor.isValid()) {
unsubscribe(requestor);
@@ -50,6 +51,7 @@ public class UIEventObjectSupplier extends EventObjectSupplier {
return;
} else {
uiSync.syncExec(new Runnable() {
+ @Override
public void run() {
requestor.execute();
}
@@ -64,10 +66,12 @@ public class UIEventObjectSupplier extends EventObjectSupplier {
@Inject @Optional
protected Logger logger;
+ @Override
protected EventHandler makeHandler(String topic, IRequestor requestor) {
return new UIEventHandler(topic, requestor);
}
+ @Override
protected String getTopic(IObjectDescriptor descriptor) {
if (descriptor == null)
return null;

Back to the top