Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/emf/facet/custom/ui/internal/custompt/URIImage.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/emf/facet/custom/ui/internal/custompt/URIImage.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/emf/facet/custom/ui/internal/custompt/URIImage.java b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/emf/facet/custom/ui/internal/custompt/URIImage.java
new file mode 100644
index 00000000000..281d2341668
--- /dev/null
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/emf/facet/custom/ui/internal/custompt/URIImage.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright (c) 2013 Soft-Maint.
+ *
+ * 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:
+ * David Couvrand (Soft-Maint) - Bug 402725 - Need a query to get an image from an URI
+ * Nicolas Rault (Soft-Maint) - Bug 402725 - Need a query to get an image from an URI
+ */
+package org.eclipse.emf.facet.custom.ui.internal.custompt;
+
+import java.io.InputStream;
+
+import org.eclipse.emf.facet.custom.metamodel.custompt.IImage;
+
+public class URIImage implements IImage {
+
+ private static final long serialVersionUID = 6801140731857137834L;
+ private String uri;
+
+ public URIImage(final String uri) {
+ this.uri = uri;
+ }
+
+ public InputStream getInputStream() {
+ return null;
+ }
+
+ public String getUri() {
+ return this.uri;
+ }
+
+ public void setUri(final String uri) {
+ this.uri = uri;
+ }
+
+}

Back to the top