]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/internal/resource/UploadFormResource.java
Introduce file upload widget
[lgpl/argeo-commons.git] / eclipse / rap / org.eclipse.rwt.widgets.upload / src / org / eclipse / rwt / widgets / internal / resource / UploadFormResource.java
diff --git a/eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/internal/resource/UploadFormResource.java b/eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/internal/resource/UploadFormResource.java
new file mode 100644 (file)
index 0000000..f2df819
--- /dev/null
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2002-2006 Innoopract Informationssysteme GmbH.
+ * 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:
+ *     Innoopract Informationssysteme GmbH - initial API and implementation
+ ******************************************************************************/
+
+package org.eclipse.rwt.widgets.internal.resource;
+
+import org.eclipse.rwt.resources.IResource;
+import org.eclipse.rwt.resources.IResourceManager.RegisterOptions;
+
+
+public class UploadFormResource implements IResource {
+
+  public String getCharset() {
+    return "ISO-8859-1";
+  }
+
+  public ClassLoader getLoader() {
+    return getClass().getClassLoader();
+  }
+
+  public String getLocation() {
+    return "org/eclipse/rwt/widgets/internal/resource/qxcontrib/UploadForm.js";
+  }
+
+  public RegisterOptions getOptions() {
+    return RegisterOptions.VERSION_AND_COMPRESS;
+  }
+
+  public boolean isExternal() {
+    return false;
+  }
+
+  public boolean isJSLibrary() {
+    return true;
+  }
+}