[kune-commits] r1490 - in kune-sandbox: . .settings src/cc/kune/sandbox/client

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Thu Aug 11 10:36:59 CEST 2011


Author: vjrj_
Date: 2011-08-11 10:36:59 +0200 (Thu, 11 Aug 2011)
New Revision: 1490

Removed:
   kune-sandbox/.gwt/
   kune-sandbox/src/cc/kune/sandbox/client/CSSBasicUtils.java
Modified:
   kune-sandbox/
   kune-sandbox/.classpath
   kune-sandbox/.project
   kune-sandbox/.settings/com.google.gwt.eclipse.core.prefs
   kune-sandbox/src/cc/kune/sandbox/client/KuneSandboxEntryPoint.java
Log:
Sandbox updated


Property changes on: kune-sandbox
___________________________________________________________________
Name: svn:ignore
   - test-classes

   + test-classes
.recommenders
.gwt


Modified: kune-sandbox/.classpath
===================================================================
--- kune-sandbox/.classpath	2011-08-11 00:58:21 UTC (rev 1489)
+++ kune-sandbox/.classpath	2011-08-11 08:36:59 UTC (rev 1490)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src"/>
+	<classpathentry excluding="**/*.java" kind="src" path="splash-src"/>
 	<classpathentry kind="src" output="test-classes" path="test"/>
 	<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

Modified: kune-sandbox/.project
===================================================================
--- kune-sandbox/.project	2011-08-11 00:58:21 UTC (rev 1489)
+++ kune-sandbox/.project	2011-08-11 08:36:59 UTC (rev 1490)
@@ -21,9 +21,27 @@
 			<arguments>
 			</arguments>
 		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.recommenders.rcp.analysis.RecommendersBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	<natures>
 		<nature>org.eclipse.jdt.core.javanature</nature>
 		<nature>com.google.gwt.eclipse.core.gwtNature</nature>
+		<nature>org.eclipse.recommenders.rcp.analysis.RecommendersNature</nature>
 	</natures>
+	<linkedResources>
+		<link>
+			<name>splash-src</name>
+			<type>2</type>
+			<location>/home/vjrj/proyectos/dev/wave/splash/src</location>
+		</link>
+		<link>
+			<name>src-1</name>
+			<type>2</type>
+			<location>/home/vjrj/proyectos/dev/wave/splash/src</location>
+		</link>
+	</linkedResources>
 </projectDescription>

Modified: kune-sandbox/.settings/com.google.gwt.eclipse.core.prefs
===================================================================
--- kune-sandbox/.settings/com.google.gwt.eclipse.core.prefs	2011-08-11 00:58:21 UTC (rev 1489)
+++ kune-sandbox/.settings/com.google.gwt.eclipse.core.prefs	2011-08-11 08:36:59 UTC (rev 1490)
@@ -1,4 +1,5 @@
-#Sat Jan 08 18:57:39 CET 2011
+#Thu Jun 30 02:40:51 CEST 2011
 eclipse.preferences.version=1
+entryPointModules=
 filesCopiedToWebInfLib=gwt-servlet.jar
 gwtCompileSettings=PGd3dC1jb21waWxlLXNldHRpbmdzPjxsb2ctbGV2ZWw+SU5GTzwvbG9nLWxldmVsPjxvdXRwdXQtc3R5bGU+T0JGVVNDQVRFRDwvb3V0cHV0LXN0eWxlPjxleHRyYS1hcmdzPjwhW0NEQVRBW11dPjwvZXh0cmEtYXJncz48dm0tYXJncz48IVtDREFUQVstWG14NTEybV1dPjwvdm0tYXJncz48L2d3dC1jb21waWxlLXNldHRpbmdzPg\=\=

