[kune-commits] r1108 - in trunk: . src/main/java/org/ourproject/kune/platf/server/domain src/main/java/org/ourproject/kune/workspace/client/entityheader src/main/java/org/ourproject/kune/workspace/client/skel

vjrj vjrj at ourproject.org
Thu May 7 22:31:40 CEST 2009


Author: vjrj
Date: 2009-05-07 22:31:39 +0200 (Thu, 07 May 2009)
New Revision: 1108

Modified:
   trunk/pom.xml
   trunk/src/main/java/org/ourproject/kune/platf/server/domain/I18nLanguage.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntitySummary.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntityWorkspace.java
Log:
Complete - task Languages are not sorted by lang name 


Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2009-05-07 15:41:11 UTC (rev 1107)
+++ trunk/pom.xml	2009-05-07 20:31:39 UTC (rev 1108)
@@ -447,7 +447,7 @@
         <version>2.0-beta26</version>
         <configuration>
           <logLevel>INFO</logLevel>
-          <style>PRETTY</style>
+          <style>OBF</style>
           <!-- <style>OBF PRETTY</style> -->
           <runTarget>
             org.ourproject.kune.app.Kune/Kune.html

Modified: trunk/src/main/java/org/ourproject/kune/platf/server/domain/I18nLanguage.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/domain/I18nLanguage.java	2009-05-07 15:41:11 UTC (rev 1107)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/domain/I18nLanguage.java	2009-05-07 20:31:39 UTC (rev 1108)
@@ -152,7 +152,7 @@
         return null;
     }
 
-    @Finder(query = "FROM I18nLanguage")
+    @Finder(query = "FROM I18nLanguage ORDER BY englishName")
     public List<I18nLanguage> getAll() {
         return null;
     }
@@ -234,11 +234,11 @@
         this.code = code;
     }
 
-    public void setDateFormat(String dateFormat) {
+    public void setDateFormat(final String dateFormat) {
         this.dateFormat = dateFormat;
     }
 
-    public void setDateFormatShort(String dateFormatShort) {
+    public void setDateFormatShort(final String dateFormatShort) {
         this.dateFormatShort = dateFormatShort;
     }
 

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java	2009-05-07 15:41:11 UTC (rev 1107)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java	2009-05-07 20:31:39 UTC (rev 1108)
@@ -45,9 +45,11 @@
 
     public EntityHeaderPanel(final WorkspaceSkeleton ws, final Provider<FileDownloadUtils> downloadProvider,
             final Images images) {
+        super.setWidth("100%");
         this.downloadProvider = downloadProvider;
         this.images = images;
         vp = new VerticalPanel();
+        vp.setWidth("100%");
         vp.setHorizontalAlignment(ALIGN_RIGHT);
         entityTextLogo = new EntityTextLogo();
         add(entityTextLogo);

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntitySummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntitySummary.java	2009-05-07 15:41:11 UTC (rev 1107)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntitySummary.java	2009-05-07 20:31:39 UTC (rev 1108)
@@ -93,12 +93,12 @@
         // }, "Bla, bla, bla"));
         panel.addListener(new ContainerListenerAdapter() {
             @Override
-            public void onHide(Component component) {
+            public void onHide(final Component component) {
                 openFirstIfActiveNotVisible();
             }
 
             @Override
-            public void onShow(Component component) {
+            public void onShow(final Component component) {
                 openFirstIfActiveNotVisible();
             }
 
@@ -156,12 +156,12 @@
         return trayBar;
     }
 
-    public void setMaximized(boolean maximized) {
+    public void setMaximized(final boolean maximized) {
         entitySummary.setVisible(!maximized);
         if (maximized) {
-            mainFitPanel.collapse();
+            mainFitPanel.collapse(true);
         } else {
-            mainFitPanel.expand();
+            mainFitPanel.expand(true);
         }
     }
 

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntityWorkspace.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntityWorkspace.java	2009-05-07 15:41:11 UTC (rev 1107)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntityWorkspace.java	2009-05-07 20:31:39 UTC (rev 1108)
@@ -155,7 +155,7 @@
         context.addListener(listener);
     }
 
-    public void addListener(ContainerListenerAdapter containerListenerAdapter) {
+    public void addListener(final ContainerListenerAdapter containerListenerAdapter) {
         cntCtxBorderLayout.addListener(containerListenerAdapter);
     }
 
@@ -221,11 +221,11 @@
         setPanel(context, widget);
     }
 
-    public void setMaximized(boolean maximized) {
+    public void setMaximized(final boolean maximized) {
         if (maximized) {
-            contextWrap.collapse();
+            contextWrap.collapse(true);
         } else {
-            contextWrap.expand();
+            contextWrap.expand(true);
         }
     }
 
@@ -248,7 +248,7 @@
         context.addStyleName("k-entity-context-" + newTheme);
     }
 
-    private void setPanel(Panel panel, Widget widget) {
+    private void setPanel(final Panel panel, final Widget widget) {
         panel.clear();
         panel.add(widget);
         if (panel.isRendered()) {




More information about the kune-commits mailing list