Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java')
-rw-r--r--ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java
index 8cc8a1228a..5cc32f9ed7 100644
--- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java
+++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/imagebrowser/IImageTarget.java
@@ -11,9 +11,19 @@
package org.eclipse.pde.internal.ui.views.imagebrowser;
-import org.eclipse.swt.graphics.ImageData;
-
public interface IImageTarget {
- void notifyImage(ImageData imageData, String plugin, String path);
+ /**
+ * Notifies the target that an image was found.
+ *
+ * @param element detected image data
+ */
+ void notifyImage(ImageElement element);
+
+ /**
+ * Query the target whether additional images are needed
+ *
+ * @return <code>true</code> when more images should be fetched
+ */
+ boolean needsMore();
}

Back to the top