Deleted: kune-sandbox/src/cc/kune/sandbox/client/CSSBasicUtils.java
===================================================================
--- kune-sandbox/src/cc/kune/sandbox/client/CSSBasicUtils.java	2011-08-11 00:58:21 UTC (rev 1489)
+++ kune-sandbox/src/cc/kune/sandbox/client/CSSBasicUtils.java	2011-08-11 08:36:59 UTC (rev 1490)
@@ -1,29 +0,0 @@
-package cc.kune.sandbox.client;
-
-import com.google.gwt.dom.client.Document;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.client.LinkElement;
-import com.google.gwt.dom.client.StyleElement;
-
-public class CSSBasicUtils {
-
-    private LinkElement currentLink;
-
-    public CSSBasicUtils() {
-    }
-
-    public void addCss(String cssUrl) {
-        Element head = Document.get().getElementsByTagName("head").getItem(0);
-        LinkElement link = Document.get().createLinkElement();
-        link.setType("text/css");
-        link.setRel("stylesheet");
-        link.setHref(cssUrl);
-        link.setMedia("screen");
-        link.setTitle("dynamicLoadedSheet");
-        head.appendChild(link);
-        if (currentLink != null)
-            currentLink.removeFromParent();
-        currentLink = link;
-    }
-
-}

Modified: kune-sandbox/src/cc/kune/sandbox/client/KuneSandboxEntryPoint.java
===================================================================
--- kune-sandbox/src/cc/kune/sandbox/client/KuneSandboxEntryPoint.java	2011-08-11 00:58:21 UTC (rev 1489)
+++ kune-sandbox/src/cc/kune/sandbox/client/KuneSandboxEntryPoint.java	2011-08-11 08:36:59 UTC (rev 1490)
@@ -1,8 +1,8 @@
 package cc.kune.sandbox.client;
 
 import cc.kune.common.client.notify.NotifyLevel;
-import cc.kune.common.client.notify.NotifyUser;
 import cc.kune.common.client.tooltip.Tooltip;
+import cc.kune.common.client.ui.BasicThumb;
 import cc.kune.common.client.ui.MaskWidget;
 import cc.kune.common.client.ui.PopupBottomPanel;
 import cc.kune.common.client.ui.PopupTopPanel;
@@ -10,6 +10,8 @@
 import cc.kune.common.client.ui.dialogs.PromptTopDialog;
 import cc.kune.common.client.ui.dialogs.PromptTopDialog.Builder;
 import cc.kune.common.client.utils.TextUtils;
+import cc.kune.core.client.avatar.AvatarDecorator;
+import cc.kune.core.client.resources.CoreResources;
 import cc.kune.gspace.client.GSpaceArmorImpl;
 import cc.kune.gspace.client.tool.selector.ToolSelectorItemPanel;
 import cc.kune.gspace.client.tool.selector.ToolSelectorPanel;
@@ -19,6 +21,7 @@
 import cc.kune.msgs.client.UserMessagesPresenter;
 
 import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.user.client.DOM;
@@ -51,6 +54,24 @@
     // testTooltips();
     //testBarButtons();
 
+    //testPromptDialog();
+
+    //testAvatarDecorators();
+  }
+
+  private void testAvatarDecorators() {
+//    BasicThumb thumb = new BasicThumb("http://kune.beta.iepala.es/others/unknown.jpg", 50, "kk", 50, false, new ClickHandler() {
+//      @Override
+//      public void onClick(ClickEvent event) {
+//      }
+//    });
+//    CoreResources res = GWT.create(CoreResources.class);
+//    AvatarDecorator avatarDecorator = new AvatarDecorator(res, thumb);
+//    avatarDecorator.setBusy();
+//    RootPanel.get().add(avatarDecorator);
+  }
+
+  private void testPromptDialog() {
     Builder builder = new PromptTopDialog.Builder("kkj-kk", "Some ask text?", false, true);
     builder.width("200px").height("200px").firstButtonTitle("Create").sndButtonTitle("Cancel");
     builder.regex(TextUtils.UNIX_NAME).regexText("The name must contain only characters, numbers and dashes");
@@ -64,7 +85,6 @@
        Window.alert("ok");
       }
     });
-
   }
 
   private void testBarButtons() {
@@ -112,7 +132,7 @@
   }
 
   private void testToolpanel() {
-    ToolSelectorPanel toolSelector = new ToolSelectorPanel(new GSpaceArmorImpl(null));
+    ToolSelectorPanel toolSelector = new ToolSelectorPanel(new GSpaceArmorImpl(null), null);
     ToolSelectorItemPanel toolItem1 = new ToolSelectorItemPanel();
     toolItem1.getLabel().setText("documents");
     ToolSelectorItemPanel toolItem2 = new ToolSelectorItemPanel();




More information about the kune-commits mailing list