kune-commits
Threads by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
February 2011
- 1 participants
- 35 discussions
Author: vjrj_
Date: 2011-02-10 19:28:58 +0100 (Thu, 10 Feb 2011)
New Revision: 1244
Added:
trunk/src/main/java/cc/kune/core/client/sn/actions/GotoPersonAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/JoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/RolAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/RolComparator.java
trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithMemberAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNActionsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNMembersActionsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/GroupMembersActionsRegistry.java
trunk/src/main/java/cc/kune/core/client/state/AccessRightsChangedEvent.java
trunk/src/main/java/cc/kune/core/public/images/unknown.jpg
Removed:
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java
Modified:
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java
trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java
trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java
trunk/src/main/java/cc/kune/core/public/ws.css
trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.ui.xml
trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java
trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
Log:
SN Refactorization
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -34,7 +34,9 @@
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.extjs.gxt.ui.client.widget.button.ToggleButton;
+import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
public abstract class AbstractGxtButtonGui extends AbstractChildGuiItem {
@@ -94,6 +96,12 @@
}
@Override
+ public void setIconResource(final ImageResource icon) {
+ button.setIcon(AbstractImagePrototype.create(icon));
+ button.setScale(ButtonScale.SMALL);
+ }
+
+ @Override
protected void setIconStyle(final String style) {
button.setIconStyle(style);
button.setScale(ButtonScale.SMALL);
@@ -117,9 +125,12 @@
if (tooltip != null && !tooltip.isEmpty()) {
final KeyStroke key = (KeyStroke) descriptor.getValue(Action.ACCELERATOR_KEY);
if (key == null) {
- button.setToolTip(new GxtDefTooltip(tooltip));
+ // button.setToolTip(new GxtDefTooltip(tooltip));
+ button.setTitle(tooltip);
} else {
- button.setToolTip(new GxtDefTooltip(tooltip + key.toString()));
+ // button.setToolTip(new GxtDefTooltip(tooltip +
+ // key.toString()));
+ button.setTitle(tooltip + key.toString());
}
}
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -31,11 +31,25 @@
import com.extjs.gxt.ui.client.widget.menu.Menu;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;
import com.extjs.gxt.ui.client.widget.menu.SeparatorMenuItem;
+import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.UIObject;
public abstract class AbstractGxtMenuGui extends AbstractChildGuiItem implements ParentWidget {
+ public enum MenuPosition {
+ b, // The top left corner (default)
+ bl, // The center of the top edge
+ br, // The bottom right corner ,// The top right corner
+ c, // The center of the left edge
+ l, // In the center of the element
+ r, // The center of the right edge
+ t, // The bottom left corner
+ tl, // The center of the bottom edge
+ tr
+ }
+ public static final String DEF_MENU_POSITION = "bl";
+ public static final String MENU_POSITION = "menu-position";
protected Menu menu;
public AbstractGxtMenuGui() {
@@ -52,7 +66,6 @@
public void addSeparator() {
menu.add(new SeparatorMenuItem());
-
}
@Override
@@ -92,6 +105,12 @@
return this;
}
+ protected String getMenuPosition() {
+ final MenuPosition position = (MenuPosition) descriptor.getValue(MENU_POSITION);
+ GWT.log("menu position" + position == null ? "none" : position.name());
+ return position == null ? DEF_MENU_POSITION : position.name();
+ }
+
@Override
public void insert(final int position, final UIObject item) {
menu.insert((MenuItem) item, position);
@@ -104,9 +123,9 @@
public void show(final Object relative) {
if (relative instanceof String) {
- menu.show(RootPanel.get((String) relative));
+ menu.show(RootPanel.get((String) relative).getElement(), getMenuPosition());
} else if (relative instanceof UIObject) {
- menu.show(((UIObject) relative).getElement(), "bl");
+ menu.show(((UIObject) relative).getElement(), getMenuPosition());
} else if (relative instanceof Position) {
final Position position = (Position) relative;
menu.showAt(position.getX(), position.getY());
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -36,9 +36,11 @@
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.menu.CheckMenuItem;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;
+import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
public abstract class AbstractGxtMenuItemGui extends AbstractChildGuiItem {
@@ -132,6 +134,11 @@
}
@Override
+ public void setIconResource(final ImageResource icon) {
+ item.setIcon(AbstractImagePrototype.create(icon));
+ }
+
+ @Override
protected void setIconStyle(final String style) {
item.setIconStyle(style);
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -26,11 +26,14 @@
import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
+import com.extjs.gxt.ui.client.Style.ButtonScale;
import com.extjs.gxt.ui.client.event.ButtonEvent;
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.button.SplitButton;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;
import com.extjs.gxt.ui.client.widget.menu.SeparatorMenuItem;
+import com.google.gwt.resources.client.ImageResource;
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.UIObject;
public class GxtMenuGui extends AbstractGxtMenuGui implements ParentWidget {
@@ -115,6 +118,14 @@
}
@Override
+ public void setIconResource(final ImageResource icon) {
+ if (button != null) {
+ button.setIcon(AbstractImagePrototype.create(icon));
+ button.setScale(ButtonScale.SMALL);
+ }
+ }
+
+ @Override
public void setIconStyle(final String style) {
if (button != null) {
button.setIconStyle(style);
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -111,7 +111,7 @@
private void setIcon(final Object icon) {
if (icon instanceof ImageResource) {
- setIconStyle((IconConstants.CSS_SUFFIX + ((ImageResource) icon).getName()));
+ setIconResource((ImageResource) icon);
} else if (icon instanceof String) {
setIconStyle((String) icon);
} else if (icon != null) {
@@ -119,6 +119,10 @@
}
}
+ public void setIconResource(final ImageResource icon) {
+ setIconStyle((IconConstants.CSS_SUFFIX + icon.getName()));
+ }
+
protected abstract void setIconStyle(String style);
private void setStyles(final String styles) {
Modified: trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -65,9 +65,9 @@
vpanel.add(image);
vpanel.add(label);
vpanel.addStyleName("k-basic-thumb");
- vpanel.addStyleName("kune-Margin-Small-trbl");
- vpanel.addStyleName("kune-pointer");
- vpanel.addStyleName("kune-floatleft");
+ vpanel.addStyleName("kune-Margin-Mini-trbl");
+ vpanel.addStyleName("k-pointer");
+ vpanel.addStyleName("k-floatleft");
vpanel.setCellHorizontalAlignment(label, VerticalPanel.ALIGN_CENTER);
if (clickHandler instanceof ClickHandler) {
addClickHandlerImpl(clickHandler);
@@ -110,9 +110,12 @@
image.addClickHandler(clickHandler);
}
+ public void setLabelVisible(final boolean visible) {
+ label.setVisible(visible);
+ }
+
public void setOnOverLabel(final boolean onOverLabel) {
this.onOverLabel = onOverLabel;
- label.setVisible(!onOverLabel);
}
public void setText(final String text) {
Modified: trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -68,6 +68,11 @@
import cc.kune.core.client.sitebar.spaces.SpaceSelectorViewImpl;
import cc.kune.core.client.sn.GroupMembersPanel;
import cc.kune.core.client.sn.GroupMembersPresenter;
+import cc.kune.core.client.sn.actions.registry.GroupMembersActionsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNAdminsMenuItemsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNCollabsMenuItemsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNPendingsMenuItemsRegistry;
+import cc.kune.core.client.state.AccessRightsClientManager;
import cc.kune.core.client.state.ContentProvider;
import cc.kune.core.client.state.ContentProviderDefault;
import cc.kune.core.client.state.HistoryWrapper;
@@ -158,12 +163,19 @@
bind(ErrorHandler.class).in(Singleton.class);
bind(StateManagerDefault.class).in(Singleton.class);
bind(StateManager.class).to(StateManagerDefault.class).in(Singleton.class);
+ bind(AccessRightsClientManager.class).in(Singleton.class);
bind(ContentProvider.class).to(ContentProviderDefault.class).in(Singleton.class);
bind(HistoryWrapper.class).to(HistoryWrapperDefault.class).in(Singleton.class);
bind(PrefetchUtilities.class).in(Singleton.class);
bind(AppStarter.class).to(AppStarterDefault.class).in(Singleton.class);
bind(CookiesManager.class).to(CookiesManagerImpl.class).in(Singleton.class);
+ // SN
+ bind(SNAdminsMenuItemsRegistry.class).in(Singleton.class);
+ bind(SNCollabsMenuItemsRegistry.class).in(Singleton.class);
+ bind(SNPendingsMenuItemsRegistry.class).in(Singleton.class);
+ bind(GroupMembersActionsRegistry.class).in(Singleton.class);
+
bind(SitebarNewGroupLink.class).in(Singleton.class);
bind(SitebarSignInLink.class).in(Singleton.class);
bind(SitebarSignOutLink.class).in(Singleton.class);
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -22,6 +22,7 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.gxtui.AbstractGxtMenuGui;
import cc.kune.common.client.actions.ui.IsActionExtensible;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
@@ -99,7 +100,6 @@
private void init() {
getView().getLeftBar().addAction(LEFT_TOOLBAR);
getView().getRightBar().addAction(RIGHT_TOOLBAR);
- getView().getRightBar().addAction(OPTIONS_MENU);
}
@ProxyEvent
@@ -116,6 +116,7 @@
action.putValue(Action.NAME, "Test");
final MenuItemDescriptor testMenuItem = new MenuItemDescriptor(OPTIONS_MENU, action);
OPTIONS_MENU.setStyles("k-no-backimage, k-btn-sitebar");
+ OPTIONS_MENU.putValue(AbstractGxtMenuGui.MENU_POSITION, AbstractGxtMenuGui.MenuPosition.bl);
// final ToolbarSeparatorDescriptor separator = new
// ToolbarSeparatorDescriptor(Type.separator, RIGHT_TOOLBAR);
// final ToolbarSeparatorDescriptor separator2 = new
@@ -151,10 +152,12 @@
// right.addAction(separator2);
right.addAction(newGroupLink.get());
// right.addAction(separator);
+ right.addAction(OPTIONS_MENU);
right.addAction(testMenuItem);
right.addAction(menuSeparator);
right.addAction(bugs);
right.addAction(new MenuItemDescriptor(OPTIONS_MENU, aboutAction));
+
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,5 +1,6 @@
package cc.kune.core.client.sn;
+import cc.kune.common.client.actions.gxtui.AbstractGxtMenuGui;
import cc.kune.common.client.actions.ui.ActionFlowPanel;
import cc.kune.common.client.actions.ui.ActionSimplePanel;
import cc.kune.common.client.actions.ui.IsActionExtensible;
@@ -19,6 +20,7 @@
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.DeckPanel;
+import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ScrollPanel;
@@ -34,6 +36,8 @@
private static GroupMembersPanelUiBinder uiBinder = GWT.create(GroupMembersPanelUiBinder.class);
private final ActionSimplePanel actions;
@UiField
+ Label adminsCount;
+ @UiField
FlowPanel adminsFlow;
@UiField
Label adminsLabel;
@@ -41,10 +45,15 @@
@UiField
FlowPanel bottomPanel;
@UiField
+ Label collabsCount;
+ @UiField
FlowPanel collabsFlow;
@UiField
Label collabsLabel;
@UiField
+ DockLayoutPanel collabsPanel;
+
+ @UiField
ScrollPanel collabsScroll;
@UiField
DeckPanel deck;
@@ -59,10 +68,14 @@
@UiField
Label orphanProject;
@UiField
+ Label pendingsCount;
+ @UiField
FlowPanel pendingsFlow;
@UiField
Label pendingsLabel;
@UiField
+ DockLayoutPanel pendingsPanel;
+ @UiField
ScrollPanel pendingsScroll;
private final Widget widget;
@@ -82,6 +95,7 @@
bottomActionsToolbar = new ActionFlowPanel(guiProvider);
actions = new ActionSimplePanel(guiProvider);
bottomPanel.add(bottomActionsToolbar);
+ bottomActionsToolbar.setStyleName("k-sn-bottomPanel-actions");
armor.getEntityToolsNorth().add(widget);
deck.showWidget(2);
}
@@ -125,6 +139,7 @@
final BasicThumb thumb = new BasicThumb(avatarUrl, AVATARSIZE, group.getShortName(), AVATARLABELMAXSIZE, false);
final MenuDescriptor menu = new MenuDescriptor();
menu.setStandalone(true);
+ menu.putValue(AbstractGxtMenuGui.MENU_POSITION, AbstractGxtMenuGui.MenuPosition.bl);
for (final GuiActionDescrip item : menuitems) {
item.setParent(menu);
}
@@ -138,9 +153,8 @@
thumb.addClickHandler(clickHand);
actions.add(menu);
actions.add(menuitems);
-
thumb.setTooltip(tooltipTitle, tooltip);
- thumb.setOnOverLabel(true);
+ thumb.setLabelVisible(false);
return thumb;
}
@@ -150,6 +164,31 @@
}
@Override
+ public void setAdminsCount(final int count) {
+ adminsCount.setText(new StringBuffer("(").append(count).append(")").toString());
+ }
+
+ @Override
+ public void setCollabsCount(final int count) {
+ collabsCount.setText(new StringBuffer("(").append(count).append(")").toString());
+ }
+
+ @Override
+ public void setCollabsVisible(final boolean visible) {
+ collabsPanel.setVisible(visible);
+ }
+
+ @Override
+ public void setPendingsCount(final int count) {
+ pendingsCount.setText(new StringBuffer("(").append(count).append(")").toString());
+ }
+
+ @Override
+ public void setPendingVisible(final boolean visible) {
+ pendingsPanel.setVisible(visible);
+ }
+
+ @Override
public void setVisible(final boolean visible) {
deck.setVisible(visible);
}
Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml 2011-02-10 18:28:58 UTC (rev 1244)
@@ -13,54 +13,65 @@
<g:DeckPanel ui:field="deck" addStyleNames="k-sn-deck">
<g:Label ui:field="noMembersVisible" addStyleNames="k-sn-novisible-label" />
<g:Label ui:field="orphanProject" addStyleNames="k-sn-orphan-label" />
- <g:FlowPanel width="100%" height="100px" ui:field="membersFlow">
+ <g:FlowPanel width="100%" ui:field="membersFlow">
<g:DockLayoutPanel unit="EM" width="100%"
- addStyleNames="k-sn-adminspanel" height="100px">
- <g:north size="2.0">
+ addStyleNames="k-sn-adminspanel" height="80px">
+ <g:north size="1.2">
+ <g:FlowPanel>
<g:Label text="Admins" ui:field="adminsLabel"
- addStyleNames="k-sn-adminslabel" />
+ addStyleNames="k-sn-adminslabel" /><g:Label ui:field="adminsCount"
+ addStyleNames="k-sn-adminsCountlabel" />
+ </g:FlowPanel>
</g:north>
<g:center>
<g:ScrollPanel width="100%" addStyleNames="k-sn-adminsscroll">
- <g:FlowPanel width="100%" height="100%"
+ <g:FlowPanel addStyleNames="k-sn-adminsflow"
ui:field="adminsFlow" />
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
<g:DockLayoutPanel unit="EM" width="100%"
- addStyleNames="k-sn-collabspanel" height="100px">
- <g:north size="2.0">
+ ui:field="collabsPanel" addStyleNames="k-sn-collabspanel"
+ height="80px">
+ <g:north size="1.2">
+ <g:FlowPanel>
<g:Label text="Collabs" ui:field="collabsLabel"
- addStyleNames="k-sn-collabslabel" />
+ addStyleNames="k-sn-collabslabel" /><g:Label ui:field="collabsCount"
+ addStyleNames="k-sn-collabsCountlabel" />
+ </g:FlowPanel>
</g:north>
<g:center>
<g:ScrollPanel ui:field="collabsScroll" width="100%"
addStyleNames="k-sn-collabsscroll">
- <g:FlowPanel width="100%" height="100%"
- ui:field="collabsFlow" />
+ <g:FlowPanel ui:field="collabsFlow"
+ addStyleNames="k-sn-collabsflow" />
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
<g:DockLayoutPanel unit="EM" width="100%"
- addStyleNames="k-sn-pendingspanel" height="100px">
- <g:north size="2.0">
+ ui:field="pendingsPanel" addStyleNames="k-sn-pendingspanel"
+ height="80px">
+ <g:north size="1.2">
+ <g:FlowPanel>
<g:Label text="Pendings" ui:field="pendingsLabel"
- addStyleNames="k-sn-pendingslabel" />
+ addStyleNames="k-sn-pendingslabel" /><g:Label ui:field="pendingsCount"
+ addStyleNames="k-sn-pendingsCountlabel" />
+ </g:FlowPanel>
</g:north>
<g:center>
<g:ScrollPanel ui:field="pendingsScroll"
addStyleNames="k-sn-pendingsscroll" width="100%">
- <g:FlowPanel width="100%" height="100%"
+ <g:FlowPanel addStyleNames="k-sn-pendingsflow"
ui:field="pendingsFlow" />
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
</g:FlowPanel>
</g:DeckPanel>
- <g:FlowPanel ui:field="bottomPanel" />
+ <g:FlowPanel ui:field="bottomPanel" addStyleNames="k-sn-bottomPanel" />
</g:FlowPanel>
</ui:UiBinder>
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -8,7 +8,8 @@
import cc.kune.core.client.init.AppStartEvent;
import cc.kune.core.client.init.AppStartEvent.AppStartHandler;
import cc.kune.core.client.services.FileDownloadUtils;
-import cc.kune.core.client.sn.actions.registry.AbstractSocialNetworActionsRegistry;
+import cc.kune.core.client.sn.actions.registry.AbstractSNMembersActionsRegistry;
+import cc.kune.core.client.sn.actions.registry.GroupMembersActionsRegistry;
import cc.kune.core.client.sn.actions.registry.SNAdminsMenuItemsRegistry;
import cc.kune.core.client.sn.actions.registry.SNCollabsMenuItemsRegistry;
import cc.kune.core.client.sn.actions.registry.SNPendingsMenuItemsRegistry;
@@ -39,8 +40,9 @@
}
public interface GroupMembersView extends View {
- int AVATARLABELMAXSIZE = 15;
- int AVATARSIZE = 32;
+ int AVATARLABELMAXSIZE = 4;
+ // int AVATARSIZE = 32;
+ int AVATARSIZE = 22;
String NOAVATAR = "";
void addAdmin(GroupDTO group, String avatarUrl, String tooltip, String tooltipTitle,
@@ -56,8 +58,18 @@
IsActionExtensible getBottomToolbar();
- void setVisible(boolean b);
+ void setAdminsCount(int count);
+ void setCollabsCount(int count);
+
+ void setCollabsVisible(boolean visible);
+
+ void setPendingsCount(int count);
+
+ void setPendingVisible(boolean visible);
+
+ void setVisible(boolean visible);
+
void showMemberNotPublic();
void showMembers();
@@ -65,9 +77,10 @@
void showOrphan();
}
+ private final GroupMembersActionsRegistry actionsRegistry;
private final SNAdminsMenuItemsRegistry adminsMenuItemsRegistry;
+
private final SNCollabsMenuItemsRegistry collabsMenuItemsRegistry;
-
private final Provider<FileDownloadUtils> downloadProvider;
private final SNPendingsMenuItemsRegistry pendingsMenuItemsRegistry;
private final Session session;
@@ -77,13 +90,15 @@
final StateManager stateManager, final Session session, final Provider<FileDownloadUtils> downloadProvider,
final SNAdminsMenuItemsRegistry adminsMenuItemsRegistry,
final SNCollabsMenuItemsRegistry collabsMenuItemsRegistry,
- final SNPendingsMenuItemsRegistry pendingsMenuItemsRegistry) {
+ final SNPendingsMenuItemsRegistry pendingsMenuItemsRegistry,
+ final GroupMembersActionsRegistry actionsRegistry) {
super(eventBus, view, proxy);
this.session = session;
this.downloadProvider = downloadProvider;
this.adminsMenuItemsRegistry = adminsMenuItemsRegistry;
this.collabsMenuItemsRegistry = collabsMenuItemsRegistry;
this.pendingsMenuItemsRegistry = pendingsMenuItemsRegistry;
+ this.actionsRegistry = actionsRegistry;
stateManager.onStateChanged(new StateChangedEvent.StateChangedHandler() {
@Override
public void onStateChanged(final StateChangedEvent event) {
@@ -107,11 +122,11 @@
}
private void createActions() {
- // TODO
+ getView().getBottomToolbar().addActions(actionsRegistry);
}
private GuiActionDescCollection createMenuItems(final GroupDTO group,
- final AbstractSocialNetworActionsRegistry registry) {
+ final AbstractSNMembersActionsRegistry registry) {
final GuiActionDescCollection items = new GuiActionDescCollection();
for (final Provider<MenuItemDescriptor> provider : registry) {
final MenuItemDescriptor menuItem = provider.get();
@@ -130,6 +145,7 @@
getView().setVisible(false);
} else {
if (state.getSocialNetworkData().isMembersVisible()) {
+ getView().clear();
setGroupMembers(state.getGroupMembers(), state.getGroupRights());
} else {
getView().clear();
@@ -155,7 +171,11 @@
final int numCollabs = collabList.size();
final int numPendings = pendingCollabsList.size();
- if ((numAdmins + numCollabs + numPendings) == 0) {
+ getView().setAdminsCount(numAdmins);
+ getView().setCollabsCount(numCollabs);
+ getView().setPendingsCount(numPendings);
+
+ if ((numAdmins + numCollabs) == 0) {
getView().showOrphan();
} else {
final boolean userIsAdmin = rights.isAdministrable();
@@ -166,19 +186,22 @@
final String avatar = getAvatar(admin);
getView().addAdmin(admin, avatar, admin.getLongName(), "",
createMenuItems(admin, adminsMenuItemsRegistry));
-
}
+ getView().setCollabsVisible(numCollabs > 0);
for (final GroupDTO collab : collabList) {
final String avatar = getAvatar(collab);
getView().addCollab(collab, avatar, collab.getLongName(), "",
createMenuItems(collab, collabsMenuItemsRegistry));
}
if (userIsAdmin) {
+ getView().setPendingVisible(numPendings > 0);
for (final GroupDTO pendingCollab : pendingCollabsList) {
final String avatar = getAvatar(pendingCollab);
- getView().addCollab(pendingCollab, avatar, pendingCollab.getLongName(), "",
+ getView().addPending(pendingCollab, avatar, pendingCollab.getLongName(), "",
createMenuItems(pendingCollab, pendingsMenuItemsRegistry));
}
+ } else {
+ getView().setPendingVisible(false);
}
getView().showMembers();
}
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
@@ -18,13 +17,6 @@
import com.google.inject.Provider;
public class AcceptJoinGroupAction extends AbstractExtendedAction {
- public class AcceptJoinGroupMenuItem extends MenuItemDescriptor {
-
- @Inject
- public AcceptJoinGroupMenuItem(final AcceptJoinGroupAction action) {
- super(action);
- }
- }
private final I18nTranslationService i18n;
private final Session session;
private final Provider<SocialNetworkServiceAsync> snServiceProvider;
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
@@ -18,16 +17,9 @@
import com.google.inject.Provider;
public class ChangeToAdminAction extends AbstractExtendedAction {
- public class ChangeToAdminMenuItem extends MenuItemDescriptor {
- @Inject
- public ChangeToAdminMenuItem(final ChangeToAdminAction action) {
- super(action);
- }
- }
private final I18nTranslationService i18n;
private final Session session;
private final Provider<SocialNetworkServiceAsync> snServiceProvider;
-
private final StateManager stateManager;
@Inject
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
@@ -18,12 +17,6 @@
import com.google.inject.Provider;
public class ChangeToCollabAction extends AbstractExtendedAction {
- public class ChangeToCollabMenuItem extends MenuItemDescriptor {
- @Inject
- public ChangeToCollabMenuItem(final ChangeToCollabAction action) {
- super(action);
- }
- }
private final I18nTranslationService i18n;
private final Session session;
private final Provider<SocialNetworkServiceAsync> snServiceProvider;
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
@@ -18,16 +17,9 @@
import com.google.inject.Provider;
public class DenyJoinGroupAction extends AbstractExtendedAction {
- public class DenyJoinGroupMenuItem extends MenuItemDescriptor {
- @Inject
- public DenyJoinGroupMenuItem(final DenyJoinGroupAction action) {
- super(action);
- }
- }
private final I18nTranslationService i18n;
private final Session session;
private final Provider<SocialNetworkServiceAsync> snServiceProvider;
-
private final StateManager stateManager;
@Inject
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.GroupDTO;
@@ -12,12 +11,6 @@
import com.google.inject.Inject;
public class GotoGroupAction extends AbstractExtendedAction {
- public class GotoGroupMenuItem extends MenuItemDescriptor {
- @Inject
- public GotoGroupMenuItem(final GotoGroupAction action) {
- super(action);
- }
- }
private final StateManager stateManager;
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,35 +1,17 @@
package cc.kune.core.client.sn.actions;
-import cc.kune.common.client.actions.AbstractExtendedAction;
-import cc.kune.common.client.actions.Action;
-import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.dto.GroupDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
import com.google.inject.Inject;
-public class GotoMemberAction extends AbstractExtendedAction {
- public class GotoMemberMenuItem extends MenuItemDescriptor {
- @Inject
- public GotoMemberMenuItem(final GotoMemberAction action) {
- super(action);
- }
- }
- private final StateManager stateManager;
+public class GotoMemberAction extends GotoGroupAction {
@Inject
public GotoMemberAction(final StateManager stateManager, final I18nTranslationService i18n, final CoreResources res) {
- this.stateManager = stateManager;
+ super(stateManager, i18n, res);
putValue(NAME, i18n.t("Visit this member homepage"));
- putValue(Action.SMALL_ICON, res.groupHome());
}
- @Override
- public void actionPerformed(final ActionEvent event) {
- stateManager.gotoToken(((GroupDTO) event.getSource()).getStateToken());
- }
-
}
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoPersonAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/GotoPersonAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/GotoPersonAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,17 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+
+public class GotoPersonAction extends GotoGroupAction {
+
+ @Inject
+ public GotoPersonAction(final StateManager stateManager, final I18nTranslationService i18n, final CoreResources res) {
+ super(stateManager, i18n, res);
+ putValue(NAME, i18n.t("Visit his/her homepage"));
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoPersonAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/JoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/JoinGroupAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/JoinGroupAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,58 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.dto.SocialNetworkRequestResult;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class JoinGroupAction extends RolAction {
+
+ @Inject
+ public JoinGroupAction(final StateManager stateManager, final Session session, final I18nTranslationService i18n,
+ final CoreResources res, final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final AccessRightsClientManager rightsClientManager) {
+ super(stateManager, session, i18n, res, snServiceProvider, rightsClientManager, AccessRolDTO.Viewer, false,
+ true, false);
+ putValue(NAME, i18n.t("Participate"));
+ putValue(SHORT_DESCRIPTION, i18n.t("Request to participate in this group"));
+ putValue(Action.SMALL_ICON, res.addGreen());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().requestJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
+ new AsyncCallbackSimple<SocialNetworkRequestResult>() {
+ @Override
+ public void onSuccess(final SocialNetworkRequestResult result) {
+ NotifyUser.hideProgress();
+ switch ((result)) {
+ case accepted:
+ NotifyUser.info(i18n.t("You are now member of this group"));
+ stateManager.reload();
+ break;
+ case denied:
+ NotifyUser.important(i18n.t("Sorry this is a closed group"));
+ break;
+ case moderated:
+ NotifyUser.info(i18n.t("Membership requested. Waiting for admins decision"));
+ break;
+ default:
+ NotifyUser.info(i18n.t("Programatic error in ParticipateAction"));
+ }
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/JoinGroupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,7 +3,6 @@
import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
@@ -18,12 +17,6 @@
import com.google.inject.Provider;
public class RemoveMemberAction extends AbstractExtendedAction {
- public class RemoveMemberMenuItem extends MenuItemDescriptor {
- @Inject
- public RemoveMemberMenuItem(final RemoveMemberAction action) {
- super(action);
- }
- }
private final I18nTranslationService i18n;
private final Session session;
private final Provider<SocialNetworkServiceAsync> snServiceProvider;
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/RolAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/RolAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/RolAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,65 @@
+package cc.kune.core.client.sn.actions;
+
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.AccessRightsChangedEvent;
+import cc.kune.core.client.state.AccessRightsChangedEvent.AccessRightsChangedHandler;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public abstract class RolAction extends AbstractExtendedAction {
+ protected final I18nTranslationService i18n;
+ protected final Session session;
+ protected final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ protected final StateManager stateManager;
+
+ @Inject
+ public RolAction(final StateManager stateManager, final Session session, final I18nTranslationService i18n,
+ final CoreResources res, final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final AccessRightsClientManager rightsManager, final AccessRolDTO rolRequired, final boolean authNeed,
+ final boolean visibleForNonMemb, final boolean visibleForMembers) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ rightsManager.onRightsChanged(new AccessRightsChangedHandler() {
+
+ @Override
+ public void onAccessRightsChanged(final AccessRightsChangedEvent event) {
+ refreshStatus(rolRequired, authNeed, session.isLogged(), visibleForMembers, visibleForNonMemb,
+ event.getCurrentRights());
+
+ }
+ });
+ }
+
+ public void refreshStatus(final AccessRolDTO rolRequired, final boolean authNeed, final boolean isLogged,
+ final boolean visibleForMembers, final boolean visibleForNonMemb, final AccessRights newRights) {
+ boolean newVisibility = false;
+ boolean newEnabled = false;
+ if (authNeed && !isLogged) {
+ newVisibility = newEnabled = false;
+ } else {
+ // Auth ok
+ newEnabled = RolComparator.isEnabled(rolRequired, newRights);
+ if (newEnabled) {
+ final boolean isMember = RolComparator.isMember(newRights);
+ newEnabled = newVisibility = isMember && visibleForMembers || !isMember && visibleForNonMemb;
+ } else {
+ newVisibility = false;
+ }
+ }
+ setEnabled(newEnabled);
+ putValue(GuiActionDescrip.VISIBLE, newVisibility);
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/RolAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: trunk/src/main/java/cc/kune/core/client/sn/actions/RolComparator.java (from rev 1243, trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/RolComparator.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/RolComparator.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,45 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+
+public final class RolComparator {
+
+ public static boolean isEnabled(final AccessRolDTO rolRequired, final AccessRights rights) {
+ switch (rolRequired) {
+ case Administrator:
+ return rights.isAdministrable();
+ case Editor:
+ return rights.isEditable();
+ case Viewer:
+ return rights.isVisible();
+ }
+ return false;
+ }
+
+ public static boolean isMember(final AccessRights newRights) {
+ return newRights.isAdministrable() || newRights.isEditable();
+ }
+
+ private RolComparator() {
+ }
+}
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithMemberAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithMemberAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithMemberAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,40 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.chat.client.ChatClient;
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class StartChatWithMemberAction extends AbstractExtendedAction {
+ private final Provider<ChatClient> chatClient;
+
+ private final I18nTranslationService i18n;
+
+ @Inject
+ public StartChatWithMemberAction(final I18nTranslationService i18n, final CoreResources res,
+ final Provider<ChatClient> chatClient) {
+ this.i18n = i18n;
+ this.chatClient = chatClient;
+ putValue(NAME, i18n.t("Start a chat with this member"));
+ putValue(Action.SMALL_ICON, res.newChat());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ chatClient.get().show();
+ if (chatClient.get().isLoggedIn()) {
+ chatClient.get().chat(XmppURI.jid(((GroupDTO) event.getSource()).getShortName()));
+ } else {
+ NotifyUser.important(i18n.t("To start a chat you need to be 'online'"));
+ }
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithMemberAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,47 +1,17 @@
package cc.kune.core.client.sn.actions;
import cc.kune.chat.client.ChatClient;
-import cc.kune.common.client.actions.AbstractExtendedAction;
-import cc.kune.common.client.actions.Action;
-import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
-import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.resources.CoreResources;
-import cc.kune.core.shared.dto.GroupDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
-import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
import com.google.inject.Inject;
import com.google.inject.Provider;
-public class StartChatWithUserAction extends AbstractExtendedAction {
- public class StartChatWithUserMenuItem extends MenuItemDescriptor {
- @Inject
- public StartChatWithUserMenuItem(final StartChatWithUserAction action) {
- super(action);
- }
- }
- private final Provider<ChatClient> chatClient;
-
- private final I18nTranslationService i18n;
-
+public class StartChatWithUserAction extends StartChatWithMemberAction {
@Inject
public StartChatWithUserAction(final I18nTranslationService i18n, final CoreResources res,
final Provider<ChatClient> chatClient) {
- this.i18n = i18n;
- this.chatClient = chatClient;
- putValue(NAME, i18n.t("Start a chat with this member"));
- putValue(Action.SMALL_ICON, res.newChat());
+ super(i18n, res, chatClient);
+ putValue(NAME, i18n.t("Start a chat with this person"));
}
-
- @Override
- public void actionPerformed(final ActionEvent event) {
- chatClient.get().show();
- if (chatClient.get().isLoggedIn()) {
- chatClient.get().chat(XmppURI.jid(((GroupDTO) event.getSource()).getShortName()));
- } else {
- NotifyUser.important(i18n.t("To start a chat you need to be 'online'"));
- }
- }
-
}
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,60 +1,55 @@
package cc.kune.core.client.sn.actions;
-import cc.kune.common.client.actions.AbstractExtendedAction;
import cc.kune.common.client.actions.Action;
import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.common.client.utils.OnAcceptCallback;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.AccessRightsClientManager;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.AccessRolDTO;
import cc.kune.core.shared.dto.SocialNetworkDataDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
import com.google.inject.Inject;
import com.google.inject.Provider;
-public class UnJoinGroupAction extends AbstractExtendedAction {
- public class UnJoinGroupMenuItem extends MenuItemDescriptor {
- @Inject
- public UnJoinGroupMenuItem(final UnJoinGroupAction action) {
- super(action);
- }
- }
- private final I18nTranslationService i18n;
- private final Session session;
- private final Provider<SocialNetworkServiceAsync> snServiceProvider;
- private final StateManager stateManager;
+public class UnJoinGroupAction extends RolAction {
@Inject
public UnJoinGroupAction(final StateManager stateManager, final Session session, final I18nTranslationService i18n,
- final CoreResources res, final Provider<SocialNetworkServiceAsync> snServiceProvider) {
- this.stateManager = stateManager;
- this.session = session;
- this.i18n = i18n;
- this.snServiceProvider = snServiceProvider;
- putValue(NAME, i18n.t("Do not participate anymore in this group"));
+ final CoreResources res, final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final AccessRightsClientManager rightsClientManager) {
+ super(stateManager, session, i18n, res, snServiceProvider, rightsClientManager, AccessRolDTO.Editor, true,
+ false, true);
+ putValue(NAME, i18n.t("Leave this group"));
+ putValue(SHORT_DESCRIPTION, i18n.t("Do not participate anymore in this group"));
putValue(Action.SMALL_ICON, res.del());
}
@Override
public void actionPerformed(final ActionEvent event) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().unJoinGroup(session.getUserHash(), ((GroupDTO) event.getSource()).getStateToken(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Removed as member"));
- stateManager.reload();
- // in the future with user info:
- // services.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
- // result);
- }
- });
+ NotifyUser.askConfirmation(i18n.t("Leave this group"), i18n.t("Are you sure?"), new OnAcceptCallback() {
+ @Override
+ public void onSuccess() {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().unJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Removed as member"));
+ stateManager.reload();
+ // in the future with user info:
+ // stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
+ // result);
+ }
+ });
+ }
+ });
}
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -3,6 +3,7 @@
import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.dto.StateContentDTO;
import com.google.inject.Inject;
import com.google.inject.Singleton;
@@ -19,6 +20,9 @@
@Override
public boolean mustBeAdded(final GuiActionDescrip descr) {
+ if (session.getContainerState() instanceof StateContentDTO) {
+ // FIXME
+ }
return (session.getContentState().getGroupRights().isAdministrable());
}
}
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNActionsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNActionsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNActionsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,11 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+
+public abstract class AbstractSNActionsRegistry extends GuiActionDescCollection { // NOPMD
+ // by
+ // vjrj
+ // on
+ // 10/02/11
+ // 3:19
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNActionsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNMembersActionsRegistry.java (from rev 1243, trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNMembersActionsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNMembersActionsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,10 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import java.util.ArrayList;
+
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+
+import com.google.inject.Provider;
+
+public abstract class AbstractSNMembersActionsRegistry extends ArrayList<Provider<MenuItemDescriptor>> { // NOPMD by vjrj on 10/02/11 3:19
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSNMembersActionsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,10 +0,0 @@
-package cc.kune.core.client.sn.actions.registry;
-
-import java.util.ArrayList;
-
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
-
-import com.google.inject.Provider;
-
-public abstract class AbstractSocialNetworActionsRegistry extends ArrayList<Provider<MenuItemDescriptor>> { // NOPMD by vjrj on 10/02/11 3:19
-}
\ No newline at end of file
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/GroupMembersActionsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/GroupMembersActionsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/GroupMembersActionsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,19 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.core.client.sn.actions.JoinGroupAction;
+import cc.kune.core.client.sn.actions.UnJoinGroupAction;
+
+import com.google.inject.Inject;
+
+public class GroupMembersActionsRegistry extends AbstractSNActionsRegistry {
+ @Inject
+ public GroupMembersActionsRegistry(final JoinGroupAction joinGroupAction, final UnJoinGroupAction unJoinGroupAction) {
+ final ButtonDescriptor join = new ButtonDescriptor(joinGroupAction);
+ final ButtonDescriptor unjoin = new ButtonDescriptor(unJoinGroupAction);
+ join.setStyles("k-no-backimage");
+ unjoin.setStyles("k-no-backimage");
+ add(join);
+ add(unjoin);
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/GroupMembersActionsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -8,7 +8,7 @@
import cc.kune.core.client.sn.actions.GotoGroupAction;
import cc.kune.core.client.sn.actions.GotoMemberAction;
import cc.kune.core.client.sn.actions.RemoveMemberAction;
-import cc.kune.core.client.sn.actions.StartChatWithUserAction;
+import cc.kune.core.client.sn.actions.StartChatWithMemberAction;
import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
import cc.kune.core.client.sn.actions.conditions.IsGroupCondition;
import cc.kune.core.client.sn.actions.conditions.IsPersonCondition;
@@ -17,14 +17,14 @@
import com.google.inject.Inject;
import com.google.inject.Provider;
-public class SNAdminsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+public class SNAdminsMenuItemsRegistry extends AbstractSNMembersActionsRegistry {
@Inject
public SNAdminsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
final IsPersonCondition isPersonCondition, final IsGroupCondition isGroupCondition,
final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
- final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
+ final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithMemberAction startChatWithUserAction,
final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
add(new Provider<MenuItemDescriptor>() {
@Override
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -8,7 +8,7 @@
import cc.kune.core.client.sn.actions.GotoGroupAction;
import cc.kune.core.client.sn.actions.GotoMemberAction;
import cc.kune.core.client.sn.actions.RemoveMemberAction;
-import cc.kune.core.client.sn.actions.StartChatWithUserAction;
+import cc.kune.core.client.sn.actions.StartChatWithMemberAction;
import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
import cc.kune.core.client.sn.actions.conditions.IsGroupCondition;
import cc.kune.core.client.sn.actions.conditions.IsPersonCondition;
@@ -17,14 +17,14 @@
import com.google.inject.Inject;
import com.google.inject.Provider;
-public class SNCollabsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+public class SNCollabsMenuItemsRegistry extends AbstractSNMembersActionsRegistry {
@Inject
public SNCollabsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
final IsPersonCondition isPersonCondition, final IsGroupCondition isGroupCondition,
final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
- final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
+ final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithMemberAction startChatWithUserAction,
final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
add(new Provider<MenuItemDescriptor>() {
@Override
Modified: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -6,7 +6,7 @@
import cc.kune.core.client.sn.actions.ChangeToCollabAction;
import cc.kune.core.client.sn.actions.DenyJoinGroupAction;
import cc.kune.core.client.sn.actions.GotoGroupAction;
-import cc.kune.core.client.sn.actions.GotoMemberAction;
+import cc.kune.core.client.sn.actions.GotoPersonAction;
import cc.kune.core.client.sn.actions.RemoveMemberAction;
import cc.kune.core.client.sn.actions.StartChatWithUserAction;
import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
@@ -17,7 +17,7 @@
import com.google.inject.Inject;
import com.google.inject.Provider;
-public class SNPendingsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+public class SNPendingsMenuItemsRegistry extends AbstractSNMembersActionsRegistry {
@Inject
public SNPendingsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
@@ -25,7 +25,7 @@
final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
- final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
+ final GotoGroupAction gotoGroupAction, final GotoPersonAction gotoPersonAction) {
add(new Provider<MenuItemDescriptor>() {
@Override
public MenuItemDescriptor get() {
@@ -45,7 +45,7 @@
add(new Provider<MenuItemDescriptor>() {
@Override
public MenuItemDescriptor get() {
- final MenuItemDescriptor item = new MenuItemDescriptor(gotoMemberAction);
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoPersonAction);
item.setAddCondition(isPersonCondition);
return item;
}
Added: trunk/src/main/java/cc/kune/core/client/state/AccessRightsChangedEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/AccessRightsChangedEvent.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/state/AccessRightsChangedEvent.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -0,0 +1,97 @@
+package cc.kune.core.client.state;
+
+import com.google.gwt.event.shared.EventHandler;
+import com.google.gwt.event.shared.GwtEvent;
+import com.google.gwt.event.shared.HandlerRegistration;
+
+import com.google.gwt.event.shared.HasHandlers;
+
+public class AccessRightsChangedEvent extends GwtEvent<AccessRightsChangedEvent.AccessRightsChangedHandler> {
+
+ public interface HasAccessRightsChangedHandlers extends HasHandlers {
+ HandlerRegistration addAccessRightsChangedHandler(AccessRightsChangedHandler handler);
+ }
+
+ public interface AccessRightsChangedHandler extends EventHandler {
+ public void onAccessRightsChanged(AccessRightsChangedEvent event);
+ }
+
+ private static final Type<AccessRightsChangedHandler> TYPE = new Type<AccessRightsChangedHandler>();
+
+ public static void fire(HasHandlers source, cc.kune.core.shared.domain.utils.AccessRights previousRights, cc.kune.core.shared.domain.utils.AccessRights currentRights) {
+ source.fireEvent(new AccessRightsChangedEvent(previousRights, currentRights));
+ }
+
+ public static Type<AccessRightsChangedHandler> getType() {
+ return TYPE;
+ }
+
+ cc.kune.core.shared.domain.utils.AccessRights previousRights;
+ cc.kune.core.shared.domain.utils.AccessRights currentRights;
+
+ public AccessRightsChangedEvent(cc.kune.core.shared.domain.utils.AccessRights previousRights, cc.kune.core.shared.domain.utils.AccessRights currentRights) {
+ this.previousRights = previousRights;
+ this.currentRights = currentRights;
+ }
+
+ protected AccessRightsChangedEvent() {
+ // Possibly for serialization.
+ }
+
+ @Override
+ public Type<AccessRightsChangedHandler> getAssociatedType() {
+ return TYPE;
+ }
+
+ public cc.kune.core.shared.domain.utils.AccessRights getPreviousRights() {
+ return previousRights;
+ }
+
+ public cc.kune.core.shared.domain.utils.AccessRights getCurrentRights() {
+ return currentRights;
+ }
+
+ @Override
+ protected void dispatch(AccessRightsChangedHandler handler) {
+ handler.onAccessRightsChanged(this);
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ AccessRightsChangedEvent other = (AccessRightsChangedEvent) obj;
+ if (previousRights == null) {
+ if (other.previousRights != null)
+ return false;
+ } else if (!previousRights.equals(other.previousRights))
+ return false;
+ if (currentRights == null) {
+ if (other.currentRights != null)
+ return false;
+ } else if (!currentRights.equals(other.currentRights))
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ int hashCode = 23;
+ hashCode = (hashCode * 37) + (previousRights == null ? 1 : previousRights.hashCode());
+ hashCode = (hashCode * 37) + (currentRights == null ? 1 : currentRights.hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public String toString() {
+ return "AccessRightsChangedEvent["
+ + previousRights
+ + ","
+ + currentRights
+ + "]";
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/state/AccessRightsChangedEvent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -19,31 +19,35 @@
*/
package cc.kune.core.client.state;
+import cc.kune.core.client.state.StateChangedEvent.StateChangedHandler;
import cc.kune.core.shared.domain.utils.AccessRights;
-import com.calclab.suco.client.events.Listener2;
+import com.google.gwt.event.shared.EventBus;
+import com.google.inject.Inject;
public class AccessRightsClientManager {
- private final AccessRights previousRights;
+ private final EventBus eventBus;
+ private AccessRights previousRights;
- // private final Event2<AccessRights, AccessRights> onRightsChanged;
+ @Inject
+ public AccessRightsClientManager(final EventBus eventBus, final StateManager stateManager) {
+ this.eventBus = eventBus;
+ this.previousRights = null;
+ stateManager.onStateChanged(new StateChangedHandler() {
- public AccessRightsClientManager(final StateManager stateManager) {
- this.previousRights = null;
- // this.onRightsChanged = new Event2<AccessRights , AccessRights
- // >("onRightsChanged");
- // stateManager.onStateChanged(new Listener<StateAbstractDTO>() {
- // public void onEvent(final StateAbstractDTO newState) {
- // final AccessRights rights = newState.getGroupRights();
- // if (!rights.equals(previousRights)) {
- // onRightsChanged.fire(previousRights, rights);
- // previousRights = rights;
- // }
- // }
- // });
+ @Override
+ public void onStateChanged(final StateChangedEvent event) {
+ final AccessRights rights = event.getState().getGroupRights();
+ if (!rights.equals(previousRights)) {
+ AccessRightsChangedEvent.fire(eventBus, previousRights, rights);
+ previousRights = rights;
+ }
+
+ }
+ });
}
- public void onRightsChanged(final Listener2<AccessRights, AccessRights> listener) {
- // onRightsChanged.add(listener);
+ public void onRightsChanged(final AccessRightsChangedEvent.AccessRightsChangedHandler handler) {
+ eventBus.addHandler(AccessRightsChangedEvent.getType(), handler);
}
}
Added: trunk/src/main/java/cc/kune/core/public/images/unknown.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/public/images/unknown.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-10 18:28:58 UTC (rev 1244)
@@ -775,12 +775,56 @@
color: #FFF;
text-transform: lowercase;
padding-left: 10px;
+ float: left;
}
+.k-sn-adminsCountlabel,.k-sn-collabsCountlabel,.k-sn-pendingsCountlabel {
+ float: left;
+ padding-left: 5px;
+ color: #e0e0e0;
+}
+
.k-sn-adminslabel {
}
+.k-sn-mainpanel .k-basic-thumb {
+ float: left;
+}
+
+/*
+.k-sn-mainpanel .x-btn button {
+ text-decoration: underline;
+ white-space: nowrap;
+}
+*/
+.k-sn-mainpanel .x-btn button {
+ cursor: pointer;
+ font: 13px 'Ubuntu', arial;
+ padding: 2px;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ text-decoration: none;
+ vertical-align: middle;
+ background-color: #F2F2F2;
+ border: 2px gray solid;
+ height: 26px !important;
+ line-height: 2em !important;
+ padding-left: 25px !important;
+}
+
+.k-sn-mainpanel .x-btn button:hover {
+ border: 2px orange solid;
+ background: #f0f0f0;
+ color: #855585;
+}
+
+.k-sn-mainpanel .x-btn button:active {
+ border-top-color: #ffffff;
+ background: #ffffff;
+}
+
.k-sn-collabslabel {
}
@@ -789,6 +833,14 @@
}
+.k-sn-orphan-label {
+ padding: 10px;
+}
+
+.k-sn-novisible-label {
+ padding: 10px;
+}
+
.k-sn-adminspanel {
background-color: #a05a2c;
}
@@ -798,13 +850,17 @@
}
.k-sn-pendingspanel {
-
+ /* background-color: #a05a2c; */
}
.k-sn-adminsscroll,.k-sn-collabsscroll,.k-sn-pendingsscroll {
- padding-left: 10px;
+
}
+.k-sn-adminsflow,.k-sn-collabsflow,.k-sn-pendingsflow {
+ margin-left: 10px;
+}
+
.k-sn-adminsscroll {
}
@@ -814,7 +870,7 @@
}
.k-sn-pendingsscroll {
- margin: 5px;
+
}
.k-userconfirm-label {
@@ -823,9 +879,18 @@
}
.k-sn-deck {
- padding: 5px;
+
}
+.k-sn-bottomPanel {
+ padding: 0 10px;
+ float: right;
+}
+
+.k-sn-bottomPanel-actions {
+ width: 100%;
+}
+
.k-sn-novisible-label,.k-sn-orphan-label {
color: #FFF;
font-size: 16px;
Modified: trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.ui.xml 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.ui.xml 2011-02-10 18:28:58 UTC (rev 1244)
@@ -5,8 +5,8 @@
type='cc.kune.gspace.client.resources.WsArmorResources' />
<ui:style>
.frame {
- border: 0px;
- margin: 0px;
+ border: 0px;
+ margin: 0px;
}
</ui:style>
<g:DockLayoutPanel ui:field="mainpanel" styleName='{res.style.mainPanel}'
@@ -86,7 +86,7 @@
<g:east size="200.0">
<g:DockLayoutPanel unit="PX"
styleName="{res.style.entityTools}" ui:field="splitEast">
- <g:north size="190">
+ <g:north size="305">
<g:VerticalPanel width="100%"
ui:field="entityToolsNorth" styleName="{res.style.entityToolsNorth}"></g:VerticalPanel>
</g:north>
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -461,7 +461,7 @@
register(Singleton.class, new Factory<AccessRightsClientManager>(AccessRightsClientManager.class) {
@Override
public AccessRightsClientManager create() {
- return new AccessRightsClientManager(i(StateManager.class));
+ return null; // new AccessRightsClientManager(i(StateManager.class));
}
});
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -22,6 +22,7 @@
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
+import cc.kune.core.client.sn.actions.RolComparator;
import cc.kune.core.client.state.AccessRightsClientManager;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
@@ -29,7 +30,6 @@
import cc.kune.core.shared.dto.AccessRolDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
-import com.calclab.suco.client.events.Listener2;
import com.google.gwt.resources.client.ImageResource;
public abstract class RolAction extends AbstractExtendedAction {
@@ -54,12 +54,12 @@
return new UIStatus(newVisibility, newEnabled);
}
+ private boolean authNeed;
+ protected final I18nTranslationService i18n;
protected final Session session;
protected final StateManager stateManager;
- protected final I18nTranslationService i18n;
+ private boolean visibleForMembers;
private boolean visibleForNonMemb;
- private boolean visibleForMembers;
- private boolean authNeed;
public RolAction(final Session session, final StateManager stateManager,
final AccessRightsClientManager rightsManager, final I18nTranslationService i18n,
@@ -71,26 +71,29 @@
this.visibleForMembers = true;
this.visibleForNonMemb = true;
this.authNeed = false;
- rightsManager.onRightsChanged(new Listener2<AccessRights, AccessRights>() {
- public void onEvent(final AccessRights prevRights, final AccessRights newRights) {
- setStatus(refreshStatus(rolRequired, authNeed, session.isLogged(), visibleForMembers,
- visibleForNonMemb, newRights));
- }
-
- });
+ // rightsManager.onRightsChanged(new Listener2<AccessRights,
+ // AccessRights>() {
+ // public void onEvent(final AccessRights prevRights, final AccessRights
+ // newRights) {
+ // setStatus(refreshStatus(rolRequired, authNeed, session.isLogged(),
+ // visibleForMembers,
+ // visibleForNonMemb, newRights));
+ // }
+ //
+ // });
}
public void setMustBeAuthenticated(final boolean authNeed) {
this.authNeed = authNeed;
}
+ private void setStatus(final UIStatus refreshStatus) {
+ setEnabled(refreshStatus.isEnabled());
+ putValue(OldGuiActionDescrip.VISIBLE, refreshStatus.isVisible());
+ }
+
public void setVisible(final boolean forMembers, final boolean forNonMembers) {
this.visibleForMembers = forMembers;
this.visibleForNonMemb = forNonMembers;
}
-
- private void setStatus(final UIStatus refreshStatus) {
- setEnabled(refreshStatus.isEnabled());
- putValue(OldGuiActionDescrip.VISIBLE, refreshStatus.isVisible());
- }
}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -1,45 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.oldsn;
-
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.dto.AccessRolDTO;
-
-public final class RolComparator {
-
- public static boolean isEnabled(final AccessRolDTO rolRequired, final AccessRights rights) {
- switch (rolRequired) {
- case Administrator:
- return rights.isAdministrable();
- case Editor:
- return rights.isEditable();
- case Viewer:
- return rights.isVisible();
- }
- return false;
- }
-
- public static boolean isMember(final AccessRights newRights) {
- return newRights.isAdministrable() || newRights.isEditable();
- }
-
- private RolComparator() {
- }
-}
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-10 03:07:28 UTC (rev 1243)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-10 18:28:58 UTC (rev 1244)
@@ -23,8 +23,8 @@
import static org.junit.Assert.assertTrue;
import org.junit.Test;
-import org.ourproject.kune.workspace.client.oldsn.RolComparator;
+import cc.kune.core.client.sn.actions.RolComparator;
import cc.kune.core.shared.domain.utils.AccessRights;
import cc.kune.core.shared.dto.AccessRolDTO;
1
0
Author: vjrj_
Date: 2011-02-10 04:07:28 +0100 (Thu, 10 Feb 2011)
New Revision: 1243
Added:
trunk/src/main/java/cc/kune/common/client/actions/ActionCollection.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescProviderCollection.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescrip.java
trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java
trunk/src/main/java/cc/kune/common/client/utils/OnAcceptCallback.java
trunk/src/main/java/cc/kune/core/client/CoreParts.java
trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPanel.java
trunk/src/main/java/cc/kune/core/client/resources/new-chat.gif
trunk/src/main/java/cc/kune/core/client/services/
trunk/src/main/java/cc/kune/core/client/services/FileConstants.java
trunk/src/main/java/cc/kune/core/client/services/FileDownloadUtils.java
trunk/src/main/java/cc/kune/core/client/services/ImageDescriptor.java
trunk/src/main/java/cc/kune/core/client/services/ImageSize.java
trunk/src/main/java/cc/kune/core/client/services/ImageUtils.java
trunk/src/main/java/cc/kune/core/client/sn/
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml
trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java
trunk/src/main/java/cc/kune/core/client/sn/actions/
trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrableGroupWhenLoggedCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrablePersonWhenLoggedCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/GroupWhenLoggedCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsGroupCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsPersonCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/PersonWhenLoggedCondition.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java
trunk/src/main/java/cc/kune/gspace/public/kune-gspace.css
trunk/src/main/java/cc/ourproject/
trunk/src/main/java/cc/ourproject/kune/
trunk/src/main/java/cc/ourproject/kune/core/
trunk/src/main/java/cc/ourproject/kune/core/client/
trunk/src/main/java/cc/ourproject/kune/core/client/services/
trunk/src/main/java/org/ourproject/kune/platf/client/actions/OldAbstractAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldGuiActionDescrip.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldMenuItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipateAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/SocialNetworkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UIStatus.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UnjoinButtonAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UserActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/AddAsBuddieHeaderButton.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationToolbar.java
Removed:
trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java
trunk/src/main/java/cc/kune/core/client/notify/alerts/
trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/other/
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/
Modified:
trunk/script/css-update.sh
trunk/src/main/java/cc/kune/Kune.gwt.xml
trunk/src/main/java/cc/kune/chat/client/ChatClient.java
trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
trunk/src/main/java/cc/kune/client/KuneGinjector.java
trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java
trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java
trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java
trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java
trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java
trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java
trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
trunk/src/main/java/cc/kune/core/client/state/ContentProvider.java
trunk/src/main/java/cc/kune/core/client/state/ContentProviderDefault.java
trunk/src/main/java/cc/kune/core/client/state/HistoryWrapper.java
trunk/src/main/java/cc/kune/core/client/state/HistoryWrapperDefault.java
trunk/src/main/java/cc/kune/core/client/state/Session.java
trunk/src/main/java/cc/kune/core/client/state/SessionDefault.java
trunk/src/main/java/cc/kune/core/client/state/StateManager.java
trunk/src/main/java/cc/kune/core/client/state/StateManagerDefault.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java
trunk/src/main/java/cc/kune/core/public/ws.css
trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css
trunk/src/main/java/org/ourproject/kune/app/public/css/kune-new.css
trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientActions.java
trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientModule.java
trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientTool.java
trunk/src/main/java/org/ourproject/kune/blogs/client/BlogsMessages.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContent.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPanel.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPresenter.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentView.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewer.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPanel.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPresenter.java
trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerView.java
trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContext.java
trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContextPresenter.java
trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoom.java
trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPanel.java
trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPresenter.java
trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomView.java
trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientActions.java
trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientModule.java
trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocFolderContentPresenter.java
trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocumentViewerPresenter.java
trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientActions.java
trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientModule.java
trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientTool.java
trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryMessages.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContent.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPanel.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPresenter.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentView.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewer.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPanel.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPresenter.java
trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerView.java
trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContext.java
trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContextPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/InputMap.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java
trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientActions.java
trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientModule.java
trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientTool.java
trunk/src/main/java/org/ourproject/kune/wiki/client/WikiMessages.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContent.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPanel.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPresenter.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentView.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewer.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPanel.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPresenter.java
trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerView.java
trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContext.java
trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContextPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java
trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/basic.css
trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/docs.liquid.html
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
Log:
SN Refactorization
Modified: trunk/script/css-update.sh
===================================================================
--- trunk/script/css-update.sh 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/script/css-update.sh 2011-02-10 03:07:28 UTC (rev 1243)
@@ -15,3 +15,5 @@
cp src/main/java/cc/kune/common/public/kune-common.css target/kune-0.0.7/ws/
cp src/main/java/cc/kune/core/public/ws.css target/kune-0.0.7/ws/
cp src/main/java/cc/kune/core/public/ws.html target/kune-0.0.7/ws/
+cp src/main/webapp/templates/basic/basic.css target/kune-0.0.7/templates/basic/basic.css
+cp src/main/webapp/templates/basic/docs.liquid.html target/kune-0.0.7/templates/basic/
Modified: trunk/src/main/java/cc/kune/Kune.gwt.xml
===================================================================
--- trunk/src/main/java/cc/kune/Kune.gwt.xml 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/Kune.gwt.xml 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,9 +25,9 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<set-property name="gwt.logging.simpleRemoteHandler"
value="DISABLED" />
- <!-- Uncomment if you are enabling server side deobfuscation of StackTraces
- <set-property name="compiler.emulatedStack" value="true" /> <set-configuration-property
- name="compiler.emulatedStack.recordLineNumbers" value="true" /> <set-configuration-property
+ <!-- Uncomment if you are enabling server side deobfuscation of StackTraces
+ <set-property name="compiler.emulatedStack" value="true" /> <set-configuration-property
+ name="compiler.emulatedStack.recordLineNumbers" value="true" /> <set-configuration-property
name="compiler.emulatedStack.recordFileNames" value="true" /> -->
<!-- NOTE: this only compiles for chromium/safari ============= -->
<!--http://code.google.com/p/google-web-toolkit/issues/detail?id=42 -->
@@ -40,9 +40,10 @@
<set-configuration-property name="gin.ginjector"
value="cc.kune.client.KuneGinjector" />
<!-- Debugging =============================================== -->
- <!-- for add ensureDebugIds (debugId in UIBinder), remove/comment in production
+ <!-- for add ensureDebugIds (debugId in UIBinder), remove/comment in production
see UIObject.ensureDebugId()) -->
<inherits name="com.google.gwt.user.Debug" />
<!-- Entrypoint =============================================== -->
<entry-point class="cc.kune.client.KuneEntryPoint" />
+ <!-- <entry-point class="cc.kune.common.client.SampleEntryPoint" /> -->
</module>
Modified: trunk/src/main/java/cc/kune/chat/client/ChatClient.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatClient.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/chat/client/ChatClient.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,9 +25,11 @@
void addNewBuddie(String shortName);
+ void chat(String shortName);
+
void chat(XmppURI jid);
- boolean isBuddie(String localUserName);
+ boolean isBuddie(String shortName);
boolean isBuddie(XmppURI jid);
Modified: trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -189,10 +189,15 @@
@Override
public void addNewBuddie(final String shortName) {
- roster.requestAddItem(XmppURI.jid(shortName + "@" + chatOptions.domain), shortName, "");
+ roster.requestAddItem(uriFrom(shortName), shortName, "");
}
@Override
+ public void chat(final String shortName) {
+ chat(uriFrom(shortName));
+ }
+
+ @Override
public void chat(final XmppURI jid) {
chatManager.open(jid);
}
@@ -290,8 +295,8 @@
}
@Override
- public boolean isBuddie(final String localUserName) {
- return isBuddie(XmppURI.jid(localUserName + "@" + chatOptions.domain));
+ public boolean isBuddie(final String shortName) {
+ return isBuddie(uriFrom(shortName));
}
@Override
@@ -375,4 +380,8 @@
private void toggleShowDialog() {
showDialog(popup == null ? true : !popup.isShowing());
}
+
+ private XmppURI uriFrom(final String shortName) {
+ return XmppURI.jid(shortName + "@" + chatOptions.domain);
+ }
}
Modified: trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -64,18 +64,19 @@
public void onModuleLoadCont() {
DelayedBindRegistry.bind(ginjector);
AsyncCallbackSimple.init(ginjector.getErrorHandler());
- NotifyUser.init(ginjector.getEventBus());
+ ginjector.getEventLogger();
+ NotifyUser.init(ginjector.getEventBus(), ginjector.getI18n());
ginjector.getCorePresenter().get().forceReveal();
ginjector.getStateManager();
ginjector.getSiteTokenListeners();
- ginjector.getEventLogger();
- ginjector.getI18n();
ginjector.getGxtGuiProvider();
ginjector.getUserNotifierPresenter();
ginjector.getGlobalShortcutRegister();
ginjector.getSpinerPresenter();
+ ginjector.getGroupMembersPresenter();
ginjector.getSiteLogoPresenter();
ginjector.getSpacesTabPresenter();
ginjector.getChatClient();
+ ginjector.getCoreParts();
}
}
Modified: trunk/src/main/java/cc/kune/client/KuneGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -26,17 +26,20 @@
import cc.kune.common.client.actions.ui.bind.GuiProvider;
import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
import cc.kune.core.client.CoreGinModule;
+import cc.kune.core.client.CoreParts;
import cc.kune.core.client.auth.RegisterPresenter;
import cc.kune.core.client.auth.SignInPresenter;
import cc.kune.core.client.cookies.CookiesManager;
import cc.kune.core.client.errors.ErrorHandler;
import cc.kune.core.client.groups.newgroup.NewGroupPresenter;
import cc.kune.core.client.logs.EventBusWithLogging;
+import cc.kune.core.client.notify.confirm.UserConfirmPresenter;
import cc.kune.core.client.notify.msgs.UserNotifierPresenter;
import cc.kune.core.client.notify.spiner.SpinerPresenter;
import cc.kune.core.client.sitebar.SitebarActionsPresenter;
import cc.kune.core.client.sitebar.logo.SiteLogoPresenter;
import cc.kune.core.client.sitebar.spaces.SpaceSelectorPresenter;
+import cc.kune.core.client.sn.GroupMembersPresenter;
import cc.kune.core.client.state.SiteTokenListeners;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.client.ws.CorePresenter;
@@ -63,6 +66,8 @@
AsyncProvider<CookiesManager> getCookiesManager();
+ CoreParts getCoreParts();
+
Provider<CorePresenter> getCorePresenter();
ErrorHandler getErrorHandler();
@@ -73,6 +78,8 @@
GlobalShortcutRegister getGlobalShortcutRegister();
+ AsyncProvider<GroupMembersPresenter> getGroupMembersPresenter();
+
GuiProvider getGuiProvider();
GwtGuiProvider getGwtGuiProvider();
@@ -103,5 +110,7 @@
StateManager getStateManager();
+ AsyncProvider<UserConfirmPresenter> getUserConfirmPresenter();
+
AsyncProvider<UserNotifierPresenter> getUserNotifierPresenter();
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -38,10 +38,14 @@
import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor.Type;
import cc.kune.common.client.notify.SimpleUserMessage;
import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
+import cc.kune.common.client.ui.BasicThumb;
import cc.kune.common.client.ui.IconLabel;
+import com.extjs.gxt.ui.client.widget.LayoutContainer;
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.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
@@ -139,6 +143,21 @@
panel.add(view);
panel.add(simpleIconLabel);
+ final BasicThumb thumb = new BasicThumb("http://www.truth-out.org/sites/all/themes/truth/images/logo.gif", 60,
+ "fooo", 5, false, new ClickHandler() {
+
+ @Override
+ public void onClick(final ClickEvent event) {
+ userMsg.show("Testing");
+ }
+ });
+ thumb.setTooltip("kkkkkkK");
+ thumb.setOnOverLabel(true);
+ final LayoutContainer layout = new LayoutContainer();
+ // final QuickTip quickTip = new QuickTip(layout);
+ // quickTip.setInterceptTitles(true);
+ layout.add(thumb);
+ RootPanel.get().add(layout);
RootPanel.get().add(view);
}
}
Added: trunk/src/main/java/cc/kune/common/client/actions/ActionCollection.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ActionCollection.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/actions/ActionCollection.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,9 @@
+package cc.kune.common.client.actions;
+
+import java.util.ArrayList;
+
+public class ActionCollection extends ArrayList<AbstractAction> {
+
+ private static final long serialVersionUID = -3308296009308246636L;
+
+}
Property changes on: trunk/src/main/java/cc/kune/common/client/actions/ActionCollection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,8 +24,8 @@
import cc.kune.common.client.actions.KeyStroke;
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.ui.IconLabel;
import com.google.gwt.event.dom.client.ClickEvent;
@@ -56,7 +56,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
iconLabel = new IconLabel("");
if (enableTongle) {
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,7 +24,7 @@
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
import cc.kune.common.client.actions.ui.descrip.Position;
@@ -45,7 +45,7 @@
public AbstractGwtMenuGui() {
}
- public AbstractGwtMenuGui(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGwtMenuGui(final GuiActionDescrip descriptor) {
super(descriptor);
}
@@ -72,7 +72,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.create(descriptor);
menu = new MenuBar(true);
menu.setAnimationEnabled(true);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,7 +27,7 @@
import cc.kune.common.client.actions.PropertyChangeListener;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuCheckItemDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuRadioItemDescriptor;
@@ -64,7 +64,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
iconLabel = new IconLabel("");
iconLabel.addTextStyleName("oc-ico-pad");
@@ -102,7 +102,7 @@
if (menu == null) {
throw new UIException("To add a menu item you need to add the menu before. Item: " + descriptor);
}
- if (position == AbstractGuiActionDescrip.NO_POSITION) {
+ if (position == GuiActionDescrip.NO_POSITION) {
menu.add(item);
} else {
menu.insert(position, item);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,7 +25,7 @@
import cc.kune.common.client.actions.KeyStroke;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.IconLabelDescriptor;
import cc.kune.common.client.ui.IconLabel;
@@ -49,7 +49,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
iconLabel = new IconLabel("");
descriptor.putValue(ParentWidget.PARENT_UI, this);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
import cc.kune.common.client.ui.IconLabel;
@@ -44,7 +44,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
descriptor.putValue(ParentWidget.PARENT_UI, this);
// Standalone menus are menus without and associated button in a toolbar
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,13 +21,13 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.errors.UIException;
public class GwtMenuSeparatorGui extends AbstractGuiItem {
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final AbstractGwtMenuGui menu = ((AbstractGwtMenuGui) descriptor.getParent().getValue(ParentWidget.PARENT_UI));
if (menu == null) {
throw new UIException("To add a menu separator you need to add the menu before. Item: " + descriptor);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,6 +22,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.ui.IconLabel;
import com.google.gwt.user.client.ui.MenuItem;
@@ -39,7 +40,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
item = new MenuItem("", menu);
iconLabel = new IconLabel("");
@@ -47,7 +48,7 @@
configureItemFromProperties();
final AbstractGwtMenuGui parentMenu = ((AbstractGwtMenuGui) descriptor.getParent().getValue(PARENT_UI));
final int position = descriptor.getPosition();
- if (position == AbstractGuiActionDescrip.NO_POSITION) {
+ if (position == GuiActionDescrip.NO_POSITION) {
parentMenu.add(item);
} else {
parentMenu.insert(position, item);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,6 +22,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import com.google.gwt.user.client.ui.UIObject;
@@ -55,7 +56,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
toolbar = new GwtComplexToolbar();
initWidget(toolbar);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor;
import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor.Type;
import cc.kune.common.client.errors.UIException;
@@ -29,7 +29,7 @@
public class GwtToolbarSeparatorGui extends AbstractGuiItem {
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final GwtToolbarGui toolbar = ((GwtToolbarGui) descriptor.getParent().getValue(ParentWidget.PARENT_UI));
if (toolbar == null) {
throw new UIException("To add a toolbar separator you need to add the toolbar before. Item: " + descriptor);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,8 +25,8 @@
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.PushButtonDescriptor;
import com.extjs.gxt.ui.client.Style.ButtonScale;
@@ -54,7 +54,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
descriptor.putValue(ParentWidget.PARENT_UI, this);
if (descriptor instanceof PushButtonDescriptor) {
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,7 +24,7 @@
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
import cc.kune.common.client.actions.ui.descrip.Position;
@@ -41,7 +41,7 @@
public AbstractGxtMenuGui() {
}
- public AbstractGxtMenuGui(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGxtMenuGui(final GuiActionDescrip descriptor) {
super(descriptor);
}
@@ -69,7 +69,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
super.create(descriptor);
menu = new Menu();
@@ -85,8 +85,7 @@
@Override
public void propertyChange(final PropertyChangeEvent event) {
if (event.getPropertyName().equals(MenuDescriptor.MENU_SHOW)) {
- final String id = (String) descriptor.getValue(MenuDescriptor.MENU_SHOW_NEAR_TO);
- show(id);
+ show(descriptor.getValue(MenuDescriptor.MENU_SHOW_NEAR_TO));
}
}
});
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,7 +27,7 @@
import cc.kune.common.client.actions.PropertyChangeListener;
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuCheckItemDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuRadioItemDescriptor;
@@ -65,7 +65,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
if (descriptor instanceof MenuRadioItemDescriptor) {
final CheckMenuItem checkItem = createCheckItem((MenuItemDescriptor) descriptor);
@@ -89,9 +89,18 @@
public void componentSelected(final MenuEvent ce) {
final AbstractAction action = descriptor.getAction();
if (action != null) {
- action.actionPerformed(new ActionEvent(item, Event.getCurrentEvent()));
+
+ action.actionPerformed(new ActionEvent(getItemObjectOfAction(descriptor), Event.getCurrentEvent()));
}
}
+
+ private Object getItemObjectOfAction(final GuiActionDescrip descriptor) {
+ // If the action is associated with a item (like a Group, a
+ // group shortname, a username, etc) we pass this item to
+ // the action, if not we only pass the menuitem
+ return descriptor.hasItem() ? descriptor.getItem()
+ : descriptor.isChild() ? descriptor.getParent().getItem() : item;
+ }
});
child = item;
super.create(descriptor);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,7 +23,7 @@
import cc.kune.common.client.actions.PropertyChangeListener;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
import com.extjs.gxt.ui.client.event.ButtonEvent;
@@ -71,7 +71,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
descriptor.putValue(ParentWidget.PARENT_UI, this);
// Standalone menus are menus without and associated button in a
@@ -143,4 +143,9 @@
button.setVisible(visible);
}
}
+
+ @Override
+ public boolean shouldBeAdded() {
+ return notStandAlone;
+ }
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import com.google.gwt.user.client.ui.UIObject;
@@ -33,7 +33,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.create(descriptor);
final GxtMenuGui menu = (GxtMenuGui) parent;
menu.addSeparator();
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
import cc.kune.common.client.actions.PropertyChangeEvent;
import cc.kune.common.client.actions.PropertyChangeListener;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.PushButtonDescriptor;
public class GxtPushButtonGui extends GxtButtonGui {
@@ -32,7 +32,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final AbstractGuiItem item = super.create(descriptor);
final PushButtonDescriptor btn = (PushButtonDescriptor) descriptor;
setPressed(btn.isPushed());
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;
@@ -33,19 +33,19 @@
super();
}
- public GxtSubMenuGui(final AbstractGuiActionDescrip descriptor) {
+ public GxtSubMenuGui(final GuiActionDescrip descriptor) {
super(descriptor);
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.create(descriptor);
item = new MenuItem();
item.setSubMenu(menu);
final AbstractGxtMenuGui parentMenu = ((AbstractGxtMenuGui) descriptor.getParent().getValue(
ParentWidget.PARENT_UI));
final int position = descriptor.getPosition();
- if (position == AbstractGuiActionDescrip.NO_POSITION) {
+ if (position == GuiActionDescrip.NO_POSITION) {
parentMenu.add(item);
} else {
parentMenu.insert(position, item);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
@@ -35,7 +35,7 @@
super();
}
- public GxtToolbarGui(final AbstractGuiActionDescrip descriptor) {
+ public GxtToolbarGui(final GuiActionDescrip descriptor) {
super(descriptor);
}
@@ -63,7 +63,7 @@
// }
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
super.descriptor = descriptor;
toolbar = new ToolBar();
initWidget(toolbar);
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor;
import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor.Type;
@@ -32,7 +32,7 @@
public class GxtToolbarSeparatorGui extends AbstractChildGuiItem {
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final GxtToolbarGui toolbar = (GxtToolbarGui) parent;
final Type type = ((ToolbarSeparatorDescriptor) descriptor).getSeparatorType();
switch (type) {
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,23 +19,23 @@
*/
package cc.kune.common.client.actions.ui;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
public abstract class AbstractActionExtensiblePresenter implements IsActionExtensible {
@Override
- public abstract void addAction(final AbstractGuiActionDescrip descriptor);
+ public abstract void addAction(final GuiActionDescrip descriptor);
public void addActionCollection(final GuiActionDescCollection descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
@Override
- public void addActions(final AbstractGuiActionDescrip... descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ public void addActions(final GuiActionDescrip... descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,7 +19,7 @@
*/
package cc.kune.common.client.actions.ui;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.errors.UIException;
import com.google.gwt.user.client.ui.UIObject;
@@ -33,7 +33,7 @@
super();
}
- public AbstractChildGuiItem(final AbstractGuiActionDescrip descriptor) {
+ public AbstractChildGuiItem(final GuiActionDescrip descriptor) {
super(descriptor);
}
@@ -45,7 +45,7 @@
}
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final int position = descriptor.getPosition();
if (descriptor.isChild()) {
// A menu item is a child, a toolbar separator, also. A button can
@@ -57,7 +57,7 @@
if (child != null) {
// Sometimes (menu/toolbar separators), there is no Widget to
// add/insert
- if (position == AbstractGuiActionDescrip.NO_POSITION) {
+ if (position == GuiActionDescrip.NO_POSITION) {
parent.add(child);
} else {
parent.insert(position, child);
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,8 +23,8 @@
import cc.kune.common.client.actions.ui.bind.GuiBinding;
import cc.kune.common.client.actions.ui.bind.GuiProvider;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.errors.UIException;
import com.google.gwt.user.client.ui.Composite;
@@ -38,41 +38,47 @@
this.bindings = bindings;
}
- public void add(final AbstractGuiActionDescrip... descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ public void add(final GuiActionDescCollection descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
+ public void add(final GuiActionDescrip... descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
+ addAction(descriptor);
+ }
+ }
+
@Override
- public void addAction(final AbstractGuiActionDescrip descriptor) {
+ public void addAction(final GuiActionDescrip descriptor) {
getGuiItems().add(descriptor);
beforeAddWidget(descriptor);
}
@Override
- public void addActions(AbstractGuiActionDescrip... descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ public void addActions(final GuiActionDescCollection descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
@Override
- public void addActions(final GuiActionDescCollection descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ public void addActions(final GuiActionDescrip... descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
- public void addActions(final List<AbstractGuiActionDescrip> descriptors) {
- for (final AbstractGuiActionDescrip descriptor : descriptors) {
+ public void addActions(final List<GuiActionDescrip> descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
protected abstract void addWidget(AbstractGuiItem item);
- protected void beforeAddWidget(final AbstractGuiActionDescrip descrip) {
+ protected void beforeAddWidget(final GuiActionDescrip descrip) {
if (descrip.mustBeAdded()) {
final GuiBinding binding = bindings.get(descrip.getType());
if (binding == null) {
@@ -82,7 +88,7 @@
final AbstractGuiItem item = binding.create(descrip);
// Log.debug("Adding: " + descrip);
if (binding.shouldBeAdded()) {
- if (descrip.getPosition() == AbstractGuiActionDescrip.NO_POSITION) {
+ if (descrip.getPosition() == GuiActionDescrip.NO_POSITION) {
addWidget(item);
} else {
insertWidget(item, descrip.getPosition());
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,7 +24,7 @@
import cc.kune.common.client.actions.PropertyChangeEvent;
import cc.kune.common.client.actions.PropertyChangeListener;
import cc.kune.common.client.actions.ui.bind.GuiBinding;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.errors.NotImplementedException;
import cc.kune.common.client.utils.TextUtils;
import cc.kune.core.client.resources.icons.IconConstants;
@@ -34,13 +34,13 @@
public abstract class AbstractGuiItem extends Composite implements GuiBinding {
- protected AbstractGuiActionDescrip descriptor;
+ protected GuiActionDescrip descriptor;
public AbstractGuiItem() {
super();
}
- public AbstractGuiItem(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem(final GuiActionDescrip descriptor) {
super();
this.descriptor = descriptor;
}
@@ -74,12 +74,12 @@
setToolTipText((String) (descriptor.getValue(Action.SHORT_DESCRIPTION)));
setIcon(descriptor.getValue(Action.SMALL_ICON));
setEnabled((Boolean) descriptor.getValue(AbstractAction.ENABLED));
- setVisible((Boolean) descriptor.getValue(AbstractGuiActionDescrip.VISIBLE));
- setStyles((String) descriptor.getValue(AbstractGuiActionDescrip.STYLES));
+ setVisible((Boolean) descriptor.getValue(GuiActionDescrip.VISIBLE));
+ setStyles((String) descriptor.getValue(GuiActionDescrip.STYLES));
}
@Override
- public abstract AbstractGuiItem create(final AbstractGuiActionDescrip descriptor);
+ public abstract AbstractGuiItem create(final GuiActionDescrip descriptor);
private PropertyChangeListener createActionPropertyChangeListener() {
return new PropertyChangeListener() {
@@ -94,9 +94,9 @@
setIcon(newValue);
} else if (event.getPropertyName().equals(Action.SHORT_DESCRIPTION)) {
setToolTipText((String) newValue);
- } else if (event.getPropertyName().equals(AbstractGuiActionDescrip.VISIBLE)) {
+ } else if (event.getPropertyName().equals(GuiActionDescrip.VISIBLE)) {
setVisible((Boolean) newValue);
- } else if (event.getPropertyName().equals(AbstractGuiActionDescrip.STYLES)) {
+ } else if (event.getPropertyName().equals(GuiActionDescrip.STYLES)) {
setStyles((String) newValue);
}
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,12 +19,12 @@
*/
package cc.kune.common.client.actions.ui;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import com.google.gwt.user.client.ui.IsWidget;
public interface ActionExtensibleView extends IsWidget {
- void addAction(AbstractGuiActionDescrip descriptor);
+ void addAction(GuiActionDescrip descriptor);
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -40,6 +40,10 @@
bar.add(item);
}
+ public void clear() {
+ bar.clear();
+ }
+
@Override
protected void insertWidget(final AbstractGuiItem item, final int position) {
final int count = bar.getWidgetCount();
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,8 +19,8 @@
*/
package cc.kune.common.client.actions.ui;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
public interface IsActionExtensible {
@@ -30,22 +30,22 @@
* @param action
* the action
*/
- void addAction(AbstractGuiActionDescrip action);
+ void addAction(GuiActionDescrip action);
/**
* Adds some action descriptions
*
- * @param action
- * the action
+ * @param actions
+ * the actions
*/
- void addActions(AbstractGuiActionDescrip... actions);
+ void addActions(GuiActionDescCollection actions);
/**
* Adds some action descriptions
*
- * @param actions
- * the actions
+ * @param action
+ * the action
*/
- void addActions(GuiActionDescCollection actions);
+ void addActions(GuiActionDescrip... actions);
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,12 +20,17 @@
package cc.kune.common.client.actions.ui.bind;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
public abstract class AbstractGuiBinding implements GuiBinding {
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) { // NOPMD by vjrj on 18/01/11 0:47
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) { // NOPMD
+ // by
+ // vjrj
+ // on
+ // 18/01/11
+ // 0:47
return null;
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,11 +20,11 @@
package cc.kune.common.client.actions.ui.bind;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
public interface GuiBinding {
- AbstractGuiItem create(AbstractGuiActionDescrip descriptor);
+ AbstractGuiItem create(GuiActionDescrip descriptor);
boolean shouldBeAdded();
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import cc.kune.common.client.actions.ui.AbstractGuiItem;
import cc.kune.common.client.actions.ui.ParentWidget;
-import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
import cc.kune.common.client.errors.UIException;
import com.google.gwt.user.client.ui.UIObject;
@@ -32,7 +32,7 @@
protected ParentWidget parent;
@Override
- public AbstractGuiItem create(final AbstractGuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final GuiActionDescrip descriptor) {
final int position = descriptor.getPosition();
if (descriptor.isChild()) {
// A menu item is a child, a toolbar separator, also. A button can
@@ -44,7 +44,7 @@
if (child != null) {
// Sometimes (menu/toolbar separators), there is no Widget to
// add/insert
- if (position == AbstractGuiActionDescrip.NO_POSITION) {
+ if (position == GuiActionDescrip.NO_POSITION) {
parent.add(child);
} else {
parent.insert(position, child);
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,16 +27,8 @@
/**
* The Class AbstractUIActionDescriptor.
*/
-public abstract class AbstractGuiActionDescrip extends ChangeableObject {
+public abstract class AbstractGuiActionDescrip extends ChangeableObject implements GuiActionDescrip {
- protected static final AbstractGuiActionDescrip NO_PARENT = new NoParentGuiActionDescriptor();
- public static final int NO_POSITION = -1;
- /**
- * Coma separated, styles of the Gui item
- */
- public static final String STYLES = "stylesprop";
- public static final String VISIBLE = "visibleprop";
-
/** The action. */
private final AbstractAction action;
@@ -48,7 +40,7 @@
/** The item location. */
private String location;
- protected AbstractGuiActionDescrip parent = NO_PARENT;
+ protected GuiActionDescrip parent = NO_PARENT;
/** The position where the item will be inserted. */
private int position;
@@ -66,33 +58,44 @@
parent = NO_PARENT;
}
+ @Override
public void fire(final ActionEvent event) {
action.actionPerformed(event);
}
+ @Override
public AbstractAction getAction() {
return action;
}
+ @Override
public GuiAddCondition getAddCondition() {
return addCondition;
}
+ @Override
public String getId() {
return id;
}
+ @Override
+ public Object getItem() {
+ return getValue(ITEM);
+ }
+
/**
* Gets the location, a string used to group actions with locations (top
* bar, bottom bar, user bar...).
*
* @return the location
*/
+ @Override
public String getLocation() {
return location;
}
- public AbstractGuiActionDescrip getParent() {
+ @Override
+ public GuiActionDescrip getParent() {
return parent;
}
@@ -101,10 +104,12 @@
*
* @return the position
*/
+ @Override
public int getPosition() {
return position;
}
+ @Override
public abstract Class<?> getType();
@Override
@@ -120,38 +125,55 @@
}
}
+ @Override
+ public boolean hasItem() {
+ return getValue(ITEM) != null;
+ }
+
+ @Override
public boolean isChild() {
return !parent.equals(NO_PARENT);
}
+ @Override
public boolean isEnabled() {
return (Boolean) getValue(Action.ENABLED);
}
+ @Override
public boolean isVisible() {
return (Boolean) getValue(VISIBLE);
}
+ @Override
public boolean mustBeAdded() {
boolean result = false;
if (addCondition != null) {
- result = addCondition.mustBeAdded();
+ result = addCondition.mustBeAdded(this);
}
return result;
}
+ @Override
public void setAddCondition(final GuiAddCondition addCondition) {
this.addCondition = addCondition;
}
+ @Override
public void setEnabled(final boolean enabled) {
super.putValue(Action.ENABLED, enabled);
}
+ @Override
public void setId(final String id) {
this.id = id;
}
+ @Override
+ public void setItem(final Object object) {
+ putValue(ITEM, object);
+ }
+
/**
* If we have several toolbars, we can group with the "location" string key
* actions that must be in the same location (ex: top bar, bottom bar, and
@@ -160,11 +182,13 @@
* @param location
* the new location
*/
+ @Override
public void setLocation(final String location) {
this.location = location;
}
- public void setParent(final AbstractGuiActionDescrip parent) {
+ @Override
+ public void setParent(final GuiActionDescrip parent) {
this.parent = parent;
}
@@ -175,14 +199,17 @@
* @param position
* the new position
*/
+ @Override
public void setPosition(final int position) {
this.position = position;
}
+ @Override
public void setStyles(final String styles) {
putValue(STYLES, styles);
}
+ @Override
public void setVisible(final boolean visible) {
putValue(VISIBLE, visible);
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,14 +21,13 @@
import java.util.ArrayList;
-
// @PMD:REVIEWED:AtLeastOneConstructor: by vjrj on 26/05/09 12:31
-public class GuiActionDescCollection extends ArrayList<AbstractGuiActionDescrip> {
+public class GuiActionDescCollection extends ArrayList<GuiActionDescrip> {
private static final long serialVersionUID = 6759723760404227737L;
- public void add(final AbstractGuiActionDescrip... descriptors) {
- for (AbstractGuiActionDescrip descriptor : descriptors) {
+ public void add(final GuiActionDescrip... descriptors) {
+ for (final GuiActionDescrip descriptor : descriptors) {
super.add(descriptor);
}
}
Added: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescProviderCollection.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescProviderCollection.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescProviderCollection.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,37 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.common.client.actions.ui.descrip;
+
+import java.util.ArrayList;
+
+import com.google.inject.Provider;
+
+@Deprecated
+public class GuiActionDescProviderCollection extends ArrayList<Provider<GuiActionDescrip>> {
+
+ private static final long serialVersionUID = -7933642706229301169L;
+
+ public void add(final Provider<GuiActionDescrip>... descriptors) {
+ for (final Provider<GuiActionDescrip> descriptor : descriptors) {
+ super.add(descriptor);
+ }
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescProviderCollection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescrip.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescrip.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescrip.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,85 @@
+package cc.kune.common.client.actions.ui.descrip;
+
+import cc.kune.common.client.actions.AbstractAction;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.PropertyChangeListener;
+
+public interface GuiActionDescrip {
+
+ /**
+ * {@link #ITEM} is used to associate a {@link #AbstractGuiActionDescrip}
+ * with an object like groups, group names, users, and so on, and used to
+ * execute actions with this item as parameter
+ */
+ public static final String ITEM = "item";
+
+ public static final AbstractGuiActionDescrip NO_PARENT = new NoParentGuiActionDescriptor();
+
+ public static final int NO_POSITION = -1;
+
+ /**
+ * Coma separated, styles of the Gui item
+ */
+ public static final String STYLES = "stylesprop";
+
+ public static final String VISIBLE = "visibleprop";
+
+ void addPropertyChangeListener(final PropertyChangeListener listener);
+
+ void fire(final ActionEvent event);
+
+ AbstractAction getAction();
+
+ GuiAddCondition getAddCondition();
+
+ String getId();
+
+ Object getItem();
+
+ Object[] getKeys();
+
+ String getLocation();
+
+ GuiActionDescrip getParent();
+
+ int getPosition();
+
+ PropertyChangeListener[] getPropertyChangeListeners();
+
+ Class<?> getType();
+
+ Object getValue(final String key);
+
+ boolean hasItem();
+
+ boolean isChild();
+
+ boolean isEnabled();
+
+ boolean isVisible();
+
+ boolean mustBeAdded();
+
+ public void putValue(final String key, final Object value);
+
+ void removePropertyChangeListener(final PropertyChangeListener listener);
+
+ void setAddCondition(final GuiAddCondition addCondition);
+
+ void setEnabled(final boolean enabled);
+
+ void setId(final String id);
+
+ void setItem(final Object object);
+
+ void setLocation(final String location);
+
+ void setParent(final GuiActionDescrip parent);
+
+ void setPosition(final int position);
+
+ void setStyles(final String styles);
+
+ void setVisible(final boolean visible);
+
+}
Property changes on: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescrip.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,8 +19,9 @@
*/
package cc.kune.common.client.actions.ui.descrip;
+
public interface GuiAddCondition {
- boolean mustBeAdded();
+ boolean mustBeAdded(GuiActionDescrip descript);
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,8 @@
public class GuiAddConditionAdapter implements GuiAddCondition {
- public boolean mustBeAdded() {
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descrip) {
return true;
}
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -43,7 +43,7 @@
this(NO_PARENT, action);
}
- public MenuDescriptor(final AbstractGuiActionDescrip parent, final AbstractAction action) {
+ public MenuDescriptor(final GuiActionDescrip parent, final AbstractAction action) {
super(action);
setParent(parent);
putValue(MENU_HIDE, false);
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,13 +20,13 @@
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
-import cc.kune.common.client.errors.UIException;
+import cc.kune.core.client.logs.Log;
public class MenuItemDescriptor extends AbstractGuiActionDescrip {
public MenuItemDescriptor(final AbstractAction action) {
super(action);
- throw new UIException("You must define a menu item with its parent menu");
+ Log.debug("You must define a menu item with its parent menu");
}
public MenuItemDescriptor(final MenuDescriptor parent, final AbstractAction action) {
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -34,7 +34,7 @@
this(NO_PARENT, action);
}
- public SubMenuDescriptor(final AbstractGuiActionDescrip parent, final AbstractAction action) {
+ public SubMenuDescriptor(final GuiActionDescrip parent, final AbstractAction action) {
super(action);
setParent(parent);
putValue(MENU_HIDE, false);
Deleted: trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,137 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.common.client.noti;
-
-import com.google.gwt.event.shared.EventHandler;
-import com.google.gwt.event.shared.GwtEvent;
-import com.google.gwt.event.shared.HandlerRegistration;
-import com.google.gwt.event.shared.HasHandlers;
-
-public class AlertEvent extends GwtEvent<AlertEvent.AlertHandler> {
-
- public interface HasAlertHandlers extends HasHandlers {
- HandlerRegistration addAlertHandler(AlertHandler handler);
- }
-
- public interface AlertHandler extends EventHandler {
- public void onAlert(AlertEvent event);
- }
-
- private static final Type<AlertHandler> TYPE = new Type<AlertHandler>();
-
- public static void fire(HasHandlers source, java.lang.String title, java.lang.String message, cc.kune.common.client.utils.SimpleCallback onOk) {
- source.fireEvent(new AlertEvent(title, message, onOk));
- }
-
- public static void fire(HasHandlers source, java.lang.String message) {
- source.fireEvent(new AlertEvent(message));
- }
-
- public static Type<AlertHandler> getType() {
- return TYPE;
- }
-
- java.lang.String title;
- java.lang.String message;
- cc.kune.common.client.utils.SimpleCallback onOk;
-
- public AlertEvent(java.lang.String title, java.lang.String message, cc.kune.common.client.utils.SimpleCallback onOk) {
- this.title = title;
- this.message = message;
- this.onOk = onOk;
- }
-
- public AlertEvent(java.lang.String message) {
- this.message = message;
- }
-
- protected AlertEvent() {
- // Possibly for serialization.
- }
-
- @Override
- public Type<AlertHandler> getAssociatedType() {
- return TYPE;
- }
-
- public java.lang.String getTitle() {
- return title;
- }
-
- public java.lang.String getMessage() {
- return message;
- }
-
- public cc.kune.common.client.utils.SimpleCallback getOnOk() {
- return onOk;
- }
-
- @Override
- protected void dispatch(AlertHandler handler) {
- handler.onAlert(this);
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- AlertEvent other = (AlertEvent) obj;
- if (title == null) {
- if (other.title != null)
- return false;
- } else if (!title.equals(other.title))
- return false;
- if (message == null) {
- if (other.message != null)
- return false;
- } else if (!message.equals(other.message))
- return false;
- if (onOk == null) {
- if (other.onOk != null)
- return false;
- } else if (!onOk.equals(other.onOk))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- int hashCode = 23;
- hashCode = (hashCode * 37) + (title == null ? 1 : title.hashCode());
- hashCode = (hashCode * 37) + (message == null ? 1 : message.hashCode());
- hashCode = (hashCode * 37) + (onOk == null ? 1 : onOk.hashCode());
- return hashCode;
- }
-
- @Override
- public String toString() {
- return "AlertEvent["
- + title
- + ","
- + message
- + ","
- + onOk
- + "]";
- }
-}
Modified: trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,184 +24,191 @@
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.HasHandlers;
-public class ConfirmAskEvent extends GwtEvent<ConfirmAskEvent.ConfirmAskHandler> {
+public class ConfirmAskEvent extends GwtEvent<ConfirmAskEvent.ConfirmAskHandler> {
- public interface HasConfirmAskHandlers extends HasHandlers {
- HandlerRegistration addConfirmAskHandler(ConfirmAskHandler handler);
- }
+ public interface ConfirmAskHandler extends EventHandler {
+ public void onConfirmAsk(ConfirmAskEvent event);
+ }
- public interface ConfirmAskHandler extends EventHandler {
- public void onConfirmAsk(ConfirmAskEvent event);
- }
+ public interface HasConfirmAskHandlers extends HasHandlers {
+ HandlerRegistration addConfirmAskHandler(ConfirmAskHandler handler);
+ }
- private static final Type<ConfirmAskHandler> TYPE = new Type<ConfirmAskHandler>();
+ private static final Type<ConfirmAskHandler> TYPE = new Type<ConfirmAskHandler>();
- public static void fire(HasHandlers source, java.lang.String title, java.lang.String message, java.lang.String acceptBtnMsg, java.lang.String cancelBtnMsg, java.lang.String acceptBtnTooltip, java.lang.String cancelBtnTooltip, cc.kune.common.client.utils.SimpleCallback onAccept, cc.kune.common.client.utils.SimpleCallback onCancel) {
- source.fireEvent(new ConfirmAskEvent(title, message, acceptBtnMsg, cancelBtnMsg, acceptBtnTooltip, cancelBtnTooltip, onAccept, onCancel));
- }
+ public static void fire(final HasHandlers source, final java.lang.String message) {
+ source.fireEvent(new ConfirmAskEvent(message));
+ }
- public static void fire(HasHandlers source, java.lang.String message) {
- source.fireEvent(new ConfirmAskEvent(message));
- }
+ public static void fire(final HasHandlers source, final java.lang.String title, final java.lang.String message,
+ final java.lang.String acceptBtnMsg, final java.lang.String cancelBtnMsg,
+ final java.lang.String acceptBtnTooltip, final java.lang.String cancelBtnTooltip,
+ final cc.kune.common.client.utils.SimpleCallback callback) {
+ source.fireEvent(new ConfirmAskEvent(title, message, acceptBtnMsg, cancelBtnMsg, acceptBtnTooltip,
+ cancelBtnTooltip, callback));
+ }
- public static Type<ConfirmAskHandler> getType() {
- return TYPE;
- }
+ public static Type<ConfirmAskHandler> getType() {
+ return TYPE;
+ }
- java.lang.String title;
- java.lang.String message;
- java.lang.String acceptBtnMsg;
- java.lang.String cancelBtnMsg;
- java.lang.String acceptBtnTooltip;
- java.lang.String cancelBtnTooltip;
- cc.kune.common.client.utils.SimpleCallback onAccept;
- cc.kune.common.client.utils.SimpleCallback onCancel;
+ java.lang.String acceptBtnMsg;
+ java.lang.String acceptBtnTooltip;
+ cc.kune.common.client.utils.SimpleCallback callback;
+ java.lang.String cancelBtnMsg;
+ java.lang.String cancelBtnTooltip;
+ java.lang.String message;
+ java.lang.String title;
- public ConfirmAskEvent(java.lang.String title, java.lang.String message, java.lang.String acceptBtnMsg, java.lang.String cancelBtnMsg, java.lang.String acceptBtnTooltip, java.lang.String cancelBtnTooltip, cc.kune.common.client.utils.SimpleCallback onAccept, cc.kune.common.client.utils.SimpleCallback onCancel) {
- this.title = title;
- this.message = message;
- this.acceptBtnMsg = acceptBtnMsg;
- this.cancelBtnMsg = cancelBtnMsg;
- this.acceptBtnTooltip = acceptBtnTooltip;
- this.cancelBtnTooltip = cancelBtnTooltip;
- this.onAccept = onAccept;
- this.onCancel = onCancel;
- }
+ protected ConfirmAskEvent() {
+ // Possibly for serialization.
+ }
- public ConfirmAskEvent(java.lang.String message) {
- this.message = message;
- }
+ public ConfirmAskEvent(final java.lang.String message) {
+ this.message = message;
+ }
- protected ConfirmAskEvent() {
- // Possibly for serialization.
- }
+ public ConfirmAskEvent(final java.lang.String title, final java.lang.String message,
+ final java.lang.String acceptBtnMsg, final java.lang.String cancelBtnMsg,
+ final cc.kune.common.client.utils.SimpleCallback callback) {
+ this.title = title;
+ this.message = message;
+ this.acceptBtnMsg = acceptBtnMsg;
+ this.cancelBtnMsg = cancelBtnMsg;
+ this.callback = callback;
+ }
- @Override
- public Type<ConfirmAskHandler> getAssociatedType() {
- return TYPE;
- }
+ public ConfirmAskEvent(final java.lang.String title, final java.lang.String message,
+ final java.lang.String acceptBtnMsg, final java.lang.String cancelBtnMsg,
+ final java.lang.String acceptBtnTooltip, final java.lang.String cancelBtnTooltip,
+ final cc.kune.common.client.utils.SimpleCallback callback) {
+ this.title = title;
+ this.message = message;
+ this.acceptBtnMsg = acceptBtnMsg;
+ this.cancelBtnMsg = cancelBtnMsg;
+ this.acceptBtnTooltip = acceptBtnTooltip;
+ this.cancelBtnTooltip = cancelBtnTooltip;
+ this.callback = callback;
+ }
- public java.lang.String getTitle() {
- return title;
- }
+ @Override
+ protected void dispatch(final ConfirmAskHandler handler) {
+ handler.onConfirmAsk(this);
+ }
- public java.lang.String getMessage() {
- return message;
- }
+ @Override
+ public boolean equals(final Object obj) {
+ if (this == obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (getClass() != obj.getClass()) {
+ return false;
+ }
+ final ConfirmAskEvent other = (ConfirmAskEvent) obj;
+ if (title == null) {
+ if (other.title != null) {
+ return false;
+ }
+ } else if (!title.equals(other.title)) {
+ return false;
+ }
+ if (message == null) {
+ if (other.message != null) {
+ return false;
+ }
+ } else if (!message.equals(other.message)) {
+ return false;
+ }
+ if (acceptBtnMsg == null) {
+ if (other.acceptBtnMsg != null) {
+ return false;
+ }
+ } else if (!acceptBtnMsg.equals(other.acceptBtnMsg)) {
+ return false;
+ }
+ if (cancelBtnMsg == null) {
+ if (other.cancelBtnMsg != null) {
+ return false;
+ }
+ } else if (!cancelBtnMsg.equals(other.cancelBtnMsg)) {
+ return false;
+ }
+ if (acceptBtnTooltip == null) {
+ if (other.acceptBtnTooltip != null) {
+ return false;
+ }
+ } else if (!acceptBtnTooltip.equals(other.acceptBtnTooltip)) {
+ return false;
+ }
+ if (cancelBtnTooltip == null) {
+ if (other.cancelBtnTooltip != null) {
+ return false;
+ }
+ } else if (!cancelBtnTooltip.equals(other.cancelBtnTooltip)) {
+ return false;
+ }
+ if (callback == null) {
+ if (other.callback != null) {
+ return false;
+ }
+ } else if (!callback.equals(other.callback)) {
+ return false;
+ }
+ return true;
+ }
- public java.lang.String getAcceptBtnMsg() {
- return acceptBtnMsg;
- }
+ public java.lang.String getAcceptBtnMsg() {
+ return acceptBtnMsg;
+ }
- public java.lang.String getCancelBtnMsg() {
- return cancelBtnMsg;
- }
+ public java.lang.String getAcceptBtnTooltip() {
+ return acceptBtnTooltip;
+ }
- public java.lang.String getAcceptBtnTooltip() {
- return acceptBtnTooltip;
- }
+ @Override
+ public Type<ConfirmAskHandler> getAssociatedType() {
+ return TYPE;
+ }
- public java.lang.String getCancelBtnTooltip() {
- return cancelBtnTooltip;
- }
+ public cc.kune.common.client.utils.SimpleCallback getCallback() {
+ return callback;
+ }
- public cc.kune.common.client.utils.SimpleCallback getOnAccept() {
- return onAccept;
- }
+ public java.lang.String getCancelBtnMsg() {
+ return cancelBtnMsg;
+ }
- public cc.kune.common.client.utils.SimpleCallback getOnCancel() {
- return onCancel;
- }
+ public java.lang.String getCancelBtnTooltip() {
+ return cancelBtnTooltip;
+ }
- @Override
- protected void dispatch(ConfirmAskHandler handler) {
- handler.onConfirmAsk(this);
- }
+ public java.lang.String getMessage() {
+ return message;
+ }
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- ConfirmAskEvent other = (ConfirmAskEvent) obj;
- if (title == null) {
- if (other.title != null)
- return false;
- } else if (!title.equals(other.title))
- return false;
- if (message == null) {
- if (other.message != null)
- return false;
- } else if (!message.equals(other.message))
- return false;
- if (acceptBtnMsg == null) {
- if (other.acceptBtnMsg != null)
- return false;
- } else if (!acceptBtnMsg.equals(other.acceptBtnMsg))
- return false;
- if (cancelBtnMsg == null) {
- if (other.cancelBtnMsg != null)
- return false;
- } else if (!cancelBtnMsg.equals(other.cancelBtnMsg))
- return false;
- if (acceptBtnTooltip == null) {
- if (other.acceptBtnTooltip != null)
- return false;
- } else if (!acceptBtnTooltip.equals(other.acceptBtnTooltip))
- return false;
- if (cancelBtnTooltip == null) {
- if (other.cancelBtnTooltip != null)
- return false;
- } else if (!cancelBtnTooltip.equals(other.cancelBtnTooltip))
- return false;
- if (onAccept == null) {
- if (other.onAccept != null)
- return false;
- } else if (!onAccept.equals(other.onAccept))
- return false;
- if (onCancel == null) {
- if (other.onCancel != null)
- return false;
- } else if (!onCancel.equals(other.onCancel))
- return false;
- return true;
- }
+ public java.lang.String getTitle() {
+ return title;
+ }
- @Override
- public int hashCode() {
- int hashCode = 23;
- hashCode = (hashCode * 37) + (title == null ? 1 : title.hashCode());
- hashCode = (hashCode * 37) + (message == null ? 1 : message.hashCode());
- hashCode = (hashCode * 37) + (acceptBtnMsg == null ? 1 : acceptBtnMsg.hashCode());
- hashCode = (hashCode * 37) + (cancelBtnMsg == null ? 1 : cancelBtnMsg.hashCode());
- hashCode = (hashCode * 37) + (acceptBtnTooltip == null ? 1 : acceptBtnTooltip.hashCode());
- hashCode = (hashCode * 37) + (cancelBtnTooltip == null ? 1 : cancelBtnTooltip.hashCode());
- hashCode = (hashCode * 37) + (onAccept == null ? 1 : onAccept.hashCode());
- hashCode = (hashCode * 37) + (onCancel == null ? 1 : onCancel.hashCode());
- return hashCode;
- }
+ @Override
+ public int hashCode() {
+ int hashCode = 23;
+ hashCode = (hashCode * 37) + (title == null ? 1 : title.hashCode());
+ hashCode = (hashCode * 37) + (message == null ? 1 : message.hashCode());
+ hashCode = (hashCode * 37) + (acceptBtnMsg == null ? 1 : acceptBtnMsg.hashCode());
+ hashCode = (hashCode * 37) + (cancelBtnMsg == null ? 1 : cancelBtnMsg.hashCode());
+ hashCode = (hashCode * 37) + (acceptBtnTooltip == null ? 1 : acceptBtnTooltip.hashCode());
+ hashCode = (hashCode * 37) + (cancelBtnTooltip == null ? 1 : cancelBtnTooltip.hashCode());
+ hashCode = (hashCode * 37) + (callback == null ? 1 : callback.hashCode());
+ return hashCode;
+ }
- @Override
- public String toString() {
- return "ConfirmAskEvent["
- + title
- + ","
- + message
- + ","
- + acceptBtnMsg
- + ","
- + cancelBtnMsg
- + ","
- + acceptBtnTooltip
- + ","
- + cancelBtnTooltip
- + ","
- + onAccept
- + ","
- + onCancel
- + "]";
- }
+ @Override
+ public String toString() {
+ return "ConfirmAskEvent[" + title + "," + message + "," + acceptBtnMsg + "," + cancelBtnMsg + ","
+ + acceptBtnTooltip + "," + cancelBtnTooltip + "," + callback + "]";
+ }
}
Modified: trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,13 +23,19 @@
import cc.kune.core.client.notify.msgs.UserNotifyEvent;
import cc.kune.core.client.notify.spiner.ProgressHideEvent;
import cc.kune.core.client.notify.spiner.ProgressShowEvent;
+import cc.kune.core.shared.i18n.I18nTranslationService;
import com.google.gwt.event.shared.EventBus;
public class NotifyUser {
private static EventBus eventBus;
+ private static I18nTranslationService i18n;
private static SimpleCallback onOk;
+ public static void askConfirmation(final String tittle, final String message, final SimpleCallback callback) {
+ eventBus.fireEvent(new ConfirmAskEvent(tittle, message, i18n.t("Yes"), i18n.t("No"), callback));
+ }
+
public static void error(final String message) {
eventBus.fireEvent(new UserNotifyEvent(NotifyLevel.error, message));
}
@@ -60,8 +66,9 @@
eventBus.fireEvent(new UserNotifyEvent(NotifyLevel.info, message));
}
- public static void init(final EventBus eventBus) {
+ public static void init(final EventBus eventBus, final I18nTranslationService i18n) {
NotifyUser.eventBus = eventBus;
+ NotifyUser.i18n = i18n;
onOk = new SimpleCallback() {
@Override
@@ -78,11 +85,11 @@
}
public static void showAlertMessage(final String title, final String message) {
- eventBus.fireEvent(new AlertEvent(title, message, onOk));
+ showAlertMessage(title, message, onOk);
}
public static void showAlertMessage(final String title, final String message, final SimpleCallback callback) {
- eventBus.fireEvent(new AlertEvent(title, message, callback));
+ eventBus.fireEvent(new ConfirmAskEvent(title, message, i18n.t("Ok"), i18n.t("Close"), callback));
}
public static void showProgress(final String text) {
Copied: trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java)
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/ui/BasicThumb.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,138 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.common.client.ui;
+
+import cc.kune.common.client.utils.TextUtils;
+
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.VerticalPanel;
+
+/**
+ * BasicThumb.java
+ */
+public class BasicThumb extends Composite {
+ private static final int NOSIZE = -1;
+ private final Image image;
+ private final Label label;
+ private boolean onOverLabel;
+
+ public BasicThumb(final String imageUrl, final int imgSize, final String text, final int textMaxLenght,
+ final boolean crop) {
+ this(imageUrl, imgSize, text, textMaxLenght, crop, null);
+ }
+
+ public BasicThumb(final String imageUrl, final int imgSize, final String text, final int textMaxLenght,
+ final boolean crop, final ClickHandler clickHandler) {
+ super();
+ onOverLabel = false;
+ final VerticalPanel vpanel = new VerticalPanel();
+ if (imgSize == NOSIZE) {
+ image = new Image(imageUrl);
+ } else {
+ if (crop) {
+ image = new Image(imageUrl, 0, 0, imgSize, imgSize);
+ } else {
+ image = new Image(imageUrl);
+ image.setPixelSize(imgSize, imgSize);
+ }
+ }
+ final String title = textMaxLenght == NOSIZE ? text : TextUtils.ellipsis(text, textMaxLenght);
+ label = new Label(title);
+ vpanel.add(image);
+ vpanel.add(label);
+ vpanel.addStyleName("k-basic-thumb");
+ vpanel.addStyleName("kune-Margin-Small-trbl");
+ vpanel.addStyleName("kune-pointer");
+ vpanel.addStyleName("kune-floatleft");
+ vpanel.setCellHorizontalAlignment(label, VerticalPanel.ALIGN_CENTER);
+ if (clickHandler instanceof ClickHandler) {
+ addClickHandlerImpl(clickHandler);
+ }
+ image.addMouseOverHandler(new MouseOverHandler() {
+
+ @Override
+ public void onMouseOver(final MouseOverEvent event) {
+ if (onOverLabel) {
+ label.setVisible(true);
+ }
+ }
+ });
+ image.addMouseOutHandler(new MouseOutHandler() {
+
+ @Override
+ public void onMouseOut(final MouseOutEvent event) {
+ if (onOverLabel) {
+ label.setVisible(false);
+ }
+ }
+ });
+ initWidget(vpanel);
+ }
+
+ public BasicThumb(final String imageUrl, final String thumText, final ClickHandler clickHandler) {
+ this(imageUrl, NOSIZE, thumText, NOSIZE, false, clickHandler);
+ }
+
+ public BasicThumb(final String imageUrl, final String text, final int textMaxLenght, final ClickHandler clickHandler) {
+ this(imageUrl, NOSIZE, text, textMaxLenght, false, clickHandler);
+ }
+
+ public void addClickHandler(final ClickHandler clickHandler) {
+ addClickHandlerImpl(clickHandler);
+ }
+
+ private void addClickHandlerImpl(final ClickHandler clickHandler) {
+ label.addClickHandler(clickHandler);
+ image.addClickHandler(clickHandler);
+ }
+
+ public void setOnOverLabel(final boolean onOverLabel) {
+ this.onOverLabel = onOverLabel;
+ label.setVisible(!onOverLabel);
+ }
+
+ public void setText(final String text) {
+ label.setText(text);
+ }
+
+ public void setThumbUrl(final String url) {
+ image.setUrl(url);
+ }
+
+ public void setTooltip(final String tip) {
+ // DOM.setElementAttribute(thumbImg.getElement(), "qtip", tip);
+ image.setTitle(tip);
+ label.setTitle(tip);
+ // KuneUiUtils.setQuickTip(thumbImg, tip);
+ // KuneUiUtils.setQuickTip(thumbLabel, tip);
+ }
+
+ public void setTooltip(final String tipTitle, final String tip) {
+ image.setTitle(tip);
+ label.setTitle(tip);
+ }
+}
Added: trunk/src/main/java/cc/kune/common/client/utils/OnAcceptCallback.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/utils/OnAcceptCallback.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/utils/OnAcceptCallback.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,12 @@
+package cc.kune.common.client.utils;
+
+import com.google.gwt.core.client.GWT;
+
+public abstract class OnAcceptCallback implements SimpleCallback {
+
+ @Override
+ public void onCancel() {
+ // Do nothing
+ GWT.log("On cancel callback");
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/common/client/utils/OnAcceptCallback.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -49,6 +49,8 @@
import cc.kune.core.client.init.AppStarterDefault;
import cc.kune.core.client.init.PrefetchUtilities;
import cc.kune.core.client.logs.EventBusWithLogging;
+import cc.kune.core.client.notify.confirm.UserConfirmPanel;
+import cc.kune.core.client.notify.confirm.UserConfirmPresenter;
import cc.kune.core.client.notify.msgs.UserNotifierPresenter;
import cc.kune.core.client.notify.msgs.UserNotifierPresenter.UserNotifierProxy;
import cc.kune.core.client.notify.msgs.UserNotifierViewImpl;
@@ -64,6 +66,8 @@
import cc.kune.core.client.sitebar.logo.SiteLogoViewImpl;
import cc.kune.core.client.sitebar.spaces.SpaceSelectorPresenter;
import cc.kune.core.client.sitebar.spaces.SpaceSelectorViewImpl;
+import cc.kune.core.client.sn.GroupMembersPanel;
+import cc.kune.core.client.sn.GroupMembersPresenter;
import cc.kune.core.client.state.ContentProvider;
import cc.kune.core.client.state.ContentProviderDefault;
import cc.kune.core.client.state.HistoryWrapper;
@@ -122,6 +126,8 @@
SitebarActionsViewImpl.class, SitebarActionsPresenter.SitebarActionsProxy.class);
bindPresenter(NewGroupPresenter.class, NewGroupView.class, NewGroupPanel.class,
NewGroupPresenter.NewGroupProxy.class);
+ bindPresenter(GroupMembersPresenter.class, GroupMembersPresenter.GroupMembersView.class,
+ GroupMembersPanel.class, GroupMembersPresenter.GroupMembersProxy.class);
bind(UserPassAutocompleteManager.class).to(UserPassAutocompleteManagerImpl.class).in(Singleton.class);
bindPresenter(SignInPresenter.class, SignInView.class, SignInPanel.class, SignInPresenter.SignInProxy.class);
@@ -133,6 +139,9 @@
bind(UserMessagesPresenter.class).in(Singleton.class);
bind(UserMessagesPanel.class).in(Singleton.class);
+ bindPresenter(UserConfirmPresenter.class, UserConfirmPresenter.UserConfirmView.class, UserConfirmPanel.class,
+ UserConfirmPresenter.UserConfirmProxy.class);
+
// bind(MessagePanelView.class).to(MessagePanel.class);
// UI
@@ -160,5 +169,6 @@
bind(SitebarSignOutLink.class).in(Singleton.class);
bind(BeforeSignOut.class).in(Singleton.class);
bind(SiteTokenListeners.class).asEagerSingleton();
+ bind(CoreParts.class).asEagerSingleton();
}
}
Added: trunk/src/main/java/cc/kune/core/client/CoreParts.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreParts.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/CoreParts.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,23 @@
+package cc.kune.core.client;
+
+import cc.kune.core.client.init.AppStartEvent;
+import cc.kune.core.client.init.AppStartEvent.AppStartHandler;
+import cc.kune.core.client.sn.GroupMembersPresenter;
+import cc.kune.core.client.state.Session;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class CoreParts {
+
+ @Inject
+ public CoreParts(final Session session, final Provider<GroupMembersPresenter> grouMembersPresenter) {
+ session.onInitDataReceived(new AppStartHandler() {
+ @Override
+ public void onAppStart(final AppStartEvent event) {
+ grouMembersPresenter.get();
+ ;
+ }
+ });
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/CoreParts.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -99,7 +99,7 @@
}
public void show() {
- dialog.show();
+ dialog.showCentered();
}
public void unMask() {
Modified: trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,8 +20,8 @@
package cc.kune.core.client.errors;
import cc.kune.common.client.noti.NotifyLevel;
+import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.logs.Log;
-import cc.kune.core.client.notify.alerts.AlertEvent;
import cc.kune.core.client.notify.msgs.UserNotifyEvent;
import cc.kune.core.client.notify.spiner.ProgressHideEvent;
import cc.kune.core.client.state.Session;
@@ -109,8 +109,8 @@
goHome();
} else if (caught instanceof LastAdminInGroupException) {
logException(caught);
- eventBus.fireEvent(new AlertEvent(i18n.t("Warning"), i18n.t("Sorry, you are the last admin of this group."
- + " Look for someone to substitute you appropriately as admin before leaving this group.")));
+ NotifyUser.showAlertMessage(i18n.t("Warning"), i18n.t("Sorry, you are the last admin of this group."
+ + " Look for someone to substitute you appropriately as admin before leaving this group."));
} else if (caught instanceof AlreadyGroupMemberException) {
logException(caught);
eventBus.fireEvent(new UserNotifyEvent(NotifyLevel.error, i18n.t("This group is already a group member")));
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -286,7 +286,7 @@
@Override
public void show() {
- dialog.show();
+ dialog.showCentered();
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,63 +23,59 @@
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.HasHandlers;
-import com.gwtplatform.mvp.client.HasEventBus;
-public class I18nReadyEvent extends GwtEvent<I18nReadyEvent.I18nReadyHandler> {
+public class I18nReadyEvent extends GwtEvent<I18nReadyEvent.I18nReadyHandler> {
- public interface HasI18nReadyHandlers extends HasHandlers {
- HandlerRegistration addI18nReadyHandler(I18nReadyHandler handler);
- }
+ public interface HasI18nReadyHandlers extends HasHandlers {
+ HandlerRegistration addI18nReadyHandler(I18nReadyHandler handler);
+ }
- public interface I18nReadyHandler extends EventHandler {
- public void onI18nReady(I18nReadyEvent event);
- }
+ public interface I18nReadyHandler extends EventHandler {
+ public void onI18nReady(I18nReadyEvent event);
+ }
- private static final Type<I18nReadyHandler> TYPE = new Type<I18nReadyHandler>();
+ private static final Type<I18nReadyHandler> TYPE = new Type<I18nReadyHandler>();
- public static void fire(HasEventBus source) {
- source.fireEvent(new I18nReadyEvent());
- }
+ public static void fire(final HasHandlers source) {
+ source.fireEvent(new I18nReadyEvent());
+ }
- public static Type<I18nReadyHandler> getType() {
- return TYPE;
- }
+ public static Type<I18nReadyHandler> getType() {
+ return TYPE;
+ }
+ public I18nReadyEvent() {
+ }
- public I18nReadyEvent() {
- }
+ @Override
+ protected void dispatch(final I18nReadyHandler handler) {
+ handler.onI18nReady(this);
+ }
- @Override
- public Type<I18nReadyHandler> getAssociatedType() {
- return TYPE;
- }
+ @Override
+ public boolean equals(final Object other) {
+ if (other != null && other.getClass().equals(this.getClass())) {
+ final I18nReadyEvent o = (I18nReadyEvent) other;
+ return true;
+ }
+ return false;
+ }
- @Override
- protected void dispatch(I18nReadyHandler handler) {
- handler.onI18nReady(this);
- }
+ @Override
+ public Type<I18nReadyHandler> getAssociatedType() {
+ return TYPE;
+ }
- @Override
- public boolean equals(Object other) {
- if (other != null && other.getClass().equals(this.getClass())) {
- I18nReadyEvent o = (I18nReadyEvent) other;
- return true
- ;
+ @Override
+ public int hashCode() {
+ int hashCode = 23;
+ hashCode = (hashCode * 37) + getClass().hashCode();
+ return hashCode;
}
- return false;
- }
- @Override
- public int hashCode() {
- int hashCode = 23;
- hashCode = (hashCode * 37) + getClass().hashCode();
- return hashCode;
- }
+ @Override
+ public String toString() {
+ return "I18nReadyEvent[" + "]";
+ }
- @Override
- public String toString() {
- return "I18nReadyEvent["
- + "]";
- }
-
}
Copied: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPanel.java (from rev 1239, trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPanel.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,93 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.notify.confirm;
+
+import cc.kune.common.client.noti.ConfirmAskEvent;
+import cc.kune.core.client.notify.confirm.UserConfirmPresenter.UserConfirmView;
+import cc.kune.core.client.ui.dialogs.BasicTopDialog;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.shared.HandlerRegistration;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.Widget;
+import com.google.inject.Inject;
+import com.gwtplatform.mvp.client.ViewImpl;
+
+public class UserConfirmPanel extends ViewImpl implements UserConfirmView {
+ private static final String CANCEL_ID = "k-conf-dial";
+ private static final String DIALOG_ID = "k-conf-dial-nok";
+ private static final String OK_ID = "k-conf-dial-ok";
+ private HandlerRegistration acceptHandler;
+ private final Label askLabel;
+ private HandlerRegistration cancelHandler;
+ private final BasicTopDialog dialog;
+
+ @Inject
+ public UserConfirmPanel(final I18nTranslationService i18n) {
+ dialog = new BasicTopDialog(DIALOG_ID, "", false, true, false, 100, 100, "", "", OK_ID, "", CANCEL_ID, 1);
+ askLabel = new Label();
+ askLabel.addStyleName("k-userconfirm-label");
+ dialog.getInnerPanel().add(askLabel);
+ }
+
+ @Override
+ public Widget asWidget() {
+ return null;
+ }
+
+ @Override
+ public void confirmAsk(final ConfirmAskEvent ask) {
+ dialog.getFirstBtnText().setText(ask.getAcceptBtnMsg());
+ dialog.getSecondBtnText().setText(ask.getCancelBtnMsg());
+ dialog.setFirstBtnTitle(ask.getAcceptBtnTooltip());
+ dialog.setSecondBtnTitle(ask.getCancelBtnTooltip());
+ dialog.getTitleText().setText(ask.getTitle());
+ askLabel.setText(ask.getMessage());
+ dialog.showCentered();
+ resetHandlers();
+ acceptHandler = dialog.getFirstBtn().addClickHandler(new ClickHandler() {
+ @Override
+ public void onClick(final ClickEvent event) {
+ ask.getCallback().onSuccess();
+ dialog.hide();
+ }
+ });
+ cancelHandler = dialog.getSecondBtn().addClickHandler(new ClickHandler() {
+ @Override
+ public void onClick(final ClickEvent event) {
+ ask.getCallback().onCancel();
+ dialog.hide();
+ }
+ });
+ dialog.showCentered();
+ }
+
+ private void resetHandlers() {
+ if (acceptHandler != null) {
+ acceptHandler.removeHandler();
+ }
+ if (cancelHandler != null) {
+ cancelHandler.removeHandler();
+ }
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPanel.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -47,7 +47,7 @@
}
@ProxyEvent
- public void onConfirmAsk(ConfirmAskEvent event) {
+ public void onConfirmAsk(final ConfirmAskEvent event) {
getView().confirmAsk(event);
}
Deleted: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,45 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.core.client.notify.confirm;
-
-import cc.kune.common.client.noti.ConfirmAskEvent;
-import cc.kune.core.client.notify.confirm.UserConfirmPresenter.UserConfirmView;
-
-import com.google.gwt.user.client.ui.Widget;
-import com.google.inject.Inject;
-import com.gwtplatform.mvp.client.ViewImpl;
-
-public class UserConfirmViewImpl2 extends ViewImpl implements UserConfirmView {
- @Inject
- public UserConfirmViewImpl2() {
- }
-
- @Override
- public Widget asWidget() {
- return null;
- }
-
- @Override
- public void confirmAsk(final ConfirmAskEvent ask) {
- // TODO Auto-generated method stub
-
- }
-
-}
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -355,6 +355,9 @@
@Source("loading-spiner.gif")
ImageResource loadingSpiner();
+ @Source("new-chat.gif")
+ ImageResource newChat();
+
@Source("nobody.png")
ImageResource nobody();
Added: trunk/src/main/java/cc/kune/core/client/resources/new-chat.gif
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/new-chat.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Copied: trunk/src/main/java/cc/kune/core/client/services/FileConstants.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/services/FileConstants.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/services/FileConstants.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,39 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.core.client.services;
+
+public final class FileConstants {
+
+ public final static String HASH = "hash";
+ public final static String TOKEN = "token";
+ public final static String DOWNLOAD = "download";
+ public final static String IMGSIZE = "imgsize";
+ public final static String FILENAME = "filename";
+ public final static String TYPE_ID = "typeid";
+ public final static String USER_LOGO_FIELD = "k-ulogov-ff";
+ public final static String GROUP_LOGO_FIELD = "k-glogov-ff";
+ public final static int LOGO_DEF_HEIGHT = 60;
+ public final static int LOGO_DEF_WIDTH = 468;
+ public final static int LOGO_MIN_HEIGHT = 28;
+ public final static int LOGO_MIN_WIDTH = 468;
+
+ private FileConstants() {
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/services/FileConstants.java
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/src/main/java/cc/kune/core/client/services/FileDownloadUtils.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/services/FileDownloadUtils.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/services/FileDownloadUtils.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,93 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.core.client.services;
+
+import cc.kune.common.client.utils.Url;
+import cc.kune.common.client.utils.UrlParam;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.domain.utils.StateToken;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.ui.RootPanel;
+import com.google.inject.Inject;
+
+public class FileDownloadUtils {
+
+ private static final String DOWNLOADSERVLET = "servlets/FileDownloadManager";
+ private static final String LOGODOWNLOADSERVLET = "servlets/EntityLogoDownloadManager";
+
+ private final ImageUtils imageUtils;
+ private final Session session;
+
+ @Inject
+ public FileDownloadUtils(final Session session, final ImageUtils imageUtils) {
+ this.session = session;
+ this.imageUtils = imageUtils;
+ }
+
+ private String calculateUrl(final StateToken token, final boolean download, final boolean useHash) {
+ final Url url = new Url(GWT.getModuleBaseURL() + DOWNLOADSERVLET, new UrlParam(FileConstants.TOKEN,
+ token.toString()));
+ if (download) {
+ url.add(new UrlParam(FileConstants.DOWNLOAD, download));
+ }
+ if (useHash) {
+ final String hash = session.getUserHash();
+ if (hash != null) {
+ url.add(new UrlParam(FileConstants.HASH, hash));
+ }
+ }
+ return url.toString();
+ }
+
+ public void downloadFile(final StateToken token) {
+ final String url = calculateUrl(token, true, true);
+ DOM.setElementAttribute(RootPanel.get("__download").getElement(), "src", url);
+ }
+
+ public String getImageResizedUrl(final StateToken token, final ImageSize imageSize) {
+ return calculateUrl(token, false, true) + "&" + new UrlParam(FileConstants.IMGSIZE, imageSize.toString());
+ }
+
+ public String getImageUrl(final StateToken token) {
+ return calculateUrl(token, false, true);
+ }
+
+ public String getLogoAvatarHtml(final StateToken groupToken, final boolean groupHasLogo, final boolean isPersonal,
+ final int size, final int hvspace) {
+ if (groupHasLogo) {
+ return "<img hspace='" + hvspace + "' vspace='" + hvspace + "' align='left' style='width: " + size
+ + "px; height: " + size + "px;' src='" + getLogoImageUrl(groupToken) + "'>";
+ } else {
+ return isPersonal ? imageUtils.getImageHtml(ImageDescriptor.personDef)
+ : imageUtils.getImageHtml(ImageDescriptor.groupDefIcon);
+ }
+ }
+
+ public String getLogoImageUrl(final StateToken token) {
+ return new Url(GWT.getModuleBaseURL() + LOGODOWNLOADSERVLET,
+ new UrlParam(FileConstants.TOKEN, token.toString())).toString();
+ }
+
+ public String getUrl(final StateToken token) {
+ return calculateUrl(token, false, false);
+ }
+}
Copied: trunk/src/main/java/cc/kune/core/client/services/ImageDescriptor.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/services/ImageDescriptor.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/services/ImageDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,24 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.core.client.services;
+
+public enum ImageDescriptor {
+ accept, add, addGreen, alert, anybody, arrowDownBlack, arrowDownGreen, arrowDownWhite, arrowLeftGreen, arrowRightBlack, arrowRightGreen, arrowRightWhite, arrowUpGreen, bulletAdd, bulletBlack, bulletBlue, bulletDelete, bulletGreen, bulletPink, bulletPurple, bulletRed, bulletStar, bulletToggleMinus, bulletTogglePlus, bulletYellow, button15cblue, button15cdark, button15clight, button15cxlight, button15lblue, button15ldark, button15llight, button15lxlight, button15rblue, button15rdark, button15rlight, button15rxlight, button17cblue, button17cdark, button17clight, button17cxlight, button17lblue, button17ldark, button17llight, button17lxlight, button17rblue, button17rdark, button17rlight, button17rxlight, button20cblue, button20cdark, button20clight, button20cxlight, button20lblue, button20ldark, button20llight, button20lxlight, button20rblue, button20rdark, button20rlight, button20rxlight, buttonArrowDown, buttonHelpBlue, buttonHelpDark, buttonHelpLight, buttonSitebarArrowDown, by80x15, bync80x15, byncnd80x15, byncsa80x15, bynd80x15, bysa80x15, cancel, clear, copyleft, cross, crossDark, del, emblemImportant, emblemSystem, error, everybody, fullscreen, gnuFdl, groupDefIcon, groupHome, important, info, infoLight, kuneClose, kuneExternalWindow, kuneHelpTranslationIcon, kuneIcon16, kuneLogo16px, kunePreferences, kuneSearchIco, kuneSearchIcoPush, language, nobody, noCopyleft, nt, opentriangle, personDef, remove, rssIcon, searchIco, spinKuneThundGreen, splitterVertBar, star10, star20, star30, star40, star50, star60, star70, star80, star90, starGrey, starSmallYellow, starVsmallYellow, starYellow, step1, step2, step3, step4, step5, themeChoose, triangle
+}
Copied: trunk/src/main/java/cc/kune/core/client/services/ImageSize.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/services/ImageSize.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/services/ImageSize.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,24 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.core.client.services;
+
+public enum ImageSize {
+ sized, thumb, ico
+}
\ No newline at end of file
Copied: trunk/src/main/java/cc/kune/core/client/services/ImageUtils.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/client/services/ImageUtils.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/services/ImageUtils.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,431 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.core.client.services;
+
+import cc.kune.core.client.resources.CoreResources;
+
+import com.google.gwt.resources.client.ImageResource;
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
+import com.google.inject.Inject;
+
+public class ImageUtils {
+
+ private final CoreResources img;
+
+ @Inject
+ public ImageUtils(final CoreResources img) {
+ this.img = img;
+ }
+
+ public ImageResource getImage(final ImageDescriptor imageDescriptor) {
+ switch (imageDescriptor) {
+ case accept: {
+ return img.accept();
+ }
+ case add: {
+ return img.add();
+ }
+ case addGreen: {
+ return img.addGreen();
+ }
+ case alert: {
+ return img.alert();
+ }
+ case anybody: {
+ return img.anybody();
+ }
+ case arrowDownBlack: {
+ return img.arrowDownBlack();
+ }
+ case arrowDownGreen: {
+ return img.arrowDownGreen();
+ }
+ case arrowDownWhite: {
+ return img.arrowDownWhite();
+ }
+ case arrowLeftGreen: {
+ return img.arrowLeftGreen();
+ }
+ case arrowRightBlack: {
+ return img.arrowRightBlack();
+ }
+ case arrowRightGreen: {
+ return img.arrowRightGreen();
+ }
+ case arrowRightWhite: {
+ return img.arrowRightWhite();
+ }
+ case arrowUpGreen: {
+ return img.arrowUpGreen();
+ }
+ case bulletAdd: {
+ return img.bulletAdd();
+ }
+ case bulletBlack: {
+ return img.bulletBlack();
+ }
+ case bulletBlue: {
+ return img.bulletBlue();
+ }
+ case bulletDelete: {
+ return img.bulletDelete();
+ }
+ case bulletGreen: {
+ return img.bulletGreen();
+ }
+ case bulletPink: {
+ return img.bulletPink();
+ }
+ case bulletPurple: {
+ return img.bulletPurple();
+ }
+ case bulletRed: {
+ return img.bulletRed();
+ }
+ case bulletStar: {
+ return img.bulletStar();
+ }
+ case bulletToggleMinus: {
+ return img.bulletToggleMinus();
+ }
+ case bulletTogglePlus: {
+ return img.bulletTogglePlus();
+ }
+ case bulletYellow: {
+ return img.bulletYellow();
+ }
+ case button15cblue: {
+ return img.button15cblue();
+ }
+ case button15cdark: {
+ return img.button15cdark();
+ }
+ case button15clight: {
+ return img.button15clight();
+ }
+ case button15cxlight: {
+ return img.button15cxlight();
+ }
+ case button15lblue: {
+ return img.button15lblue();
+ }
+ case button15ldark: {
+ return img.button15ldark();
+ }
+ case button15llight: {
+ return img.button15llight();
+ }
+ case button15lxlight: {
+ return img.button15lxlight();
+ }
+ case button15rblue: {
+ return img.button15rblue();
+ }
+ case button15rdark: {
+ return img.button15rdark();
+ }
+ case button15rlight: {
+ return img.button15rlight();
+ }
+ case button15rxlight: {
+ return img.button15rxlight();
+ }
+ case button17cblue: {
+ return img.button17cblue();
+ }
+ case button17cdark: {
+ return img.button17cdark();
+ }
+ case button17clight: {
+ return img.button17clight();
+ }
+ case button17cxlight: {
+ return img.button17cxlight();
+ }
+ case button17lblue: {
+ return img.button17lblue();
+ }
+ case button17ldark: {
+ return img.button17ldark();
+ }
+ case button17llight: {
+ return img.button17llight();
+ }
+ case button17lxlight: {
+ return img.button17lxlight();
+ }
+ case button17rblue: {
+ return img.button17rblue();
+ }
+ case button17rdark: {
+ return img.button17rdark();
+ }
+ case button17rlight: {
+ return img.button17rlight();
+ }
+ case button17rxlight: {
+ return img.button17rxlight();
+ }
+ case button20cblue: {
+ return img.button20cblue();
+ }
+ case button20cdark: {
+ return img.button20cdark();
+ }
+ case button20clight: {
+ return img.button20clight();
+ }
+ case button20cxlight: {
+ return img.button20cxlight();
+ }
+ case button20lblue: {
+ return img.button20lblue();
+ }
+ case button20ldark: {
+ return img.button20ldark();
+ }
+ case button20llight: {
+ return img.button20llight();
+ }
+ case button20lxlight: {
+ return img.button20lxlight();
+ }
+ case button20rblue: {
+ return img.button20rblue();
+ }
+ case button20rdark: {
+ return img.button20rdark();
+ }
+ case button20rlight: {
+ return img.button20rlight();
+ }
+ case button20rxlight: {
+ return img.button20rxlight();
+ }
+ case buttonArrowDown: {
+ return img.buttonArrowDown();
+ }
+ case buttonHelpBlue: {
+ return img.buttonHelpBlue();
+ }
+ case buttonHelpDark: {
+ return img.buttonHelpDark();
+ }
+ case buttonHelpLight: {
+ return img.buttonHelpLight();
+ }
+ case buttonSitebarArrowDown: {
+ return img.buttonSitebarArrowDown();
+ }
+ case by80x15: {
+ return img.by80x15();
+ }
+ case bync80x15: {
+ return img.bync80x15();
+ }
+ case byncnd80x15: {
+ return img.byncnd80x15();
+ }
+ case byncsa80x15: {
+ return img.byncsa80x15();
+ }
+ case bynd80x15: {
+ return img.bynd80x15();
+ }
+ case bysa80x15: {
+ return img.bysa80x15();
+ }
+ case cancel: {
+ return img.cancel();
+ }
+ case clear: {
+ return img.clear();
+ }
+ case copyleft: {
+ return img.copyleft();
+ }
+ case cross: {
+ return img.cross();
+ }
+ case crossDark: {
+ return img.crossDark();
+ }
+ case del: {
+ return img.del();
+ }
+ case emblemImportant: {
+ return img.emblemImportant();
+ }
+ case emblemSystem: {
+ return img.emblemSystem();
+ }
+ case error: {
+ return img.error();
+ }
+ case everybody: {
+ return img.everybody();
+ }
+ case fullscreen: {
+ return img.fullscreen();
+ }
+ case gnuFdl: {
+ return img.gnuFdl();
+ }
+ case groupDefIcon: {
+ return img.groupDefIcon();
+ }
+ case groupHome: {
+ return img.groupHome();
+ }
+ case important: {
+ return img.important();
+ }
+ case info: {
+ return img.info();
+ }
+ case infoLight: {
+ return img.infoLight();
+ }
+ case kuneClose: {
+ return img.kuneClose();
+ }
+ case kuneExternalWindow: {
+ return img.kuneExternalWindow();
+ }
+ case kuneHelpTranslationIcon: {
+ return img.kuneHelpTranslationIcon();
+ }
+ case kuneIcon16: {
+ return img.kuneIcon16();
+ }
+ case kuneLogo16px: {
+ return img.kuneLogo16px();
+ }
+ case kunePreferences: {
+ return img.kunePreferences();
+ }
+ case kuneSearchIco: {
+ return img.kuneSearchIco();
+ }
+ case kuneSearchIcoPush: {
+ return img.kuneSearchIcoPush();
+ }
+ case language: {
+ return img.language();
+ }
+ case nobody: {
+ return img.nobody();
+ }
+ case noCopyleft: {
+ return img.noCopyleft();
+ }
+ case nt: {
+ return img.nt();
+ }
+ case opentriangle: {
+ return img.opentriangle();
+ }
+ case personDef: {
+ return img.personDef();
+ }
+ case remove: {
+ return img.remove();
+ }
+ case rssIcon: {
+ return img.rssIcon();
+ }
+ case searchIco: {
+ return img.searchIco();
+ }
+ case spinKuneThundGreen: {
+ return img.spinKuneThundGreen();
+ }
+ case splitterVertBar: {
+ return img.splitterVertBar();
+ }
+ case star10: {
+ return img.star10();
+ }
+ case star20: {
+ return img.star20();
+ }
+ case star30: {
+ return img.star30();
+ }
+ case star40: {
+ return img.star40();
+ }
+ case star50: {
+ return img.star50();
+ }
+ case star60: {
+ return img.star60();
+ }
+ case star70: {
+ return img.star70();
+ }
+ case star80: {
+ return img.star80();
+ }
+ case star90: {
+ return img.star90();
+ }
+ case starGrey: {
+ return img.starGrey();
+ }
+ case starSmallYellow: {
+ return img.starSmallYellow();
+ }
+ case starVsmallYellow: {
+ return img.starVsmallYellow();
+ }
+ case starYellow: {
+ return img.starYellow();
+ }
+ case step1: {
+ return img.step1();
+ }
+ case step2: {
+ return img.step2();
+ }
+ case step3: {
+ return img.step3();
+ }
+ case step4: {
+ return img.step4();
+ }
+ case step5: {
+ return img.step5();
+ }
+ case themeChoose: {
+ return img.themeChoose();
+ }
+ case triangle: {
+ return img.triangle();
+ }
+ default:
+ return null;
+ }
+ }
+
+ public String getImageHtml(final ImageDescriptor imageDescriptor) {
+ return AbstractImagePrototype.create(getImage(imageDescriptor)).getHTML();
+ }
+}
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,8 +27,6 @@
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
import cc.kune.common.client.actions.ui.descrip.MenuSeparatorDescriptor;
import cc.kune.common.client.actions.ui.descrip.ToolbarDescriptor;
-import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor;
-import cc.kune.common.client.actions.ui.descrip.ToolbarSeparatorDescriptor.Type;
import cc.kune.common.client.ui.KuneWindowUtils;
import cc.kune.core.client.init.AppStartEvent;
import cc.kune.core.client.notify.msgs.UserNotifyEvent;
@@ -118,8 +116,10 @@
action.putValue(Action.NAME, "Test");
final MenuItemDescriptor testMenuItem = new MenuItemDescriptor(OPTIONS_MENU, action);
OPTIONS_MENU.setStyles("k-no-backimage, k-btn-sitebar");
- final ToolbarSeparatorDescriptor separator = new ToolbarSeparatorDescriptor(Type.separator, RIGHT_TOOLBAR);
- final ToolbarSeparatorDescriptor separator2 = new ToolbarSeparatorDescriptor(Type.separator, RIGHT_TOOLBAR);
+ // final ToolbarSeparatorDescriptor separator = new
+ // ToolbarSeparatorDescriptor(Type.separator, RIGHT_TOOLBAR);
+ // final ToolbarSeparatorDescriptor separator2 = new
+ // ToolbarSeparatorDescriptor(Type.separator, RIGHT_TOOLBAR);
final MenuSeparatorDescriptor menuSeparator = new MenuSeparatorDescriptor(OPTIONS_MENU);
final AbstractExtendedAction bugsAction = new AbstractExtendedAction() {
Added: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,172 @@
+package cc.kune.core.client.sn;
+
+import cc.kune.common.client.actions.ui.ActionFlowPanel;
+import cc.kune.common.client.actions.ui.ActionSimplePanel;
+import cc.kune.common.client.actions.ui.IsActionExtensible;
+import cc.kune.common.client.actions.ui.bind.GuiProvider;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.MenuDescriptor;
+import cc.kune.common.client.ui.BasicThumb;
+import cc.kune.core.client.sn.GroupMembersPresenter.GroupMembersView;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.WsArmor;
+
+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.uibinder.client.UiBinder;
+import com.google.gwt.uibinder.client.UiField;
+import com.google.gwt.user.client.ui.DeckPanel;
+import com.google.gwt.user.client.ui.FlowPanel;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.ScrollPanel;
+import com.google.gwt.user.client.ui.Widget;
+import com.google.inject.Inject;
+import com.gwtplatform.mvp.client.ViewImpl;
+
+public class GroupMembersPanel extends ViewImpl implements GroupMembersView {
+
+ interface GroupMembersPanelUiBinder extends UiBinder<Widget, GroupMembersPanel> {
+ }
+
+ private static GroupMembersPanelUiBinder uiBinder = GWT.create(GroupMembersPanelUiBinder.class);
+ private final ActionSimplePanel actions;
+ @UiField
+ FlowPanel adminsFlow;
+ @UiField
+ Label adminsLabel;
+ ActionFlowPanel bottomActionsToolbar;
+ @UiField
+ FlowPanel bottomPanel;
+ @UiField
+ FlowPanel collabsFlow;
+ @UiField
+ Label collabsLabel;
+ @UiField
+ ScrollPanel collabsScroll;
+ @UiField
+ DeckPanel deck;
+ @UiField
+ FlowPanel mainPanel;
+ @UiField
+ Label mainTitle;
+ @UiField
+ FlowPanel membersFlow;
+ @UiField
+ Label noMembersVisible;
+ @UiField
+ Label orphanProject;
+ @UiField
+ FlowPanel pendingsFlow;
+ @UiField
+ Label pendingsLabel;
+ @UiField
+ ScrollPanel pendingsScroll;
+ private final Widget widget;
+
+ @Inject
+ public GroupMembersPanel(final I18nTranslationService i18n, final GuiProvider guiProvider, final WsArmor armor) {
+ widget = uiBinder.createAndBindUi(this);
+ mainTitle.setText(i18n.t("Group members"));
+ mainTitle.setTitle(i18n.t("People and groups collaborating in this group"));
+ adminsLabel.setText(i18n.t("Admins"));
+ adminsLabel.setTitle(i18n.t("People that can admin this group"));
+ collabsLabel.setText(i18n.t("Collaborators"));
+ collabsLabel.setTitle(i18n.t("Other people that collaborate with this group"));
+ pendingsLabel.setText(i18n.t("Pending"));
+ pendingsLabel.setTitle(i18n.t("People pending to be accepted in this group by the admins"));
+ orphanProject.setText(i18n.t("This is an orphaned project, if you are interested please request to join to work on it"));
+ noMembersVisible.setText(i18n.t("The members of this group are not public"));
+ bottomActionsToolbar = new ActionFlowPanel(guiProvider);
+ actions = new ActionSimplePanel(guiProvider);
+ bottomPanel.add(bottomActionsToolbar);
+ armor.getEntityToolsNorth().add(widget);
+ deck.showWidget(2);
+ }
+
+ @Override
+ public void addAdmin(final GroupDTO group, final String avatarUrl, final String tooltip, final String tooltipTitle,
+ final GuiActionDescCollection menu) {
+ final BasicThumb thumb = createThumb(group, avatarUrl, tooltip, tooltipTitle, menu);
+ adminsFlow.add(thumb);
+ }
+
+ @Override
+ public void addCollab(final GroupDTO group, final String avatarUrl, final String tooltip,
+ final String tooltipTitle, final GuiActionDescCollection menu) {
+ final BasicThumb thumb = createThumb(group, avatarUrl, tooltip, tooltipTitle, menu);
+ collabsFlow.add(thumb);
+ }
+
+ @Override
+ public void addPending(final GroupDTO group, final String avatarUrl, final String tooltip,
+ final String tooltipTitle, final GuiActionDescCollection menu) {
+ final BasicThumb thumb = createThumb(group, avatarUrl, tooltip, tooltipTitle, menu);
+ pendingsFlow.add(thumb);
+ }
+
+ @Override
+ public Widget asWidget() {
+ return widget;
+ }
+
+ @Override
+ public void clear() {
+ pendingsFlow.clear();
+ adminsFlow.clear();
+ collabsFlow.clear();
+ actions.clear();
+ }
+
+ private BasicThumb createThumb(final GroupDTO group, final String avatarUrl, final String tooltip,
+ final String tooltipTitle, final GuiActionDescCollection menuitems) {
+ final BasicThumb thumb = new BasicThumb(avatarUrl, AVATARSIZE, group.getShortName(), AVATARLABELMAXSIZE, false);
+ final MenuDescriptor menu = new MenuDescriptor();
+ menu.setStandalone(true);
+ for (final GuiActionDescrip item : menuitems) {
+ item.setParent(menu);
+ }
+ final ClickHandler clickHand = new ClickHandler() {
+ @Override
+ public void onClick(final ClickEvent event) {
+ GWT.log("Show event");
+ menu.show(thumb);
+ }
+ };
+ thumb.addClickHandler(clickHand);
+ actions.add(menu);
+ actions.add(menuitems);
+
+ thumb.setTooltip(tooltipTitle, tooltip);
+ thumb.setOnOverLabel(true);
+ return thumb;
+ }
+
+ @Override
+ public IsActionExtensible getBottomToolbar() {
+ return bottomActionsToolbar;
+ }
+
+ @Override
+ public void setVisible(final boolean visible) {
+ deck.setVisible(visible);
+ }
+
+ @Override
+ public void showMemberNotPublic() {
+ deck.showWidget(0);
+ }
+
+ @Override
+ public void showMembers() {
+ deck.showWidget(2);
+ }
+
+ @Override
+ public void showOrphan() {
+ deck.showWidget(1);
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,66 @@
+<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
+<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
+ xmlns:g="urn:import:com.google.gwt.user.client.ui">
+ <ui:style>
+ .important {
+ font-weight: bold;
+ }
+ </ui:style>
+
+ <g:FlowPanel width="100%" ui:field="mainPanel"
+ addStyleNames="k-sn-mainpanel">
+ <g:Label ui:field="mainTitle" addStyleNames="k-sn-maintitle" />
+ <g:DeckPanel ui:field="deck" addStyleNames="k-sn-deck">
+ <g:Label ui:field="noMembersVisible" addStyleNames="k-sn-novisible-label" />
+ <g:Label ui:field="orphanProject" addStyleNames="k-sn-orphan-label" />
+ <g:FlowPanel width="100%" height="100px" ui:field="membersFlow">
+
+ <g:DockLayoutPanel unit="EM" width="100%"
+ addStyleNames="k-sn-adminspanel" height="100px">
+ <g:north size="2.0">
+ <g:Label text="Admins" ui:field="adminsLabel"
+ addStyleNames="k-sn-adminslabel" />
+ </g:north>
+ <g:center>
+ <g:ScrollPanel width="100%" addStyleNames="k-sn-adminsscroll">
+ <g:FlowPanel width="100%" height="100%"
+ ui:field="adminsFlow" />
+ </g:ScrollPanel>
+ </g:center>
+ </g:DockLayoutPanel>
+
+ <g:DockLayoutPanel unit="EM" width="100%"
+ addStyleNames="k-sn-collabspanel" height="100px">
+ <g:north size="2.0">
+ <g:Label text="Collabs" ui:field="collabsLabel"
+ addStyleNames="k-sn-collabslabel" />
+ </g:north>
+ <g:center>
+ <g:ScrollPanel ui:field="collabsScroll" width="100%"
+ addStyleNames="k-sn-collabsscroll">
+ <g:FlowPanel width="100%" height="100%"
+ ui:field="collabsFlow" />
+ </g:ScrollPanel>
+ </g:center>
+
+ </g:DockLayoutPanel>
+
+ <g:DockLayoutPanel unit="EM" width="100%"
+ addStyleNames="k-sn-pendingspanel" height="100px">
+ <g:north size="2.0">
+ <g:Label text="Pendings" ui:field="pendingsLabel"
+ addStyleNames="k-sn-pendingslabel" />
+ </g:north>
+ <g:center>
+ <g:ScrollPanel ui:field="pendingsScroll"
+ addStyleNames="k-sn-pendingsscroll" width="100%">
+ <g:FlowPanel width="100%" height="100%"
+ ui:field="pendingsFlow" />
+ </g:ScrollPanel>
+ </g:center>
+ </g:DockLayoutPanel>
+ </g:FlowPanel>
+ </g:DeckPanel>
+ <g:FlowPanel ui:field="bottomPanel" />
+ </g:FlowPanel>
+</ui:UiBinder>
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPanel.ui.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,188 @@
+package cc.kune.core.client.sn;
+
+import java.util.List;
+
+import cc.kune.common.client.actions.ui.IsActionExtensible;
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescCollection;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.init.AppStartEvent;
+import cc.kune.core.client.init.AppStartEvent.AppStartHandler;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.sn.actions.registry.AbstractSocialNetworActionsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNAdminsMenuItemsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNCollabsMenuItemsRegistry;
+import cc.kune.core.client.sn.actions.registry.SNPendingsMenuItemsRegistry;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.SocialNetworkChangedEvent;
+import cc.kune.core.client.state.StateChangedEvent;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessListsDTO;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDTO;
+import cc.kune.core.shared.dto.StateAbstractDTO;
+
+import com.google.gwt.event.shared.EventBus;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+import com.gwtplatform.mvp.client.Presenter;
+import com.gwtplatform.mvp.client.View;
+import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
+import com.gwtplatform.mvp.client.proxy.Proxy;
+import com.gwtplatform.mvp.client.proxy.RevealRootContentEvent;
+
+public class GroupMembersPresenter extends
+ Presenter<GroupMembersPresenter.GroupMembersView, GroupMembersPresenter.GroupMembersProxy> {
+
+ @ProxyCodeSplit
+ public interface GroupMembersProxy extends Proxy<GroupMembersPresenter> {
+ }
+
+ public interface GroupMembersView extends View {
+ int AVATARLABELMAXSIZE = 15;
+ int AVATARSIZE = 32;
+ String NOAVATAR = "";
+
+ void addAdmin(GroupDTO group, String avatarUrl, String tooltip, String tooltipTitle,
+ GuiActionDescCollection menu);
+
+ void addCollab(GroupDTO group, String avatarUrl, String tooltip, String tooltipTitle,
+ GuiActionDescCollection menu);
+
+ void addPending(GroupDTO group, String avatarUrl, String tooltip, String tooltipTitle,
+ GuiActionDescCollection menu);
+
+ void clear();
+
+ IsActionExtensible getBottomToolbar();
+
+ void setVisible(boolean b);
+
+ void showMemberNotPublic();
+
+ void showMembers();
+
+ void showOrphan();
+ }
+
+ private final SNAdminsMenuItemsRegistry adminsMenuItemsRegistry;
+ private final SNCollabsMenuItemsRegistry collabsMenuItemsRegistry;
+
+ private final Provider<FileDownloadUtils> downloadProvider;
+ private final SNPendingsMenuItemsRegistry pendingsMenuItemsRegistry;
+ private final Session session;
+
+ @Inject
+ public GroupMembersPresenter(final EventBus eventBus, final GroupMembersView view, final GroupMembersProxy proxy,
+ final StateManager stateManager, final Session session, final Provider<FileDownloadUtils> downloadProvider,
+ final SNAdminsMenuItemsRegistry adminsMenuItemsRegistry,
+ final SNCollabsMenuItemsRegistry collabsMenuItemsRegistry,
+ final SNPendingsMenuItemsRegistry pendingsMenuItemsRegistry) {
+ super(eventBus, view, proxy);
+ this.session = session;
+ this.downloadProvider = downloadProvider;
+ this.adminsMenuItemsRegistry = adminsMenuItemsRegistry;
+ this.collabsMenuItemsRegistry = collabsMenuItemsRegistry;
+ this.pendingsMenuItemsRegistry = pendingsMenuItemsRegistry;
+ stateManager.onStateChanged(new StateChangedEvent.StateChangedHandler() {
+ @Override
+ public void onStateChanged(final StateChangedEvent event) {
+ GroupMembersPresenter.this.onStateChanged(event.getState());
+ }
+ });
+ stateManager.onSocialNetworkChanged(new SocialNetworkChangedEvent.SocialNetworkChangedHandler() {
+
+ @Override
+ public void onSocialNetworkChanged(final SocialNetworkChangedEvent event) {
+ GroupMembersPresenter.this.onStateChanged(event.getState());
+ }
+ });
+ session.onInitDataReceived(new AppStartHandler() {
+ @Override
+ public void onAppStart(final AppStartEvent event) {
+ // FIXME
+ }
+ });
+ createActions();
+ }
+
+ private void createActions() {
+ // TODO
+ }
+
+ private GuiActionDescCollection createMenuItems(final GroupDTO group,
+ final AbstractSocialNetworActionsRegistry registry) {
+ final GuiActionDescCollection items = new GuiActionDescCollection();
+ for (final Provider<MenuItemDescriptor> provider : registry) {
+ final MenuItemDescriptor menuItem = provider.get();
+ menuItem.setItem(group);
+ items.add(menuItem);
+ }
+ return items;
+ }
+
+ private String getAvatar(final GroupDTO admin) {
+ return admin.hasLogo() ? downloadProvider.get().getLogoImageUrl(admin.getStateToken()) : "images/unknown.jpg";
+ }
+
+ private void onStateChanged(final StateAbstractDTO state) {
+ if (state.getGroup().isPersonal()) {
+ getView().setVisible(false);
+ } else {
+ if (state.getSocialNetworkData().isMembersVisible()) {
+ setGroupMembers(state.getGroupMembers(), state.getGroupRights());
+ } else {
+ getView().clear();
+ getView().showMemberNotPublic();
+ getView().setVisible(true);
+ }
+ }
+ }
+
+ @Override
+ protected void revealInParent() {
+ RevealRootContentEvent.fire(this, this);
+ }
+
+ private void setGroupMembers(final SocialNetworkDTO socialNetwork, final AccessRights rights) {
+ final AccessListsDTO accessLists = socialNetwork.getAccessLists();
+
+ final List<GroupDTO> adminsList = accessLists.getAdmins().getList();
+ final List<GroupDTO> collabList = accessLists.getEditors().getList();
+ final List<GroupDTO> pendingCollabsList = socialNetwork.getPendingCollaborators().getList();
+
+ final int numAdmins = adminsList.size();
+ final int numCollabs = collabList.size();
+ final int numPendings = pendingCollabsList.size();
+
+ if ((numAdmins + numCollabs + numPendings) == 0) {
+ getView().showOrphan();
+ } else {
+ final boolean userIsAdmin = rights.isAdministrable();
+ final boolean userCanView = rights.isVisible();
+
+ if (userCanView) {
+ for (final GroupDTO admin : adminsList) {
+ final String avatar = getAvatar(admin);
+ getView().addAdmin(admin, avatar, admin.getLongName(), "",
+ createMenuItems(admin, adminsMenuItemsRegistry));
+
+ }
+ for (final GroupDTO collab : collabList) {
+ final String avatar = getAvatar(collab);
+ getView().addCollab(collab, avatar, collab.getLongName(), "",
+ createMenuItems(collab, collabsMenuItemsRegistry));
+ }
+ if (userIsAdmin) {
+ for (final GroupDTO pendingCollab : pendingCollabsList) {
+ final String avatar = getAvatar(pendingCollab);
+ getView().addCollab(pendingCollab, avatar, pendingCollab.getLongName(), "",
+ createMenuItems(pendingCollab, pendingsMenuItemsRegistry));
+ }
+ }
+ getView().showMembers();
+ }
+ }
+ getView().setVisible(true);
+ }
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/GroupMembersPresenter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,60 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class AcceptJoinGroupAction extends AbstractExtendedAction {
+ public class AcceptJoinGroupMenuItem extends MenuItemDescriptor {
+
+ @Inject
+ public AcceptJoinGroupMenuItem(final AcceptJoinGroupAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+
+ private final StateManager stateManager;
+
+ @Inject
+ public AcceptJoinGroupAction(final StateManager stateManager, final Session session,
+ final I18nTranslationService i18n, final CoreResources res,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Accept this member"));
+ putValue(Action.SMALL_ICON, res.accept());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().acceptJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
+ ((GroupDTO) event.getSource()).getShortName(), new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member accepted"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/AcceptJoinGroupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,59 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class ChangeToAdminAction extends AbstractExtendedAction {
+ public class ChangeToAdminMenuItem extends MenuItemDescriptor {
+ @Inject
+ public ChangeToAdminMenuItem(final ChangeToAdminAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+
+ private final StateManager stateManager;
+
+ @Inject
+ public ChangeToAdminAction(final StateManager stateManager, final Session session,
+ final I18nTranslationService i18n, final CoreResources res,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Change to admin"));
+ putValue(Action.SMALL_ICON, res.arrowUpGreen());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().setCollabAsAdmin(session.getUserHash(), session.getCurrentState().getStateToken(),
+ ((GroupDTO) event.getSource()).getShortName(), new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member type changed"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToAdminAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,58 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class ChangeToCollabAction extends AbstractExtendedAction {
+ public class ChangeToCollabMenuItem extends MenuItemDescriptor {
+ @Inject
+ public ChangeToCollabMenuItem(final ChangeToCollabAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ private final StateManager stateManager;
+
+ @Inject
+ public ChangeToCollabAction(final StateManager stateManager, final Session session,
+ final I18nTranslationService i18n, final CoreResources res,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Change to collaborator"));
+ putValue(Action.SMALL_ICON, res.arrowDownGreen());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().setAdminAsCollab(session.getUserHash(), session.getCurrentState().getStateToken(),
+ ((GroupDTO) event.getSource()).getShortName(), new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member type changed"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/ChangeToCollabAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,59 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class DenyJoinGroupAction extends AbstractExtendedAction {
+ public class DenyJoinGroupMenuItem extends MenuItemDescriptor {
+ @Inject
+ public DenyJoinGroupMenuItem(final DenyJoinGroupAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+
+ private final StateManager stateManager;
+
+ @Inject
+ public DenyJoinGroupAction(final StateManager stateManager, final Session session,
+ final I18nTranslationService i18n, final CoreResources res,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Reject as member"));
+ putValue(Action.SMALL_ICON, res.cancel());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().denyJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
+ ((GroupDTO) event.getSource()).getShortName(), new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member rejected"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/DenyJoinGroupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,36 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+
+public class GotoGroupAction extends AbstractExtendedAction {
+ public class GotoGroupMenuItem extends MenuItemDescriptor {
+ @Inject
+ public GotoGroupMenuItem(final GotoGroupAction action) {
+ super(action);
+ }
+ }
+
+ private final StateManager stateManager;
+
+ @Inject
+ public GotoGroupAction(final StateManager stateManager, final I18nTranslationService i18n, final CoreResources res) {
+ this.stateManager = stateManager;
+ putValue(NAME, i18n.t("Visit this group homepage"));
+ putValue(Action.SMALL_ICON, res.groupHome());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ stateManager.gotoToken(((GroupDTO) event.getSource()).getStateToken());
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoGroupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,35 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+
+public class GotoMemberAction extends AbstractExtendedAction {
+ public class GotoMemberMenuItem extends MenuItemDescriptor {
+ @Inject
+ public GotoMemberMenuItem(final GotoMemberAction action) {
+ super(action);
+ }
+ }
+ private final StateManager stateManager;
+
+ @Inject
+ public GotoMemberAction(final StateManager stateManager, final I18nTranslationService i18n, final CoreResources res) {
+ this.stateManager = stateManager;
+ putValue(NAME, i18n.t("Visit this member homepage"));
+ putValue(Action.SMALL_ICON, res.groupHome());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ stateManager.gotoToken(((GroupDTO) event.getSource()).getStateToken());
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/GotoMemberAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,58 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class RemoveMemberAction extends AbstractExtendedAction {
+ public class RemoveMemberMenuItem extends MenuItemDescriptor {
+ @Inject
+ public RemoveMemberMenuItem(final RemoveMemberAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ private final StateManager stateManager;
+
+ @Inject
+ public RemoveMemberAction(final StateManager stateManager, final Session session,
+ final I18nTranslationService i18n, final CoreResources res,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Remove this member"));
+ putValue(Action.SMALL_ICON, res.del());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().deleteMember(session.getUserHash(), session.getCurrentState().getStateToken(),
+ ((GroupDTO) event.getSource()).getShortName(), new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member removed"));
+ stateManager.reload();
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/RemoveMemberAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,47 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.chat.client.ChatClient;
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class StartChatWithUserAction extends AbstractExtendedAction {
+ public class StartChatWithUserMenuItem extends MenuItemDescriptor {
+ @Inject
+ public StartChatWithUserMenuItem(final StartChatWithUserAction action) {
+ super(action);
+ }
+ }
+ private final Provider<ChatClient> chatClient;
+
+ private final I18nTranslationService i18n;
+
+ @Inject
+ public StartChatWithUserAction(final I18nTranslationService i18n, final CoreResources res,
+ final Provider<ChatClient> chatClient) {
+ this.i18n = i18n;
+ this.chatClient = chatClient;
+ putValue(NAME, i18n.t("Start a chat with this member"));
+ putValue(Action.SMALL_ICON, res.newChat());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ chatClient.get().show();
+ if (chatClient.get().isLoggedIn()) {
+ chatClient.get().chat(XmppURI.jid(((GroupDTO) event.getSource()).getShortName()));
+ } else {
+ NotifyUser.important(i18n.t("To start a chat you need to be 'online'"));
+ }
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/StartChatWithUserAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,60 @@
+package cc.kune.core.client.sn.actions;
+
+import cc.kune.common.client.actions.AbstractExtendedAction;
+import cc.kune.common.client.actions.Action;
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class UnJoinGroupAction extends AbstractExtendedAction {
+ public class UnJoinGroupMenuItem extends MenuItemDescriptor {
+ @Inject
+ public UnJoinGroupMenuItem(final UnJoinGroupAction action) {
+ super(action);
+ }
+ }
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ private final StateManager stateManager;
+
+ @Inject
+ public UnJoinGroupAction(final StateManager stateManager, final Session session, final I18nTranslationService i18n,
+ final CoreResources res, final Provider<SocialNetworkServiceAsync> snServiceProvider) {
+ this.stateManager = stateManager;
+ this.session = session;
+ this.i18n = i18n;
+ this.snServiceProvider = snServiceProvider;
+ putValue(NAME, i18n.t("Do not participate anymore in this group"));
+ putValue(Action.SMALL_ICON, res.del());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().unJoinGroup(session.getUserHash(), ((GroupDTO) event.getSource()).getStateToken(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Removed as member"));
+ stateManager.reload();
+ // in the future with user info:
+ // services.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
+ // result);
+ }
+ });
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/UnJoinGroupAction.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrableGroupWhenLoggedCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrableGroupWhenLoggedCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrableGroupWhenLoggedCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,25 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class AdministrableGroupWhenLoggedCondition implements GuiAddCondition {
+
+ private final Session session;
+
+ @Inject
+ public AdministrableGroupWhenLoggedCondition(final Session session) {
+ this.session = session;
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (!((GroupDTO) descr.getItem()).isPersonal() && session.isLogged() && session.getContentState().getGroupRights().isAdministrable());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrableGroupWhenLoggedCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrablePersonWhenLoggedCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrablePersonWhenLoggedCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrablePersonWhenLoggedCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,25 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class AdministrablePersonWhenLoggedCondition implements GuiAddCondition {
+
+ private final Session session;
+
+ @Inject
+ public AdministrablePersonWhenLoggedCondition(final Session session) {
+ this.session = session;
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (((GroupDTO) descr.getItem()).isPersonal() && session.isLogged() && session.getContentState().getGroupRights().isAdministrable());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/AdministrablePersonWhenLoggedCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/GroupWhenLoggedCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/GroupWhenLoggedCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/GroupWhenLoggedCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,25 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class GroupWhenLoggedCondition implements GuiAddCondition {
+
+ private final Session session;
+
+ @Inject
+ public GroupWhenLoggedCondition(final Session session) {
+ this.session = session;
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (!((GroupDTO) descr.getItem()).isPersonal() && session.isLogged());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/GroupWhenLoggedCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,24 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.client.state.Session;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class IsAdministrableCondition implements GuiAddCondition {
+
+ private final Session session;
+
+ @Inject
+ public IsAdministrableCondition(final Session session) {
+ this.session = session;
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (session.getContentState().getGroupRights().isAdministrable());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsAdministrableCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsGroupCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsGroupCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsGroupCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,21 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class IsGroupCondition implements GuiAddCondition {
+
+ @Inject
+ public IsGroupCondition() {
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (!((GroupDTO) descr.getItem()).isPersonal());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsGroupCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsPersonCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsPersonCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsPersonCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,21 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class IsPersonCondition implements GuiAddCondition {
+
+ @Inject
+ public IsPersonCondition() {
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (((GroupDTO) descr.getItem()).isPersonal());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/IsPersonCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/PersonWhenLoggedCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/PersonWhenLoggedCondition.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/PersonWhenLoggedCondition.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,25 @@
+package cc.kune.core.client.sn.actions.conditions;
+
+import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
+import cc.kune.common.client.actions.ui.descrip.GuiAddCondition;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class PersonWhenLoggedCondition implements GuiAddCondition {
+
+ private final Session session;
+
+ @Inject
+ public PersonWhenLoggedCondition(final Session session) {
+ this.session = session;
+ }
+
+ @Override
+ public boolean mustBeAdded(final GuiActionDescrip descr) {
+ return (((GroupDTO) descr.getItem()).isPersonal() && session.isLogged());
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/conditions/PersonWhenLoggedCondition.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,10 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import java.util.ArrayList;
+
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+
+import com.google.inject.Provider;
+
+public abstract class AbstractSocialNetworActionsRegistry extends ArrayList<Provider<MenuItemDescriptor>> { // NOPMD by vjrj on 10/02/11 3:19
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/AbstractSocialNetworActionsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,71 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.sn.actions.AcceptJoinGroupAction;
+import cc.kune.core.client.sn.actions.ChangeToAdminAction;
+import cc.kune.core.client.sn.actions.ChangeToCollabAction;
+import cc.kune.core.client.sn.actions.DenyJoinGroupAction;
+import cc.kune.core.client.sn.actions.GotoGroupAction;
+import cc.kune.core.client.sn.actions.GotoMemberAction;
+import cc.kune.core.client.sn.actions.RemoveMemberAction;
+import cc.kune.core.client.sn.actions.StartChatWithUserAction;
+import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
+import cc.kune.core.client.sn.actions.conditions.IsGroupCondition;
+import cc.kune.core.client.sn.actions.conditions.IsPersonCondition;
+import cc.kune.core.client.state.Session;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class SNAdminsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+
+ @Inject
+ public SNAdminsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
+ final IsPersonCondition isPersonCondition, final IsGroupCondition isGroupCondition,
+ final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
+ final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
+ final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
+ final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(changeToCollabAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(removeMemberAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoMemberAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoGroupAction);
+ item.setAddCondition(isGroupCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(startChatWithUserAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNAdminsMenuItemsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,71 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.sn.actions.AcceptJoinGroupAction;
+import cc.kune.core.client.sn.actions.ChangeToAdminAction;
+import cc.kune.core.client.sn.actions.ChangeToCollabAction;
+import cc.kune.core.client.sn.actions.DenyJoinGroupAction;
+import cc.kune.core.client.sn.actions.GotoGroupAction;
+import cc.kune.core.client.sn.actions.GotoMemberAction;
+import cc.kune.core.client.sn.actions.RemoveMemberAction;
+import cc.kune.core.client.sn.actions.StartChatWithUserAction;
+import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
+import cc.kune.core.client.sn.actions.conditions.IsGroupCondition;
+import cc.kune.core.client.sn.actions.conditions.IsPersonCondition;
+import cc.kune.core.client.state.Session;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class SNCollabsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+
+ @Inject
+ public SNCollabsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
+ final IsPersonCondition isPersonCondition, final IsGroupCondition isGroupCondition,
+ final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
+ final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
+ final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
+ final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(changeToAdminAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(removeMemberAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoMemberAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoGroupAction);
+ item.setAddCondition(isGroupCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(startChatWithUserAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNCollabsMenuItemsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,71 @@
+package cc.kune.core.client.sn.actions.registry;
+
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.core.client.sn.actions.AcceptJoinGroupAction;
+import cc.kune.core.client.sn.actions.ChangeToAdminAction;
+import cc.kune.core.client.sn.actions.ChangeToCollabAction;
+import cc.kune.core.client.sn.actions.DenyJoinGroupAction;
+import cc.kune.core.client.sn.actions.GotoGroupAction;
+import cc.kune.core.client.sn.actions.GotoMemberAction;
+import cc.kune.core.client.sn.actions.RemoveMemberAction;
+import cc.kune.core.client.sn.actions.StartChatWithUserAction;
+import cc.kune.core.client.sn.actions.conditions.IsAdministrableCondition;
+import cc.kune.core.client.sn.actions.conditions.IsGroupCondition;
+import cc.kune.core.client.sn.actions.conditions.IsPersonCondition;
+import cc.kune.core.client.state.Session;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class SNPendingsMenuItemsRegistry extends AbstractSocialNetworActionsRegistry {
+
+ @Inject
+ public SNPendingsMenuItemsRegistry(final Session session, final IsAdministrableCondition isAdministrableCondition,
+ final IsPersonCondition isPersonCondition, final IsGroupCondition isGroupCondition,
+ final ChangeToCollabAction changeToCollabAction, final ChangeToAdminAction changeToAdminAction,
+ final RemoveMemberAction removeMemberAction, final AcceptJoinGroupAction acceptJoinGroupAction,
+ final DenyJoinGroupAction denyJoinGroupAction, final StartChatWithUserAction startChatWithUserAction,
+ final GotoGroupAction gotoGroupAction, final GotoMemberAction gotoMemberAction) {
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(acceptJoinGroupAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(denyJoinGroupAction);
+ item.setAddCondition(isAdministrableCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoMemberAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(gotoGroupAction);
+ item.setAddCondition(isGroupCondition);
+ return item;
+ }
+ });
+ add(new Provider<MenuItemDescriptor>() {
+ @Override
+ public MenuItemDescriptor get() {
+ final MenuItemDescriptor item = new MenuItemDescriptor(startChatWithUserAction);
+ item.setAddCondition(isPersonCondition);
+ return item;
+ }
+ });
+ }
+
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/sn/actions/registry/SNPendingsMenuItemsRegistry.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/client/state/ContentProvider.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/ContentProvider.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/ContentProvider.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/state/ContentProviderDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/ContentProviderDefault.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/ContentProviderDefault.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/state/HistoryWrapper.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/HistoryWrapper.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/HistoryWrapper.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/state/HistoryWrapperDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/HistoryWrapperDefault.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/HistoryWrapperDefault.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/state/Session.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/Session.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/Session.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -20,7 +20,7 @@
/*
*
* This file is part of kune.
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -41,6 +41,7 @@
import java.util.Collection;
import java.util.List;
+import cc.kune.core.client.init.AppStartEvent;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.I18nCountryDTO;
@@ -135,15 +136,21 @@
boolean isNotLogged();
+ void onInitDataReceived(AppStartEvent.AppStartHandler handler);
+
@Deprecated
void onInitDataReceived(Listener<InitDataDTO> listener);
@Deprecated
void onUserSignIn(Listener<UserInfoDTO> listener);
+ void onUserSignIn(UserSignInEvent.UserSignInHandler handler);
+
@Deprecated
void onUserSignOut(Listener0 listener);
+ void onUserSignOut(UserSignOutEvent.UserSignOutHandler handler);
+
void setCurrentLanguage(final I18nLanguageDTO currentLanguage);
void setCurrentState(final StateAbstractDTO currentState);
Modified: trunk/src/main/java/cc/kune/core/client/state/SessionDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SessionDefault.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/SessionDefault.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -24,9 +24,13 @@
import cc.kune.common.client.errors.NotImplementedException;
import cc.kune.core.client.cookies.CookiesManager;
+import cc.kune.core.client.init.AppStartEvent;
+import cc.kune.core.client.init.AppStartEvent.AppStartHandler;
import cc.kune.core.client.logs.Log;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.rpcservices.UserServiceAsync;
+import cc.kune.core.client.state.UserSignInEvent.UserSignInHandler;
+import cc.kune.core.client.state.UserSignOutEvent.UserSignOutHandler;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.I18nCountryDTO;
import cc.kune.core.shared.dto.I18nLanguageDTO;
@@ -288,6 +292,11 @@
}
@Override
+ public void onInitDataReceived(final AppStartHandler handler) {
+ eventBus.addHandler(AppStartEvent.getType(), handler);
+ }
+
+ @Override
public void onInitDataReceived(final Listener<InitDataDTO> listener) {
throw new NotImplementedException();
}
@@ -298,11 +307,21 @@
}
@Override
+ public void onUserSignIn(final UserSignInHandler handler) {
+ eventBus.addHandler(UserSignInEvent.getType(), handler);
+ }
+
+ @Override
public void onUserSignOut(final Listener0 listener) {
throw new NotImplementedException();
}
@Override
+ public void onUserSignOut(final UserSignOutHandler handler) {
+ eventBus.addHandler(UserSignOutEvent.getType(), handler);
+ }
+
+ @Override
public void setCurrentLanguage(final I18nLanguageDTO currentLanguage) {
this.currentLanguage = currentLanguage;
}
Modified: trunk/src/main/java/cc/kune/core/client/state/StateManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/StateManager.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/StateManager.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -37,18 +37,26 @@
void gotoToken(String newToken);
+ void onGroupChanged(GroupChangedEvent.GroupChangedHandler handler);
+
@Deprecated
void onGroupChanged(Listener2<String, String> listener);
@Deprecated
void onSocialNetworkChanged(Listener<StateAbstractDTO> listener);
+ void onSocialNetworkChanged(SocialNetworkChangedEvent.SocialNetworkChangedHandler handler);
+
@Deprecated
void onStateChanged(Listener<StateAbstractDTO> listener);
+ void onStateChanged(StateChangedEvent.StateChangedHandler handler);
+
@Deprecated
void onToolChanged(Listener2<String, String> listener);
+ void onToolChanged(ToolChangedEvent.ToolChangedHandler handler);
+
void reload();
void removeBeforeStateChangeListener(BeforeActionListener listener);
Modified: trunk/src/main/java/cc/kune/core/client/state/StateManagerDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/StateManagerDefault.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/state/StateManagerDefault.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,7 +1,7 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -28,6 +28,10 @@
import cc.kune.core.client.logs.Log;
import cc.kune.core.client.notify.spiner.ProgressHideEvent;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.state.GroupChangedEvent.GroupChangedHandler;
+import cc.kune.core.client.state.SocialNetworkChangedEvent.SocialNetworkChangedHandler;
+import cc.kune.core.client.state.StateChangedEvent.StateChangedHandler;
+import cc.kune.core.client.state.ToolChangedEvent.ToolChangedHandler;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.SocialNetworkDataDTO;
import cc.kune.core.shared.dto.StateAbstractDTO;
@@ -126,6 +130,11 @@
}
@Override
+ public void onGroupChanged(final GroupChangedHandler handler) {
+ eventBus.addHandler(GroupChangedEvent.getType(), handler);
+ }
+
+ @Override
public void onGroupChanged(final Listener2<String, String> listener) {
throw new NotImplementedException();
}
@@ -168,16 +177,31 @@
}
@Override
+ public void onSocialNetworkChanged(final SocialNetworkChangedHandler handler) {
+ eventBus.addHandler(SocialNetworkChangedEvent.getType(), handler);
+ }
+
+ @Override
public void onStateChanged(final Listener<StateAbstractDTO> listener) {
throw new NotImplementedException();
}
@Override
+ public void onStateChanged(final StateChangedHandler handler) {
+ eventBus.addHandler(StateChangedEvent.getType(), handler);
+ }
+
+ @Override
public void onToolChanged(final Listener2<String, String> listener) {
throw new NotImplementedException();
}
@Override
+ public void onToolChanged(final ToolChangedHandler handler) {
+ eventBus.addHandler(ToolChangedEvent.getType(), handler);
+ }
+
+ @Override
public void onValueChange(final ValueChangeEvent<String> event) {
onHistoryChanged(event.getValue());
}
@@ -241,6 +265,5 @@
eventBus.fireEvent(new ProgressHideEvent());
checkGroupAndToolChange(newState);
previousToken = newState.getStateToken();
-
}
}
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -113,6 +113,11 @@
}
@Override
+ public void setFirstBtnTitle(final String title) {
+ firstBtn.setTitle(title);
+ }
+
+ @Override
public void setFirstBtnVisible(final boolean visible) {
firstBtn.setVisible(visible);
}
@@ -126,6 +131,11 @@
}
@Override
+ public void setSecondBtnTitle(final String title) {
+ secondBtn.setTitle(title);
+ }
+
+ @Override
public void setSecondBtnVisible(final boolean visible) {
secondBtn.setVisible(visible);
}
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -40,8 +40,12 @@
HasDirectionalText getTitleText();
+ void setFirstBtnTitle(String title);
+
void setFirstBtnVisible(boolean visible);
+ void setSecondBtnTitle(String title);
+
void setSecondBtnVisible(boolean visible);
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,6 +24,7 @@
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.logical.shared.HasCloseHandlers;
import com.google.gwt.user.client.ui.PopupPanel;
+import com.google.gwt.user.client.ui.UIObject;
public class BasicTopDialog extends BasicDialog {
@@ -58,7 +59,11 @@
}
- public void show() {
+ public void showCentered() {
popup.showCentered();
}
+
+ public void showRelativeTo(final UIObject object) {
+ popup.showRelativeTo(object);
+ }
}
Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,57 +1,57 @@
@CHARSET "UTF-8";
body {
- background-color: white;
- color: black;
- font-family: 'Ubuntu', Arial;
- font-size: small;
- margin: 5px;
- overflow: hidden;
+ background-color: white;
+ color: black;
+ font-family: 'Ubuntu', Arial;
+ font-size: small;
+ margin: 5px;
+ overflow: hidden;
}
* {
- font-family: 'Ubuntu', Arial;
+ font-family: 'Ubuntu', Arial;
}
body.fontface {
- font: 'Ubuntu', Arial;
+ font: 'Ubuntu', Arial;
}
a {
- color: darkblue;
+ color: darkblue;
}
a:visited {
- color: darkblue;
+ color: darkblue;
}
.gwt-DialogBox {
- border: 2px solid #AAAAAA;
- background-color: white;
+ border: 2px solid #AAAAAA;
+ background-color: white;
}
.gwt-DialogBox .Caption {
- background-image: url(gray_gradient.gif);
- background-repeat: repeat-x;
- padding: 4px;
- padding-bottom: 8px;
- font-weight: bold;
- cursor: default;
+ background-image: url(gray_gradient.gif);
+ background-repeat: repeat-x;
+ padding: 4px;
+ padding-bottom: 8px;
+ font-weight: bold;
+ cursor: default;
}
.gwt-MenuBar {
- background-color: #C3D9FF;
- cursor: default;
+ background-color: #C3D9FF;
+ cursor: default;
}
.gwt-MenuItem {
- font-size: 80%;
- margin: 1px;
- cursor: default;
+ font-size: 80%;
+ margin: 1px;
+ cursor: default;
}
.gwt-MenuItem-selected {
- background-color: #E8EEF7;
+ background-color: #E8EEF7;
}
.gwt-Tree {
@@ -59,26 +59,26 @@
}
.gwt-Tree .gwt-TreeItem {
- font-size: 80%;
- cursor: default;
+ font-size: 80%;
+ cursor: default;
}
.gwt-Tree .gwt-TreeItem-selected {
- background-color: #C3D9FF;
+ background-color: #C3D9FF;
}
.gwt-StackPanel {
- background-color: white;
- border: 1px solid #AAAAAA;
- width: 15em;
+ background-color: white;
+ border: 1px solid #AAAAAA;
+ width: 15em;
}
.gwt-StackPanel .gwt-StackPanelItem {
- background-image: url(blue_gradient.gif);
- background-repeat: repeat-x;
- background-color: #EEEEEE;
- cursor: pointer;
- cursor: hand;
+ background-image: url(blue_gradient.gif);
+ background-repeat: repeat-x;
+ background-color: #EEEEEE;
+ cursor: pointer;
+ cursor: hand;
}
.gwt-StackPanel .gwt-StackPanelItem-selected {
@@ -90,236 +90,236 @@
}
.gwt-TabPanelBottom {
- border-left: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- border-bottom: 1px solid #87b3ff;
+ border-left: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ border-bottom: 1px solid #87b3ff;
}
.gwt-TabBar {
- font-size: smaller;
+ font-size: smaller;
}
.gwt-TabBar .gwt-TabBarFirst {
- height: 100%;
- border-bottom: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- padding-left: 3px;
+ height: 100%;
+ border-bottom: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ padding-left: 3px;
}
.gwt-TabBar .gwt-TabBarRest {
- border-bottom: 1px solid #87b3ff;
- padding-right: 3px;
+ border-bottom: 1px solid #87b3ff;
+ padding-right: 3px;
}
.gwt-TabBar .gwt-TabBarItem {
- border-top: 1px solid #87b3ff;
- border-bottom: 1px solid #87b3ff;
- padding: 2px;
- cursor: hand;
- white-space: nowrap;
- border-right: 1px solid #87b3ff;
+ border-top: 1px solid #87b3ff;
+ border-bottom: 1px solid #87b3ff;
+ padding: 2px;
+ cursor: hand;
+ white-space: nowrap;
+ border-right: 1px solid #87b3ff;
}
.gwt-TabBar .gwt-TabBarItem-selected {
- font-weight: bold;
- background-color: #e8eef7;
- border-top: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- border-bottom: 1px solid #e8eef7;
- padding: 2px;
- cursor: default;
- white-space: nowrap;
+ font-weight: bold;
+ background-color: #e8eef7;
+ border-top: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ border-bottom: 1px solid #e8eef7;
+ padding: 2px;
+ cursor: default;
+ white-space: nowrap;
}
.gwt-PushButton-up {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-up-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-down {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-down-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-up {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-up-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-down {
- background-color: #C3D9FF;
- padding: 2px;
- background-color: #E8F1FF;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ background-color: #E8F1FF;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-down-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- background-color: #E8F1FF;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ background-color: #E8F1FF;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-RichTextArea {
- border: 1px solid black;
- background-color: white;
+ border: 1px solid black;
+ background-color: white;
}
.gwt-RichTextToolbar {
- background-color: #C3D9FF;
- padding: 2px;
+ background-color: #C3D9FF;
+ padding: 2px;
}
.gwt-RichTextToolbar .gwt-PushButton-up {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
}
.gwt-RichTextToolbar .gwt-PushButton-up-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
}
.gwt-RichTextToolbar .gwt-PushButton-down {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-PushButton-down-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-ToggleButton-up {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
}
.gwt-RichTextToolbar .gwt-ToggleButton-up-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
}
.gwt-RichTextToolbar .gwt-ToggleButton-down {
- margin-right: 2px;
- background-color: #E8F1FF;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ background-color: #E8F1FF;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-ToggleButton-down-hovering {
- margin-right: 2px;
- background-color: #E8F1FF;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ background-color: #E8F1FF;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-HorizontalSplitPanel {
- border: 8px solid #C3D9FF;
+ border: 8px solid #C3D9FF;
}
.gwt-HorizontalSplitPanel .splitter {
- background-color: #C3D9FF;
- cursor: move;
+ background-color: #C3D9FF;
+ cursor: move;
}
.gwt-HorizontalSplitPanel .left {
- background-color: #E8EEF7;
+ background-color: #E8EEF7;
}
.gwt-VerticalSplitPanel {
- border: 8px solid #C3D9FF;
+ border: 8px solid #C3D9FF;
}
.gwt-VerticalSplitPanel .splitter {
- background-color: #C3D9FF;
- height: 8px;
- cursor: move;
+ background-color: #C3D9FF;
+ height: 8px;
+ cursor: move;
}
.gwt-SuggestBoxPopup {
- border: 2px solid #C3D9FF;
+ border: 2px solid #C3D9FF;
}
.gwt-SuggestBoxPopup .item {
- padding: 2px;
+ padding: 2px;
}
.gwt-SuggestBoxPopup .item-selected {
- background-color: #C3D9FF;
- padding: 2px;
+ background-color: #C3D9FF;
+ padding: 2px;
}
.gwt-DisclosurePanel {
- border: 2px solid #C3D9FF;
+ border: 2px solid #C3D9FF;
}
.gwt-DisclosurePanel .header {
- background-color: #e8eef7;
- cursor: hand;
+ background-color: #e8eef7;
+ cursor: hand;
}
.gwt-SplitLayoutPanel {
@@ -327,62 +327,62 @@
}
.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-HDragger {
- background-color: white;
- background: none;
- cursor: col-resize;
+ background-color: white;
+ background: none;
+ cursor: col-resize;
}
.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-VDragger {
- background-color: white;
- background: none;
- cursor: row-resize;
+ background-color: white;
+ background: none;
+ cursor: row-resize;
}
.kLoadingPanel {
- background-color: #FF9999;
- -webkit-border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px;
- border-bottom-right-radius: 4px;
- padding: 0 1px 0 3px;
- border-collapse: separate;
- border-spacing: 2px;
+ background-color: #FF9999;
+ -webkit-border-bottom-right-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ border-bottom-right-radius: 4px;
+ padding: 0 1px 0 3px;
+ border-collapse: separate;
+ border-spacing: 2px;
}
.kLoadingLabel {
- font-size: 14px;
- color: white;
- font-weight: bold;
- padding: 0 5px 0 5px;
+ font-size: 14px;
+ color: white;
+ font-weight: bold;
+ padding: 0 5px 0 5px;
}
.k-space-sel {
- margin-right: 10px;
- background-color: #F2F2F2;
+ margin-right: 10px;
+ background-color: #F2F2F2;
}
.k-space-sel-btn {
- padding: 0 1px 0 1px;
- margin: 0 0 -2px;
+ padding: 0 1px 0 1px;
+ margin: 0 0 -2px;
}
.k-sitebar-logo {
- margin-top: 2px;
+ margin-top: 2px;
}
.x-btn button {
- font: 18px/27px 'Ubuntu', arial;
+ font: 18px/27px 'Ubuntu', arial;
}
.k-btn-sitebar,.k-btn-sitebar button {
- font: 13px 'Ubuntu', arial;
- color: #B3B3B3;
- cursor: pointer;
- text-decoration: underline;
- white-space: nowrap;
+ font: 13px 'Ubuntu', arial;
+ color: #B3B3B3;
+ cursor: pointer;
+ text-decoration: underline;
+ white-space: nowrap;
}
.k-btn-sitebar button {
- margin-top: -5px;
+ margin-top: -5px;
}
.k-sitebar { /* margin-top: -30px; */
@@ -390,247 +390,247 @@
}
.k-link {
- text-decoration: underline;
- color: green;
- cursor: pointer;
+ text-decoration: underline;
+ color: green;
+ cursor: pointer;
}
/* Margins */
.kune-Margin-40-trbl {
- margin: 40px;
+ margin: 40px;
}
.kune-Margin-40-lr {
- margin-left: 40px;
- margin-right: 40px;
+ margin-left: 40px;
+ margin-right: 40px;
}
.kune-Margin-40-tl {
- margin-top: 40px;
- margin-left: 40px;
+ margin-top: 40px;
+ margin-left: 40px;
}
.kune-Margin-40-tb {
- margin-top: 40px;
- margin-bottom: 40px;
+ margin-top: 40px;
+ margin-bottom: 40px;
}
.kune-Margin-40-t {
- margin-top: 40px;
+ margin-top: 40px;
}
.kune-Margin-40-r {
- margin-right: 40px;
+ margin-right: 40px;
}
.kune-Margin-40-l {
- margin-left: 40px;
+ margin-left: 40px;
}
.kune-Margin-20-trbl {
- margin: 20px;
+ margin: 20px;
}
.kune-Margin-20-lr {
- margin-left: 20px;
- margin-right: 20px;
+ margin-left: 20px;
+ margin-right: 20px;
}
.kune-Margin-20-tl {
- margin-top: 20px;
- margin-left: 20px;
+ margin-top: 20px;
+ margin-left: 20px;
}
.kune-Margin-20-tb {
- margin-top: 20px;
- margin-bottom: 20px;
+ margin-top: 20px;
+ margin-bottom: 20px;
}
.kune-Margin-20-t {
- margin-top: 20px;
+ margin-top: 20px;
}
.kune-Margin-20-r {
- margin-right: 20px;
+ margin-right: 20px;
}
.kune-Margin-20-l {
- margin-left: 20px;
+ margin-left: 20px;
}
.kune-Margin-Large-trbl {
- margin: 10px;
+ margin: 10px;
}
.kune-Margin-Large-lr {
- margin-left: 10px;
- margin-right: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
}
.kune-Margin-Large-tl {
- margin-top: 10px;
- margin-left: 10px;
+ margin-top: 10px;
+ margin-left: 10px;
}
.kune-Margin-Large-tb {
- margin-top: 10px;
- margin-bottom: 10px;
+ margin-top: 10px;
+ margin-bottom: 10px;
}
.kune-Margin-Large-t {
- margin-top: 10px;
+ margin-top: 10px;
}
.kune-Margin-Large-r {
- margin-right: 10px;
+ margin-right: 10px;
}
.kune-Margin-Large-l {
- margin-left: 10px;
+ margin-left: 10px;
}
.kune-Margin-7-trbl {
- margin: 7px;
+ margin: 7px;
}
.kune-Margin-7-lr {
- margin-left: 7px;
- margin-right: 7px;
+ margin-left: 7px;
+ margin-right: 7px;
}
.kune-Margin-7-tl {
- margin-top: 7px;
- margin-left: 7px;
+ margin-top: 7px;
+ margin-left: 7px;
}
.kune-Margin-7-tb {
- margin-top: 7px;
- margin-bottom: 7px;
+ margin-top: 7px;
+ margin-bottom: 7px;
}
.kune-Margin-7-t {
- margin-top: 7px;
+ margin-top: 7px;
}
.kune-Margin-7-r {
- margin-right: 7px;
+ margin-right: 7px;
}
.kune-Margin-7-b {
- margin-bottom: 7px;
+ margin-bottom: 7px;
}
.kune-Margin-7-l {
- margin-left: 7px;
+ margin-left: 7px;
}
.kune-Margin-Medium-trbl {
- margin: 5px;
+ margin: 5px;
}
.kune-Margin-Medium-lr {
- margin-left: 5px;
- margin-right: 5px;
+ margin-left: 5px;
+ margin-right: 5px;
}
.kune-Margin-Medium-tl {
- margin-top: 5px;
- margin-left: 5px;
+ margin-top: 5px;
+ margin-left: 5px;
}
.kune-Margin-Medium-tb {
- margin-top: 5px;
- margin-bottom: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
}
.kune-Margin-Medium-t {
- margin-top: 5px;
+ margin-top: 5px;
}
.kune-Margin-Medium-r {
- margin-right: 5px;
+ margin-right: 5px;
}
.kune-Margin-Medium-b {
- margin-bottom: 5px;
+ margin-bottom: 5px;
}
.kune-Margin-Medium-l {
- margin-left: 5px;
+ margin-left: 5px;
}
.kune-Margin-Small-trbl {
- margin: 3px;
+ margin: 3px;
}
.kune-Margin-Small-lr {
- margin-left: 3px;
- margin-right: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
}
.kune-Margin-Small-tl {
- margin-top: 3px;
- margin-left: 3px;
+ margin-top: 3px;
+ margin-left: 3px;
}
.kune-Margin-Small-tb {
- margin-top: 3px;
- margin-bottom: 3px;
+ margin-top: 3px;
+ margin-bottom: 3px;
}
.kune-Margin-Small-t {
- margin-top: 3px;
+ margin-top: 3px;
}
.kune-Margin-Small-l {
- margin-left: 3px;
+ margin-left: 3px;
}
.kune-Margin-Small-r {
- margin-right: 3px;
+ margin-right: 3px;
}
.kune-Margin-Small-b {
- margin-bottom: 3px;
+ margin-bottom: 3px;
}
.kune-Margin-Mini-trbl {
- margin: 1px;
+ margin: 1px;
}
.kune-Margin-Mini-lr {
- margin-left: 1px;
- margin-right: 1px;
+ margin-left: 1px;
+ margin-right: 1px;
}
.kune-Margin-Mini-tl {
- margin-top: 1px;
- margin-left: 1px;
+ margin-top: 1px;
+ margin-left: 1px;
}
.kune-Margin-Mini-tb {
- margin-top: 1px;
- margin-bottom: 1px;
+ margin-top: 1px;
+ margin-bottom: 1px;
}
.kune-Margin-Mini-t {
- margin-top: 1px;
+ margin-top: 1px;
}
.kune-Margin-Mini-r {
- margin-right: 1px;
+ margin-right: 1px;
}
.kune-Margin-Mini-b {
- margin-bottom: 1px;
+ margin-bottom: 1px;
}
.kune-Margin-Mini-l {
- margin-left: 1px;
+ margin-left: 1px;
}
.k-publicspace-msg {
- background-color: #E0E0E0;
+ background-color: #E0E0E0;
}
.k-publicspace-mask { /* background-color: #fff !important;
@@ -642,100 +642,192 @@
}
.k-publicspace-panel {
- margin: 5px;
- display: table-row;
+ margin: 5px;
+ display: table-row;
}
.k-publicspace-icon {
- margin: 3px 3px 3px 0;
- float: left;
+ margin: 3px 3px 3px 0;
+ float: left;
}
.k-publicspace-title {
- font-weight: bold;
- display: block;
- margin-bottom: 5px;
- font-size: 16px;
- display: table-caption;
+ font-weight: bold;
+ display: block;
+ margin-bottom: 5px;
+ font-size: 16px;
+ display: table-caption;
}
.k-publicspace-description {
- font-size: 14px;
- display: table-cell;
+ font-size: 14px;
+ display: table-cell;
}
.k-publicspace-actions {
- display: inline;
+ display: inline;
}
.k-message-panel {
- margin: 5px;
- display: table-row;
+ margin: 5px;
+ display: table-row;
}
.k-message-icon {
- margin: 3px 3px 3px 0;
- float: left;
+ margin: 3px 3px 3px 0;
+ float: left;
}
.k-message-title {
- font-weight: bold;
- display: block;
- margin-bottom: 5px;
- font-size: 16px;
- display: table-caption;
+ font-weight: bold;
+ display: block;
+ margin-bottom: 5px;
+ font-size: 16px;
+ display: table-caption;
}
.k-message-description {
- font-size: 14px;
- display: table-cell;
+ font-size: 14px;
+ display: table-cell;
}
.k-error-tb {
- background: #FFB380 none repeat scroll 0% 50%;
- /* color: #250; */
- padding: 10px;
+ background: #FFB380 none repeat scroll 0% 50%;
+ /* color: #250; */
+ padding: 10px;
}
.k-error-tb img {
- margin: 0 10px;
- float: left;
+ margin: 0 10px;
+ float: left;
}
.k-error-tb div {
- font-size: 14px;
- display: table-cell;
+ font-size: 14px;
+ display: table-cell;
}
.k-mask {
- background-color: #F2F2F2 !important;
- /* kfilter: alpha(opacity = 78) !important; */
- -moz-opacity: 0.78 !important;
- -khtml-opacity: 0.78 !important;
- opacity: 0.78 !important;
+ background-color: #F2F2F2 !important;
+ /* kfilter: alpha(opacity = 78) !important; */
+ -moz-opacity: 0.78 !important;
+ -khtml-opacity: 0.78 !important;
+ opacity: 0.78 !important;
}
.x-form-item-label {
- font-size: 14px;
- font-weight: bold;
- color: brown;
+ font-size: 14px;
+ font-weight: bold;
+ color: brown;
}
.x-form-text {
- font-size: 14px;
+ font-size: 14px;
}
.x-fieldset-header-text,.x-form-group-label,.x-form-cb-label {
- font-size: 14px;
- font-family: 'Ubuntu', Arial;
+ font-size: 14px;
+ font-family: 'Ubuntu', Arial;
}
.k-form-intro {
- font-size: 14px;
- margin-bottom: 10px;
+ font-size: 14px;
+ margin-bottom: 10px;
}
.k-form-fieldset {
- font-size: 16px;
- margin-left: 105px;
+ font-size: 16px;
+ margin-left: 105px;
+}
+
+.k-basic-thumb {
+ background-color: #F2F2F2;
+ -moz-border-radius: 2px;
+ -webkit-border-radius: 2px;
+ border-radius: 2px;
+}
+
+.k-basic-thumb img {
+ margin: 2px 2px 0px 2px;
+}
+
+.k-basic-thumb div {
+ margin: -3px 0px 0px 0px;
+ font-weight: normal;
+ font-size: 12px;
+}
+
+.k-sn-mainpanel {
+ font-size: 16px;
+ font-weight: bold;
+}
+
+.k-sn-maintitle {
+ margin: 5px;
+}
+
+.k-sn-maintitle {
+ color: #a05a2c;
+ font-size: 20px;
+}
+
+.k-sn-adminslabel,.k-sn-collabslabel,.k-sn-pendingslabel {
+ color: #FFF;
+ text-transform: lowercase;
+ padding-left: 10px;
+}
+
+.k-sn-adminslabel {
+
+}
+
+.k-sn-collabslabel {
+
+}
+
+.k-sn-pendingslabel {
+
+}
+
+.k-sn-adminspanel {
+ background-color: #a05a2c;
+}
+
+.k-sn-collabspanel {
+
+}
+
+.k-sn-pendingspanel {
+
+}
+
+.k-sn-adminsscroll,.k-sn-collabsscroll,.k-sn-pendingsscroll {
+ padding-left: 10px;
+}
+
+.k-sn-adminsscroll {
+
+}
+
+.k-sn-collabsscroll {
+
+}
+
+.k-sn-pendingsscroll {
+ margin: 5px;
+}
+
+.k-userconfirm-label {
+ width: 300px;
+ margin: 10px;
+}
+
+.k-sn-deck {
+ padding: 5px;
+}
+
+.k-sn-novisible-label,.k-sn-orphan-label {
+ color: #FFF;
+ font-size: 16px;
+ font-weight: bold;
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/cc/kune/gspace/client/resources/wsArmor.css 2011-02-10 03:07:28 UTC (rev 1243)
@@ -2,170 +2,170 @@
@external .*;
.floatLeft {
- float: left;
+ float: left;
}
.mainPanel {
- border-top: 2px solid white;
- border-bottom: 7px solid white;
- border-right: 7px solid white;
- border-left: 7px solid white;
+ border-top: 2px solid white;
+ border-bottom: 7px solid white;
+ border-right: 7px solid white;
+ border-left: 7px solid white;
}
.floatRight {
- float: right;
+ float: right;
}
.siteBar {
- overflow: hidden;
+ overflow: hidden;
}
.entityHeader {
- -webkit-border-top-left-radius: 10px;
- -moz-border-radius-topleft: 10px;
- border-top-left-radius: 10px;
- background-color: #f4e3d7;
- overflow: hidden;
+ -webkit-border-top-left-radius: 10px;
+ -moz-border-radius-topleft: 10px;
+ border-top-left-radius: 10px;
+ background-color: #f4e3d7;
+ overflow: hidden;
}
.entityFooter {
- -webkit-border-bottom-left-radius: 10px;
- -moz-border-radius-bottomleft: 10px;
- border-top-bottom-radius: 10px;
- background-color: #f7ebe3;
- padding: 7px 10px 0px 17px;
- overflow: hidden;
+ -webkit-border-bottom-left-radius: 10px;
+ -moz-border-radius-bottomleft: 10px;
+ border-top-bottom-radius: 10px;
+ background-color: #f7ebe3;
+ padding: 7px 10px 0px 17px;
+ overflow: hidden;
}
.entityFooter span {
- color: #784421;
- font-size: 16px;
- font-weight: bold;
+ color: #784421;
+ font-size: 16px;
+ font-weight: bold;
}
.entityHeader span {
- font-size: 56px;
- margin-left: 15px;
- color: #550000;
- font-weight: bold;
- font: 'UbuntuBold', Arial;
+ font-size: 56px;
+ margin-left: 15px;
+ color: #550000;
+ font-weight: bold;
+ font: 'UbuntuBold', Arial;
}
.docHeader {
- background-color: #c87137;
- overflow: hidden;
+ background-color: #c87137;
+ overflow: hidden;
}
.docHeaderArrow {
- position: relative;
- z-index: 10;
- top: -25px;
- left: 10px;
+ position: relative;
+ z-index: 10;
+ top: -25px;
+ left: 10px;
}
.docHeader span {
- color: #FFF;
- font-size: 28px;
- font-weight: bold;
- margin-left: 15px;
- font: 'UbuntuBold', Arial;
+ color: #FFF;
+ font-size: 28px;
+ font-weight: bold;
+ margin-left: 15px;
+ font: 'UbuntuBold', Arial;
}
.docSubheader {
- background-color: #f7ebe3;
- padding: 15px 0 0 15px;
- overflow: hidden;
+ background-color: #f7ebe3;
+ padding: 15px 0 0 15px;
+ overflow: hidden;
}
.docSubheaderLeft {
- position: relative;
- top: 0;
- left: -30px;
+ position: relative;
+ top: 0;
+ left: -30px;
}
.docSubheader span {
- color: #784421;
- font-size: 20px;
- font-weight: bold;
+ color: #784421;
+ font-size: 20px;
+ font-weight: bold;
}
.docEditorMargin {
- background-color: #f7ebe3;
+ background-color: #f7ebe3;
}
.docEditor {
- background-color: #FFF;
- border-left: 1px solid #959595;
- border-right: 1px solid #959595;
- border-top: 1px solid #959595;
- -webkit-border-top-left-radius: 7px;
- -moz-border-radius-topleft: 7px;
- border-top-left-radius: 7px;
- -webkit-border-top-right-radius: 7px;
- -moz-border-radius-topright: 7px;
- border-top-right-radius: 7px;
- padding: 5px;
+ background-color: #FFF;
+ border-left: 1px solid #959595;
+ border-right: 1px solid #959595;
+ border-top: 1px solid #959595;
+ -webkit-border-top-left-radius: 7px;
+ -moz-border-radius-topleft: 7px;
+ border-top-left-radius: 7px;
+ -webkit-border-top-right-radius: 7px;
+ -moz-border-radius-topright: 7px;
+ border-top-right-radius: 7px;
+ padding: 5px;
}
.docFooter {
- border-left: 1px solid #959595;
- border-right: 1px solid #959595;
- border-bottom: 1px solid #959595;
- background-color: #e3dbdb;
- -webkit-border-bottom-left-radius: 7px;
- -moz-border-radius-bottomleft: 7px;
- border-bottom-left-radius: 7px;
- -webkit-border-bottom-right-radius: 7px;
- -moz-border-radius-bottomright: 7px;
- border-bottom-right-radius: 7px;
- padding: 7px 7px 0 7px;
- overflow: hidden;
+ border-left: 1px solid #959595;
+ border-right: 1px solid #959595;
+ border-bottom: 1px solid #959595;
+ background-color: #e3dbdb;
+ -webkit-border-bottom-left-radius: 7px;
+ -moz-border-radius-bottomleft: 7px;
+ border-bottom-left-radius: 7px;
+ -webkit-border-bottom-right-radius: 7px;
+ -moz-border-radius-bottomright: 7px;
+ border-bottom-right-radius: 7px;
+ padding: 7px 7px 0 7px;
+ overflow: hidden;
}
.docFooter span {
- color: #784421;
- font-size: 16px;
- font-weight: bold;
+ color: #784421;
+ font-size: 16px;
+ font-weight: bold;
}
.entityTools {
- -webkit-border-top-right-radius: 10px;
- -moz-border-radius-topright: 10px;
- border-top-right-radius: 10px;
- -webkit-border-bottom-right-radius: 10px;
- -moz-border-radius-bottomright: 10px;
- border-bottom-right-radius: 10px;
- background-color: #DEAA87;
+ -webkit-border-top-right-radius: 10px;
+ -moz-border-radius-topright: 10px;
+ border-top-right-radius: 10px;
+ -webkit-border-bottom-right-radius: 10px;
+ -moz-border-radius-bottomright: 10px;
+ border-bottom-right-radius: 10px;
+ background-color: #DEAA87;
}
.entityToolsNorth {
- margin: 10px;
+ /* margin: 10px; */
}
.entityToolsNorth span {
- color: #a05a2c;
- font-size: 20px;
- font-weight: bold;
+ color: #a05a2c;
+ font-size: 20px;
+ font-weight: bold;
}
.entityToolsCenter {
- margin: 10px;
+ margin: 10px;
}
.entityToolsCenter span {
- color: #FFF;
- font-size: 22px;
- font-weight: bold;
+ color: #FFF;
+ font-size: 22px;
+ font-weight: bold;
}
.entityToolsSouth {
- border-top: 2px solid #FFF;
- padding: 10px;
+ border-top: 2px solid #FFF;
+ padding: 10px;
}
.entityToolsSouth span {
- color: #a05a2c;
- font-size: 20px;
- font-weight: bold;
+ color: #a05a2c;
+ font-size: 20px;
+ font-weight: bold;
}
Added: trunk/src/main/java/cc/kune/gspace/public/kune-gspace.css
===================================================================
--- trunk/src/main/java/cc/kune/gspace/public/kune-gspace.css (rev 0)
+++ trunk/src/main/java/cc/kune/gspace/public/kune-gspace.css 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1 @@
+/* TODO: extract wsArmor.css here */
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/gspace/public/kune-gspace.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/org/ourproject/kune/app/public/css/kune-new.css
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/public/css/kune-new.css 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/app/public/css/kune-new.css 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,694 +1,694 @@
.k-site-traybar {
- background: transparent none repeat scroll 0% 50%;
+ background: transparent none repeat scroll 0% 50%;
}
.k-blank-toolbar {
- background: #FFF none repeat scroll 0% 50%;
+ background: #FFF none repeat scroll 0% 50%;
}
.k-sitebar .kune-IconHyperlink {
- white-space: nowrap;
+ white-space: nowrap;
}
.k-sitebar .kune-IconHyperlink a:link {
- cursor: pointer;
- text-decoration: underline;
- color: #B3B3B3;
+ cursor: pointer;
+ text-decoration: underline;
+ color: #B3B3B3;
}
.k-sitebar .kune-IconHyperlink a:hover {
- text-decoration: underline;
+ text-decoration: underline;
}
.k-sitebar .kune-IconHyperlink a:visited {
- color: #B3B3B3;
+ color: #B3B3B3;
}
.k-sitebar-labellink {
- white-space: nowrap;
- color: #B3B3B3;
- cursor: pointer;
- text-decoration: underline;
+ white-space: nowrap;
+ color: #B3B3B3;
+ cursor: pointer;
+ text-decoration: underline;
}
.k-sitebar {
- margin-right: 10px;
- height: 16px;
+ margin-right: 10px;
+ height: 16px;
}
.k-sitebar .gwt-TextBox {
- border: 1px solid #E4A374;
- margin: 0 15px 0 3px;
- padding-left: 1px;
- color: #B3B3B3;
- background: transparent;
+ border: 1px solid #E4A374;
+ margin: 0 15px 0 3px;
+ padding-left: 1px;
+ color: #B3B3B3;
+ background: transparent;
}
.k-sitebar .gwt-Hyperlink a {
- white-space: nowrap;
- color: #B3B3B3;
- text-decoration: underline;
- cursor: pointer;
+ white-space: nowrap;
+ color: #B3B3B3;
+ text-decoration: underline;
+ cursor: pointer;
}
.k-sitebar .gwt-PushButton {
- cursor: pointer;
+ cursor: pointer;
}
.k-sitebar-LabelLink {
- white-space: nowrap;
- color: #B3B3B3;
- cursor: pointer;
- text-decoration: underline;
+ white-space: nowrap;
+ color: #B3B3B3;
+ cursor: pointer;
+ text-decoration: underline;
}
.k-entity-summary {
- border-left-color: transparent;
- border-left-width: 5px;
- border-bottom-color: transparent;
- border-bottom-width: 5px;
+ border-left-color: transparent;
+ border-left-width: 5px;
+ border-bottom-color: transparent;
+ border-bottom-width: 5px;
}
.k-entitytextlogo-border {
- border: 2px solid #F2F2F2;
+ border: 2px solid #F2F2F2;
}
.k-entitytextlogo-no-border {
- border: none;
+ border: none;
}
.k-entitytextlogo {
- height: 60px;
- margin: 0 0 4px 0;
- overflow: hidden;
- width: 468px;
+ height: 60px;
+ margin: 0 0 4px 0;
+ overflow: hidden;
+ width: 468px;
}
.k-entitytextlogo table {
- vertical-align: middle;
+ vertical-align: middle;
}
.k-elogo-l-l {
- font-size: 272%;
+ font-size: 272%;
}
.k-elogo-l-m {
- font-size: 167%;
+ font-size: 167%;
}
.k-elogo-l-s {
- font-size: 108%;
+ font-size: 108%;
}
.k-entitytextlogo .gwt-Label {
- font-weight: 700;
- margin: 5px;
- height: 27px;
+ font-weight: 700;
+ margin: 5px;
+ height: 27px;
}
.k-entitytextlogo-default .gwt-Label {
- color: #69312F;
+ color: #69312F;
}
.k-entitytextlogo-green .gwt-Label {
- color: #250;
+ color: #250;
}
.k-entitytextlogo-blue .gwt-Label {
- color: #000080;
+ color: #000080;
}
.k-entitytextlogo-grey .gwt-Label {
- color: #1A1A1A;
+ color: #1A1A1A;
}
.k-entitytextlogo-purple .gwt-Label {
- color: #440055;
+ color: #440055;
}
.k-entitytextlogo-red .gwt-Label {
- color: #800000;
+ color: #800000;
}
.k-elogo-plink {
- color: #CCC;
- font-size: 85%;
- margin: 5px;
- text-decoration: underline;
- white-space: nowrap;
- background-color: #FFF;
+ color: #CCC;
+ font-size: 85%;
+ margin: 5px;
+ text-decoration: underline;
+ white-space: nowrap;
+ background-color: #FFF;
}
.k-elogop-expand {
- background-color: transparent;
+ background-color: transparent;
}
.k-entity-default .x-layout-split,.k-entity-default .x-layout-collapsed
- {
- background: #DD8A3D none repeat scroll 0% 50%;
+ {
+ background: #DD8A3D none repeat scroll 0% 50%;
}
.k-entity-green .x-layout-split,.k-entity-green .x-layout-collapsed {
- background: #5FD35F none repeat scroll 0% 50%;
+ background: #5FD35F none repeat scroll 0% 50%;
}
.k-entity-blue .x-layout-split,.k-entity-blue .x-layout-collapsed {
- background: #0066FF none repeat scroll 0% 50%;
+ background: #0066FF none repeat scroll 0% 50%;
}
.k-entity-grey .x-layout-split,.k-entity-grey .x-layout-collapsed {
- background: #4D4D4D none repeat scroll 0% 50%;
+ background: #4D4D4D none repeat scroll 0% 50%;
}
.k-entity-purple .x-layout-split,.k-entity-purple .x-layout-collapsed {
- background: #660080 none repeat scroll 0% 50%;
+ background: #660080 none repeat scroll 0% 50%;
}
.k-entity-red .x-layout-split,.k-entity-red .x-layout-collapsed {
- background: #D40000 none repeat scroll 0% 50%;
+ background: #D40000 none repeat scroll 0% 50%;
}
.k-entityworkspace .x-layout-split,.k-entityworkspace .x-layout-collapsed
- {
- background: transparent none repeat scroll 0% 50%;
+ {
+ background: transparent none repeat scroll 0% 50%;
}
.k-entityworkspace-default .x-layout-split,.k-entityworkspace-default .x-layout-collapsed
- {
- background: #DEAA87 none repeat scroll 0% 50%;
+ {
+ background: #DEAA87 none repeat scroll 0% 50%;
}
.k-entityworkspace-green .x-layout-split,.k-entityworkspace-green .x-layout-collapsed
- {
- background: #DCE8AB none repeat scroll 0% 50%;
+ {
+ background: #DCE8AB none repeat scroll 0% 50%;
}
.k-entityworkspace-blue .x-layout-split,.k-entityworkspace-blue .x-layout-collapsed
- {
- background: #D5D5FF none repeat scroll 0% 50%;
+ {
+ background: #D5D5FF none repeat scroll 0% 50%;
}
.k-entityworkspace-grey .x-layout-split,.k-entityworkspace-grey .x-layout-collapsed
- {
- background: #999999 none repeat scroll 0% 50%;
+ {
+ background: #999999 none repeat scroll 0% 50%;
}
.k-entityworkspace-purple .x-layout-split,.k-entityworkspace-purple .x-layout-collapsed
- {
- background: #A793AC none repeat scroll 0% 50%;
+ {
+ background: #A793AC none repeat scroll 0% 50%;
}
.k-entityworkspace-red .x-layout-split,.k-entityworkspace-red .x-layout-collapsed
- {
- background: #FF5555 none repeat scroll 0% 50%;
+ {
+ background: #FF5555 none repeat scroll 0% 50%;
}
.k-entity-title {
- border-left-style: solid;
- border-left-width: 5px;
+ border-left-style: solid;
+ border-left-width: 5px;
}
.k-entity-title div {
- line-height: 22px;
- white-space: nowrap;
+ line-height: 22px;
+ white-space: nowrap;
}
.k-entity-subtitle {
-
+
}
.k-entity-subtitle div {
- line-height: 22px;
- white-space: nowrap;
+ line-height: 22px;
+ white-space: nowrap;
}
.k-entity-title-rd-default {
- background: #DD8A3D;
+ background: #DD8A3D;
}
.k-entity-title-rd-green {
- background: #5FD35F;
+ background: #5FD35F;
}
.k-entity-title-rd-blue {
- background: #0066FF;
+ background: #0066FF;
}
.k-entity-title-rd-grey {
- background: #4D4D4D;
+ background: #4D4D4D;
}
.k-entity-title-rd-purple {
- background: #660080;
+ background: #660080;
}
.k-entity-title-rd-red {
- background: #D40000;
+ background: #D40000;
}
.k-entity-title-default {
- background: #F1BB59 none repeat scroll 0% 50%;
- border-left-color: #DD8A3D;
+ background: #F1BB59 none repeat scroll 0% 50%;
+ border-left-color: #DD8A3D;
}
.k-entity-title-green {
- background: #AFA none repeat scroll 0% 50%;
- border-left-color: #5FD35F;
+ background: #AFA none repeat scroll 0% 50%;
+ border-left-color: #5FD35F;
}
.k-entity-title-blue {
- background: #AFDDE9 none repeat scroll 0% 50%;
- border-left-color: #0066FF;
+ background: #AFDDE9 none repeat scroll 0% 50%;
+ border-left-color: #0066FF;
}
.k-entity-title-grey {
- background: #CCCCCC none repeat scroll 0% 50%;
- border-left-color: #4D4D4D;
+ background: #CCCCCC none repeat scroll 0% 50%;
+ border-left-color: #4D4D4D;
}
.k-entity-title-purple {
- background: #DDAFE9 none repeat scroll 0% 50%;
- border-left-color: #660080;
+ background: #DDAFE9 none repeat scroll 0% 50%;
+ border-left-color: #660080;
}
.k-entity-title-red {
- background: #FF8080 none repeat scroll 0% 50%;
- border-left-color: #D40000;
+ background: #FF8080 none repeat scroll 0% 50%;
+ border-left-color: #D40000;
}
.k-entity-title-default div {
- color: #69312F;
+ color: #69312F;
}
.k-entity-title-green div {
- color: #250;
+ color: #250;
}
.k-entity-title-blue div {
- color: #000080;
+ color: #000080;
}
.k-entity-title-grey div {
- color: #1A1A1A;
+ color: #1A1A1A;
}
.k-entity-title-purple div {
- color: #440055;
+ color: #440055;
}
.k-entity-title-red div {
- color: #800000;
+ color: #800000;
}
.k-entity-subtitle-default {
- background: #DD8A3D none repeat scroll 0% 50%;
+ background: #DD8A3D none repeat scroll 0% 50%;
}
.k-entity-subtitle-green {
- background: #5FD35F none repeat scroll 0% 50%;
+ background: #5FD35F none repeat scroll 0% 50%;
}
.k-entity-subtitle-blue {
- background: #0066FF none repeat scroll 0% 50%;
+ background: #0066FF none repeat scroll 0% 50%;
}
.k-entity-subtitle-grey {
- background: #4D4D4D none repeat scroll 0% 50%;
+ background: #4D4D4D none repeat scroll 0% 50%;
}
.k-entity-subtitle-purple {
- background: #660080 none repeat scroll 0% 50%;
+ background: #660080 none repeat scroll 0% 50%;
}
.k-entity-subtitle-red {
- background: #D40000 none repeat scroll 0% 50%;
+ background: #D40000 none repeat scroll 0% 50%;
}
.k-entity-subtitle-default div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-subtitle-green div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-subtitle-blue div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-subtitle-grey div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-subtitle-purple div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-subtitle-red div {
- color: #FFF;
+ color: #FFF;
}
.k-entity-bottom-rd-default,.k-entity-bottom-default,.k-toolselectoritem-sel-default
- {
- background: #DD8A3D;
+ {
+ background: #DD8A3D;
}
.k-entity-bottom-rd-green,.k-entity-bottom-green,.k-toolselectoritem-sel-green
- {
- background: #5FD35F;
+ {
+ background: #5FD35F;
}
.k-entity-bottom-rd-blue,.k-entity-bottom-blue,.k-toolselectoritem-sel-blue
- {
- background: #0066FF;
+ {
+ background: #0066FF;
}
.k-entity-bottom-rd-grey,.k-entity-bottom-grey,.k-toolselectoritem-sel-grey
- {
- background: #4D4D4D;
+ {
+ background: #4D4D4D;
}
.k-entity-bottom-rd-purple,.k-entity-bottom-purple,.k-toolselectoritem-sel-purple
- {
- background: #660080;
+ {
+ background: #660080;
}
.k-entity-bottom-rd-red,.k-entity-bottom-red,.k-toolselectoritem-sel-red
- {
- background: #D40000;
+ {
+ background: #D40000;
}
.k-entity-context-default div,.k-entity-context-default .x-tree .x-panel-body
- {
- background: #FFD09D none repeat scroll 0% 50%;
+ {
+ background: #FFD09D none repeat scroll 0% 50%;
}
.k-entity-context-green div,.k-entity-context-green .x-tree .x-panel-body
- {
- background: #CFA none repeat scroll 0% 50%;
+ {
+ background: #CFA none repeat scroll 0% 50%;
}
.k-entity-context-blue div,.k-entity-context-blue .x-tree .x-panel-body
- {
- background: #AACCFF none repeat scroll 0% 50%;
+ {
+ background: #AACCFF none repeat scroll 0% 50%;
}
.k-entity-context-grey div,.k-entity-context-grey .x-tree .x-panel-body
- {
- background: #B3B3B3 none repeat scroll 0% 50%;
+ {
+ background: #B3B3B3 none repeat scroll 0% 50%;
}
.k-entity-context-purple div,.k-entity-context-purple .x-tree .x-panel-body
- {
- background: #DDAFE9 none repeat scroll 0% 50%;
+ {
+ background: #DDAFE9 none repeat scroll 0% 50%;
}
.k-entity-context-red div,.k-entity-context-red .x-tree .x-panel-body {
- background: #FFAAAA none repeat scroll 0% 50%;
+ background: #FFAAAA none repeat scroll 0% 50%;
}
.k-entity-context-purple .x-tree .x-panel-body {
- background: #DDAFE9 none repeat scroll 0% 50%;
+ background: #DDAFE9 none repeat scroll 0% 50%;
}
.k-entity-content {
- background: #FFF;
+ background: #FFF;
}
.k-entity-bottom div { /* line-height: 24px; */
- color: #FFF;
+ color: #FFF;
}
.k-toolbar-top-line {
- border-top-color: rgb(208, 208, 208);
- border-top-style: solid;
- border-top-width: 1px;
+ border-top-color: rgb(208, 208, 208);
+ border-top-style: solid;
+ border-top-width: 1px;
}
.k-toolbar-bottom-line {
- border-bottom-color: rgb(208, 208, 208);
- border-bottom-style: solid;
- border-bottom-width: 1px;
+ border-bottom-color: rgb(208, 208, 208);
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
}
.x-toolbar td,.x-toolbar span,.x-toolbar input,.x-toolbar div,.x-toolbar select,.x-toolbar label
- {
- white-space: nowrap;
- font: normal 100% arial, sans;
- line-height: 19px;
+ {
+ white-space: nowrap;
+ font: normal 100% arial, sans;
+ line-height: 19px;
}
.k-toolbar-sep {
- padding-top: 4px;
- padding-left: 5px;
+ padding-top: 4px;
+ padding-left: 5px;
}
/* Custom gwt-ext styles */
.ytb-sep {
- background-image:
- url(../js/ext/resources/images/default/grid/grid-split.gif);
- background-position: center;
- background-repeat: no-repeat;
- display: block;
- font-size: 1px;
- height: 16px;
- width: 4px;
- overflow: hidden;
- cursor: default;
- margin: 0 2px 0;
- border: 0;
+ background-image:
+ url(../js/ext/resources/images/default/grid/grid-split.gif);
+ background-position: center;
+ background-repeat: no-repeat;
+ display: block;
+ font-size: 1px;
+ height: 16px;
+ width: 4px;
+ overflow: hidden;
+ cursor: default;
+ margin: 0 2px 0;
+ border: 0;
}
.ytb-spacer {
- width: 2px;
+ width: 2px;
}
.x-grid-group-hd {
- border-bottom: 2px solid grey;
- cursor: pointer;
- padding-top: 3px;
+ border-bottom: 2px solid grey;
+ cursor: pointer;
+ padding-top: 3px;
}
/* Drop down */
.k-dropdownouter {
- background-color: grey;
+ background-color: grey;
}
.k-dropdownouter-members {
-
+
}
.k-dropdownouter-members-default {
- background-color: #DF5244;
+ background-color: #DF5244;
}
.k-dropdownouter-members-green {
- background-color: #008000;
+ background-color: #008000;
}
.k-dropdownouter-members-blue {
- background-color: #5500D4;
+ background-color: #5500D4;
}
.k-dropdownouter-members-grey {
- background-color: #4D4D4D;
+ background-color: #4D4D4D;
}
.k-dropdownouter-members-purple {
- background-color: #672178;
+ background-color: #672178;
}
.k-dropdownouter-members-red {
- background-color: #A02C2C;
+ background-color: #A02C2C;
}
.k-dropdownouter-part {
-
+
}
.k-dropdownouter-part-default {
- background-color: #CA5842;
+ background-color: #CA5842;
}
.k-dropdownouter-part-green {
- background-color: #00AA00;
+ background-color: #00AA00;
}
.k-dropdownouter-part-blue {
- background-color: #6600FF;
+ background-color: #6600FF;
}
.k-dropdownouter-part-grey {
- background-color: #666666;
+ background-color: #666666;
}
.k-dropdownouter-part-purple {
- background-color: #892CA0;
+ background-color: #892CA0;
}
.k-dropdownouter-part-red {
- background-color: #C83737;
+ background-color: #C83737;
}
.k-dropdownouter-tags {
-
+
}
.k-dropdownouter-tags-default {
- background-color: #87501E;
+ background-color: #87501E;
}
.k-dropdownouter-tags-green {
- background-color: #00D400;
+ background-color: #00D400;
}
.k-dropdownouter-tags-blue {
- background-color: #9955FF;
+ background-color: #9955FF;
}
.k-dropdownouter-tags-grey {
- background-color: #808080;
+ background-color: #808080;
}
.k-dropdownouter-tags-purple {
- background-color: #AB37C8;
+ background-color: #AB37C8;
}
.k-dropdownouter-tags-red {
- background-color: #D35F5F;
+ background-color: #D35F5F;
}
.k-dropdownouter-summary {
-
+
}
.k-dropdownouter-summary-default {
- background-color: #9F734B;
+ background-color: #9F734B;
}
.k-dropdownouter-summary-green {
- background-color: #4CE14C;
+ background-color: #4CE14C;
}
.k-dropdownouter-summary-blue {
- background-color: #69A5FF;
+ background-color: #69A5FF;
}
.k-dropdownouter-summary-grey {
- background-color: #A6A6A6;
+ background-color: #A6A6A6;
}
.k-dropdownouter-summary-purple {
- background-color: #C473D8;
+ background-color: #C473D8;
}
.k-dropdownouter-summary-red {
- background-color: #E08F8F;
+ background-color: #E08F8F;
}
.k-dropdowninner {
- margin: 0 3px 1px 3px;
- background: green;
- background-color: #FFF;
- /* padding: 3px; */
+ margin: 0 3px 1px 3px;
+ background: green;
+ background-color: #FFF;
+ /* padding: 3px; */
}
.k-dropdownlabel {
- color: #FFF;
- cursor: pointer;
+ color: #FFF;
+ cursor: pointer;
}
.k-dropdownlabel .gwt-Label {
- margin: 0 5px 0 0;
- width: 100%;
+ margin: 0 5px 0 0;
+ width: 100%;
}
.k-dropdownlabel img {
- margin: 0 3px 0 1px;
+ margin: 0 3px 0 1px;
}
/* WsTheme */
.k-wstheme-icon-default {
- background: #FF8C00;
+ background: #FF8C00;
}
.k-wstheme-icon-green {
- background: green;
+ background: green;
}
.k-wstheme-icon-blue {
- background: blue;
+ background: blue;
}
.k-wstheme-icon-grey {
- background: grey;
+ background: grey;
}
.k-wstheme-icon-purple {
- background: purple;
+ background: purple;
}
.k-wstheme-icon-red {
- background: red;
+ background: red;
}
/* Tool selector items */
.k-toolselectoritem {
- width: auto;
- margin-bottom: 5px;
- cursor: pointer;
+ width: auto;
+ margin-bottom: 5px;
+ cursor: pointer;
}
.k-toolselectoritem-sel {
-
+
}
.k-toolselectoritem-notsel-default {
- background: #FFE9A5;
+ background: #FFE9A5;
}
.k-toolselectoritem-notsel-green {
- background: #D6F4D6;
+ background: #D6F4D6;
}
.k-toolselectoritem-notsel-blue {
- background: #D7D7F4;
+ background: #D7D7F4;
}
.k-toolselectoritem-notsel-grey {
- background: #E6E6E6;
+ background: #E6E6E6;
}
.k-toolselectoritem-notsel-purple {
- background: #EED7F4;
+ background: #EED7F4;
}
.k-toolselectoritem-notsel-red {
- background: #FFD5D5;
+ background: #FFD5D5;
}
.k-toolselectoritem-sel a {
- color: #FFF;
- padding: 0 9px;
- text-decoration: none;
+ color: #FFF;
+ padding: 0 9px;
+ text-decoration: none;
}
.k-toolselectoritem-sel a:hover {
- text-decoration: none;
+ text-decoration: none;
}
.k-toolselectoritem-notsel {
-
+
}
.k-toolselectoritem-notsel a {
- color: #0000FF;
- padding: 0 9px;
- text-decoration: none;
+ color: #0000FF;
+ padding: 0 9px;
+ text-decoration: none;
}
.k-toolselectoritem-notsel a:hover {
- text-decoration: underline;
+ text-decoration: underline;
}
/* others */ /*
@@ -699,231 +699,231 @@
}
*/
.x-tree-node .k-ctn-status-normal a span {
-
+
}
.x-tree-node .k-ctn-status-deleted a span {
- text-decoration: line-through;
- color: gray;
+ text-decoration: line-through;
+ color: gray;
}
.x-tree-node .k-ctn-status-rejected a span {
- text-decoration: line-through;
- /* color: #FF6633; */
- color: #FF3300;
+ text-decoration: line-through;
+ /* color: #FF6633; */
+ color: #FF3300;
}
.x-tree-node .k-ctn-status-editing a span {
- font-style: italic;
- color: gray;
+ font-style: italic;
+ color: gray;
}
.x-tree-node .k-ctn-status-submitted a span {
- color: green;
+ color: green;
}
.k-info-links {
- text-decoration: underline;
- color: gray;
- cursor: pointer;
+ text-decoration: underline;
+ color: gray;
+ cursor: pointer;
}
.x-tool-kmenu {
- background-position: 0 -75px;
+ background-position: 0 -75px;
}
.x-tool-kmenu-over {
- background-position: -15px -75px;
+ background-position: -15px -75px;
}
.k-border-openbox {
- border-bottom: 1px #D0D0D0 solid;
- border-right: 1px #D0D0D0 solid;
- border-left: 1px #D0D0D0 solid;
+ border-bottom: 1px #D0D0D0 solid;
+ border-right: 1px #D0D0D0 solid;
+ border-left: 1px #D0D0D0 solid;
}
/* SiteToastMessages */
.k-stm-info-icon {
- background-image: url(img/info.gif) !important;
+ background-image: url(img/info.gif) !important;
}
.k-stm-imp-icon {
- background-image: url(img/alert.gif) !important;
+ background-image: url(img/alert.gif) !important;
}
.k-stm-verimp-icon {
- background-image: url(img/important.gif) !important;
+ background-image: url(img/important.gif) !important;
}
.k-stm-error-icon {
- background-image: url(img/error.gif) !important;
+ background-image: url(img/error.gif) !important;
}
.k-infod-head {
- font-size: 108%;
- margin-bottom: 10px;
+ font-size: 108%;
+ margin-bottom: 10px;
}
.gwt-DisclosurePanel {
-
+
}
.gwt-DisclosurePanel-open {
-
+
}
.gwt-DisclosurePanel-closed {
-
+
}
.gwt-DisclosurePanel .header,.gwt-DisclosurePanel .header a,.gwt-DisclosurePanel .header td
- {
- text-decoration: none; /* Remove underline from header */
- color: black;
- cursor: pointer;
- cursor: hand;
+ {
+ text-decoration: none; /* Remove underline from header */
+ color: black;
+ cursor: pointer;
+ cursor: hand;
}
.gwt-DisclosurePanel .content {
- border-left: 3px solid #e8eef7;
- padding: 4px 0px 4px 8px;
- margin-left: 6px;
+ border-left: 3px solid #e8eef7;
+ padding: 4px 0px 4px 8px;
+ margin-left: 6px;
}
.k-basic-thumb {
- background: #FAFAFA none repeat scroll 0% 50%;
- border: 1px solid #EBEBEB;
- padding: 3px;
- margin: 3px;
+ background: #FAFAFA none repeat scroll 0% 50%;
+ border: 1px solid #EBEBEB;
+ padding: 3px;
+ margin: 3px;
}
.k-basic-thumb td {
- padding: 2px 3px 2px 3px;
- border: none;
+ padding: 2px 3px 2px 3px;
+ border: none;
}
.k-text-gray {
- color: gray;
+ color: gray;
}
.k-elp-limg {
- margin-top: 4px;
- margin-left: 5px;
- cursor: pointer;
- overflow: hidden;
+ margin-top: 4px;
+ margin-left: 5px;
+ cursor: pointer;
+ overflow: hidden;
}
.k-tsp-tag {
- float: left;
- padding: 3px;
- cursor: pointer;
- color: #0000FF;
+ float: left;
+ padding: 3px;
+ cursor: pointer;
+ color: #0000FF;
}
.k-tsp-cloud {
- line-height: 1.5em;
- text-align: center;
+ line-height: 1.5em;
+ text-align: center;
}
.k-link-icon {
- background-image: url(img/link.gif) !important;
+ background-image: url(img/link.gif) !important;
}
.k-options-icon {
- background-image: url(img/emblem-system.gif) !important;
+ background-image: url(img/emblem-system.gif) !important;
}
.k-copyleft-icon {
- background-image: url(img/copyleft.png) !important;
+ background-image: url(img/copyleft.png) !important;
}
.k-picture-icon {
- background-image: url(img/picture.png) !important;
+ background-image: url(img/picture.png) !important;
}
.k-film-icon {
- background-image: url(img/film.png) !important;
+ background-image: url(img/film.png) !important;
}
.k-specialchars-icon {
- background-image: url(img/specialchars.png) !important;
+ background-image: url(img/specialchars.png) !important;
}
.k-info-icon {
- background-image: url(img/info.gif) !important;
+ background-image: url(img/info.gif) !important;
}
.k-newgroup-icon {
- background-image: url(img/kune-icon16.png) !important;
+ background-image: url(img/kune-icon16.png) !important;
}
.k-colors-icon {
- background-image: url(img/colors.gif) !important;
+ background-image: url(img/colors.gif) !important;
}
.x-toolbar-body table { /* width: 100%; */
-
+
}
.k-preview-msg {
- background: #FFCCAA;
+ background: #FFCCAA;
}
.k-preview-msg-lab {
- background: #FFCCAA;
- padding: 0 5px;
+ background: #FFCCAA;
+ padding: 0 5px;
}
.k-eil-edit {
- border: thin solid black;
+ border: thin solid black;
}
/* duplicated in rte.css */
.k-rte-comment {
- border: 1px dashed #C0C0C0;
- line-height: 1.4;
- padding: 1px;
- background-color: #D7FFD7;
+ border: 1px dashed #C0C0C0;
+ line-height: 1.4;
+ padding: 1px;
+ background-color: #D7FFD7;
}
.k-specialchar-grid {
- border: 1px solid #ACA899;
+ border: 1px solid #ACA899;
}
.k-specialchar-grid table {
-
+
}
.k-specialchar-grid div {
- line-height: 22px;
+ line-height: 22px;
}
.k-specialchar-grid td {
- padding: 1px;
+ padding: 1px;
}
.k-specialchar-pb {
- border: 1px solid #EBE8D7;
- cursor: pointer;
- font-size: 108% !important;
- text-align: center;
- vertical-align: middle;
- width: 18px;
- height: 18px;
+ border: 1px solid #EBE8D7;
+ cursor: pointer;
+ font-size: 108% !important;
+ text-align: center;
+ vertical-align: middle;
+ width: 18px;
+ height: 18px;
}
.k-specialchar-pb-up {
-
+
}
.k-specialchar-big {
- padding: 3px;
- line-height: 22px;
- font-size: 197% !important;
+ padding: 3px;
+ line-height: 22px;
+ font-size: 197% !important;
}
.k-specialchar-adv-label {
- margin-left: -10px;
+ margin-left: -10px;
}
.k-specialchar-popup
@@ -1019,79 +1019,79 @@
;
}
.k-specialchar-pb-down {
- color: #161616;
+ color: #161616;
}
.k-specialchar-pb-up-hovering {
- border: thin solid #ACA899;
+ border: thin solid #ACA899;
}
.k-specialchar-pb-down-hovering {
- color: #161616;
+ color: #161616;
}
.k-preview-panel {
- border: dashed 1px gray;
- padding: 5px;
+ border: dashed 1px gray;
+ padding: 5px;
}
.k-rte-changelink {
- white-space: nowrap;
- color: navy;
- cursor: pointer;
- text-decoration: underline;
- margin: 5px;
+ white-space: nowrap;
+ color: navy;
+ cursor: pointer;
+ text-decoration: underline;
+ margin: 5px;
}
.k-rte-changelink-popup {
- border: 1px solid #C0C0C0;
- z-index: 9999 !important;
- background-color: #ECECEC;
+ border: 1px solid #C0C0C0;
+ z-index: 9999 !important;
+ background-color: #ECECEC;
}
.e-ui-room {
- height: 27px;
- line-height: 22px;
+ height: 27px;
+ line-height: 22px;
}
.e-ui-room input {
- font-size: 100%;
- margin-left: 0px;
- margin-top: 0px;
+ font-size: 100%;
+ margin-left: 0px;
+ margin-top: 0px;
}
.k-def-popup {
- z-index: 9999 !important;
- background-color: #FFF;
- border: 1px solid gray;
+ z-index: 9999 !important;
+ background-color: #FFF;
+ border: 1px solid gray;
}
#k-mshortcut {
- position: absolute;
- right: 10px;
+ position: absolute;
+ right: 10px;
}
#k-mshortcut-hidden {
- visibility: hidden;
+ visibility: hidden;
}
#k-mshortcut a {
- text-decoration: none;
- color: black;
+ text-decoration: none;
+ color: black;
}
.k-plain-iframe iframe {
- border: 1px solid gray;
+ border: 1px solid gray;
}
.k-transp .x-panel-body {
- background: transparent;
+ background: transparent;
}
.k-transp {
- background: transparent;
+ background: transparent;
}
.k-blank {
- background: #FFF;
+ background: #FFF;
}
\ No newline at end of file
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientActions.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientActions.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -25,7 +25,6 @@
import static org.ourproject.kune.blogs.client.BlogClientTool.TYPE_UPLOADEDFILE;
import org.ourproject.kune.blogs.client.cnt.BlogViewer;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.ctxnav.ContextNavigator;
@@ -42,6 +41,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -32,7 +32,6 @@
import org.ourproject.kune.platf.client.app.ToolGroup;
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
@@ -53,6 +52,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientTool.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/BlogClientTool.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/BlogsMessages.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/BlogsMessages.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/BlogsMessages.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -21,11 +21,11 @@
import org.ourproject.kune.blogs.client.BlogClientTool;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogFolderContentView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewer.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewer.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -20,13 +20,13 @@
package org.ourproject.kune.blogs.client.cnt;
import org.ourproject.kune.blogs.client.BlogClientTool;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.StateContentDTO;
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/cnt/BlogViewerView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContext.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContext.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContext.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContextPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContextPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/blogs/client/ctx/BlogContextPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoom.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoom.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoom.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -21,13 +21,13 @@
import org.ourproject.kune.chat.client.ChatClientTool;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
import cc.kune.common.client.utils.TextUtils;
import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/chat/client/cnt/ChatRoomView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientActions.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientActions.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,7 +25,6 @@
import static org.ourproject.kune.docs.client.DocumentClientTool.TYPE_UPLOADEDFILE;
import org.ourproject.kune.docs.client.cnt.DocumentViewer;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.ctxnav.ContextNavigator;
@@ -42,6 +41,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
Modified: trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/docs/client/DocumentClientModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -32,7 +32,6 @@
import org.ourproject.kune.platf.client.app.ToolGroup;
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
@@ -53,6 +52,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocFolderContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocFolderContentPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocFolderContentPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,11 +21,11 @@
import org.ourproject.kune.docs.client.DocumentClientTool;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocumentViewerPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocumentViewerPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/docs/client/cnt/DocumentViewerPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,13 +20,13 @@
package org.ourproject.kune.docs.client.cnt;
import org.ourproject.kune.docs.client.DocumentClientTool;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.StateContentDTO;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientActions.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientActions.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -24,7 +24,6 @@
import static org.ourproject.kune.gallery.client.GalleryClientTool.TYPE_UPLOADEDFILE;
import org.ourproject.kune.gallery.client.cnt.GalleryViewer;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.ctxnav.ContextNavigator;
@@ -41,6 +40,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -32,7 +32,6 @@
import org.ourproject.kune.platf.client.app.ToolGroup;
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
@@ -53,6 +52,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientTool.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryClientTool.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryMessages.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryMessages.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/GalleryMessages.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -19,10 +19,10 @@
*/
package org.ourproject.kune.gallery.client.cnt;
-import org.ourproject.kune.platf.client.ui.BasicThumb;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPanel;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+import cc.kune.common.client.ui.BasicThumb;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -21,12 +21,12 @@
import org.ourproject.kune.gallery.client.GalleryClientTool;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryFolderContentView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewer.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewer.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -20,13 +20,13 @@
package org.ourproject.kune.gallery.client.cnt;
import org.ourproject.kune.gallery.client.GalleryClientTool;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.StateContentDTO;
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/cnt/GalleryViewerView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContext.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContext.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContext.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContextPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContextPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/gallery/client/ctx/GalleryContextPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,165 +0,0 @@
-/* AbstractAction.java --
- Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package org.ourproject.kune.platf.client.actions;
-
-import java.util.HashMap;
-
-import com.google.gwt.resources.client.ImageResource;
-
-/**
- * A base class for implementing the {@link Action} interface.
- *
- * @author Andrew Selkirk
- * @author Adapted version for GWT (C) The kune development team
- */
-public abstract class AbstractAction extends ChangebleObject implements Action {
-
- /**
- * A flag that indicates whether or not the action is enabled.
- */
- protected boolean enabled = true;
-
- /**
- * Creates a new action with no properties set.
- */
- public AbstractAction() {
- // Nothing to do.
- }
-
- /**
- * Copy constructor used as a substitute of clone
- */
- @SuppressWarnings("unchecked")
- public AbstractAction(final AbstractAction action) {
- enabled = action.enabled;
- store = (HashMap<String, Object>) action.store.clone();
- }
-
- /**
- * Creates a new action with the specified name. The name is stored as a
- * property with the key {@link Action#NAME}, and no other properties are
- * initialised.
- *
- * @param name
- * the name (<code>null</code> permitted).
- */
- public AbstractAction(final String name) {
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(NAME, name);
- }
-
- /**
- * Creates a new action with the specified name and icon. The name is stored
- * as a property with the key {@link Action#NAME}, the icon is stored as a
- * property with the key {@link Action#SMALL_ICON}, and no other properties
- * are initialised.
- *
- * @param name
- * the name (<code>null</code> permitted).
- * @param icon
- * the icon (<code>null</code> permitted).
- */
- public AbstractAction(final String name, final ImageResource icon) {
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(NAME, name);
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(SMALL_ICON, icon);
- }
-
- /**
- * Returns the flag that indicates whether or not the action is enabled.
- *
- * @return The flag.
- *
- * @see #setEnabled(boolean)
- */
- public boolean isEnabled() {
- return enabled;
- }
-
- @Override
- /**
- * Sets the value associated with the specified key and sends a
- * {@link java.beans.PropertyChangeEvent} to all registered listeners. The
- * standard keys are:
- * <ul>
- * <li>{@link #NAME}</li>
- * <li>{@link #SHORT_DESCRIPTION}</li>
- * <li>{@link #LONG_DESCRIPTION}</li>
- * <li>{@link #SMALL_ICON}</li>
- * <li>{@link #ACTION_COMMAND_KEY}</li>
- * <li>{@link #ACCELERATOR_KEY}</li>
- * <li>{@link #MNEMONIC_KEY}</li>
- * </ul>
- * Any existing value associated with the key will be overwritten.
- *
- * @param key
- * the key (not <code>null</code>).
- * @param value
- * the value (<code>null</code> permitted).
- */
- public void putValue(final String key, final Object value) {
- // TODO Auto-generated method stub
- super.putValue(key, value);
- }
-
- /**
- * Sets the flag that indicates whether or not the action is enabled and, if
- * the value of the flag changed from the previous setting, sends a
- * {@link java.beans.PropertyChangeEvent} to all registered listeners (using
- * the property name 'enabled').
- *
- * @param enabled
- * the new flag value.
- *
- * @see #isEnabled()
- */
- public void setEnabled(final boolean enabled) {
- if (enabled != this.enabled) {
- this.enabled = enabled;
- firePropertyChange(ENABLED, !this.enabled, this.enabled);
- }
- }
-
- public void setShortcut(final KeyStroke key) {
- putValue(Action.ACCELERATOR_KEY, key);
- }
-}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
import com.google.gwt.resources.client.ImageResource;
-public abstract class AbstractExtendedAction extends AbstractAction {
+public abstract class AbstractExtendedAction extends OldAbstractAction {
public static final String NO_TEXT = null;
public static final ImageResource NO_ICON = null;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,6 +21,7 @@
import java.util.ArrayList;
+@Deprecated
public class ActionCollection<T> extends ArrayList<ActionDescriptor<T>> {
private static final long serialVersionUID = -3308296009308246636L;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,9 +19,9 @@
\*/
package org.ourproject.kune.platf.client.actions;
-import org.ourproject.kune.platf.client.services.ImageDescriptor;
import org.ourproject.kune.platf.client.shortcuts.ShortcutDescriptor;
+import cc.kune.core.client.services.ImageDescriptor;
import cc.kune.core.shared.dto.AccessRolDTO;
import com.calclab.suco.client.events.Listener;
@@ -30,59 +30,60 @@
/**
* The Class ActionDescriptor.
*/
+@Deprecated
public class ActionDescriptor<T> {
public static final int NO_POSITION = -1;
- /** The icon url. */
- private String iconUrl;
+ /** The access rol. */
+ private AccessRolDTO accessRol;
+ /** The must be added condition. */
+ private ActionAddCondition<T> addCondition;
+
+ /** The confirmation text. */
+ private String confirmationText;
+
+ /** The confirmation title. */
+ private String confirmationTitle;
+
+ /** The enable condition. */
+ private ActionEnableCondition<T> enableCondition;
+
/** The icon cls. */
private String iconCls;
/** The icon descriptor. */
private ImageDescriptor iconDescriptor;
- /** The text description. */
- private String textDescription;
+ /** The icon url. */
+ private String iconUrl;
- /** The tool tip. */
- private String toolTip;
+ /** The id. */
+ private String id;
+ /** The must be authenticated. */
+ private boolean mustBeAuthenticated;
+
/** The must be confirmed. */
private boolean mustBeConfirmed;
- /** The confirmation title. */
- private String confirmationTitle;
+ /** The on not confirmed. */
+ private Listener<T> onNotConfirmed;
- /** The confirmation text. */
- private String confirmationText;
-
/** The on perform call. */
private final Listener<T> onPerformCall;
- /** The on not confirmed. */
- private Listener<T> onNotConfirmed;
+ private int position = NO_POSITION;
- /** The must be authenticated. */
- private boolean mustBeAuthenticated;
+ private ShortcutDescriptor shortcut;
- /** The access rol. */
- private AccessRolDTO accessRol;
+ /** The text description. */
+ private String textDescription;
- /** The enable condition. */
- private ActionEnableCondition<T> enableCondition;
+ /** The tool tip. */
+ private String toolTip;
- /** The must be added condition. */
- private ActionAddCondition<T> addCondition;
-
- /** The id. */
- private String id;
-
- private ShortcutDescriptor shortcut;
-
- private int position = NO_POSITION;
-
public ActionDescriptor(final AccessRolDTO accessRolDTO, final Listener<T> onPerformCall) {
this.accessRol = accessRolDTO;
this.onPerformCall = onPerformCall;
@@ -124,6 +125,7 @@
public ActionDescriptor(final AccessRolDTO accessRolDTO, final Listener0 onPerformCall) {
this(accessRolDTO, new Listener<T>() {
+ @Override
public void onEvent(final T parameter) {
onPerformCall.onEvent();
}
@@ -221,6 +223,10 @@
return accessRol;
}
+ private ActionAddCondition<T> getAddCondition() {
+ return addCondition;
+ }
+
/**
* Gets the confirmation text.
*
@@ -239,6 +245,10 @@
return confirmationTitle;
}
+ private ActionEnableCondition<T> getEnableCondition() {
+ return enableCondition;
+ }
+
public String getIconCls() {
return iconCls;
}
@@ -270,6 +280,14 @@
return id;
}
+ private Listener<T> getOnNotConfirmed() {
+ return onNotConfirmed;
+ }
+
+ private Listener<T> getOnPerformCall() {
+ return onPerformCall;
+ }
+
/**
* Get the index position where this action will be inserted
*
@@ -296,6 +314,10 @@
return textDescription;
}
+ private String getTextDescription() {
+ return textDescription;
+ }
+
/**
* Gets the tool tip.
*
@@ -439,6 +461,10 @@
this.mustBeConfirmed = mustBeConfirmed;
}
+ private void setOnNotConfirmed(final Listener<T> onNotConfirmed) {
+ this.onNotConfirmed = onNotConfirmed;
+ }
+
/**
* Index position where this action will be inserted
*
@@ -472,28 +498,4 @@
this.toolTip = toolTip;
}
- private ActionAddCondition<T> getAddCondition() {
- return addCondition;
- }
-
- private ActionEnableCondition<T> getEnableCondition() {
- return enableCondition;
- }
-
- private Listener<T> getOnNotConfirmed() {
- return onNotConfirmed;
- }
-
- private Listener<T> getOnPerformCall() {
- return onPerformCall;
- }
-
- private String getTextDescription() {
- return textDescription;
- }
-
- private void setOnNotConfirmed(final Listener<T> onNotConfirmed) {
- this.onNotConfirmed = onNotConfirmed;
- }
-
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/InputMap.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/InputMap.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/InputMap.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -63,7 +63,7 @@
/**
* Storage for the KeyStroke --> Object mappings.
*/
- private Map<KeyStroke, AbstractAction> inputMap;
+ private Map<KeyStroke, OldAbstractAction> inputMap;
/**
* An optional parent map.
@@ -122,8 +122,8 @@
* @return The binding associated with the specified keystroke (or
* <code>null</code>).
*/
- public AbstractAction get(final KeyStroke keystroke) {
- AbstractAction result = null;
+ public OldAbstractAction get(final KeyStroke keystroke) {
+ OldAbstractAction result = null;
if (inputMap != null) {
result = inputMap.get(keystroke);
}
@@ -177,12 +177,12 @@
* @param actionMapKey
* the action (<code>null</code> permitted).
*/
- public void put(final KeyStroke keystroke, final AbstractAction actionMapKey) {
+ public void put(final KeyStroke keystroke, final OldAbstractAction actionMapKey) {
if (keystroke == null) {
return;
}
if (inputMap == null) {
- inputMap = new HashMap<KeyStroke, AbstractAction>();
+ inputMap = new HashMap<KeyStroke, OldAbstractAction>();
}
if (actionMapKey == null) {
inputMap.remove(keystroke);
Copied: trunk/src/main/java/org/ourproject/kune/platf/client/actions/OldAbstractAction.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractAction.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/OldAbstractAction.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/OldAbstractAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,168 @@
+/* AbstractAction.java --
+ Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package org.ourproject.kune.platf.client.actions;
+
+import java.util.HashMap;
+
+import com.google.gwt.resources.client.ImageResource;
+
+/**
+ * A base class for implementing the {@link Action} interface.
+ *
+ * @author Andrew Selkirk
+ * @author Adapted version for GWT (C) The kune development team
+ */
+@Deprecated
+public abstract class OldAbstractAction extends ChangebleObject implements Action {
+
+ /**
+ * A flag that indicates whether or not the action is enabled.
+ */
+ protected boolean enabled = true;
+
+ /**
+ * Creates a new action with no properties set.
+ */
+ public OldAbstractAction() {
+ // Nothing to do.
+ }
+
+ /**
+ * Copy constructor used as a substitute of clone
+ */
+ @SuppressWarnings("unchecked")
+ public OldAbstractAction(final OldAbstractAction action) {
+ enabled = action.enabled;
+ store = (HashMap<String, Object>) action.store.clone();
+ }
+
+ /**
+ * Creates a new action with the specified name. The name is stored as a
+ * property with the key {@link Action#NAME}, and no other properties are
+ * initialised.
+ *
+ * @param name
+ * the name (<code>null</code> permitted).
+ */
+ public OldAbstractAction(final String name) {
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(NAME, name);
+ }
+
+ /**
+ * Creates a new action with the specified name and icon. The name is stored
+ * as a property with the key {@link Action#NAME}, the icon is stored as a
+ * property with the key {@link Action#SMALL_ICON}, and no other properties
+ * are initialised.
+ *
+ * @param name
+ * the name (<code>null</code> permitted).
+ * @param icon
+ * the icon (<code>null</code> permitted).
+ */
+ public OldAbstractAction(final String name, final ImageResource icon) {
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(NAME, name);
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(SMALL_ICON, icon);
+ }
+
+ /**
+ * Returns the flag that indicates whether or not the action is enabled.
+ *
+ * @return The flag.
+ *
+ * @see #setEnabled(boolean)
+ */
+ @Override
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ @Override
+ /**
+ * Sets the value associated with the specified key and sends a
+ * {@link java.beans.PropertyChangeEvent} to all registered listeners. The
+ * standard keys are:
+ * <ul>
+ * <li>{@link #NAME}</li>
+ * <li>{@link #SHORT_DESCRIPTION}</li>
+ * <li>{@link #LONG_DESCRIPTION}</li>
+ * <li>{@link #SMALL_ICON}</li>
+ * <li>{@link #ACTION_COMMAND_KEY}</li>
+ * <li>{@link #ACCELERATOR_KEY}</li>
+ * <li>{@link #MNEMONIC_KEY}</li>
+ * </ul>
+ * Any existing value associated with the key will be overwritten.
+ *
+ * @param key
+ * the key (not <code>null</code>).
+ * @param value
+ * the value (<code>null</code> permitted).
+ */
+ public void putValue(final String key, final Object value) {
+ // TODO Auto-generated method stub
+ super.putValue(key, value);
+ }
+
+ /**
+ * Sets the flag that indicates whether or not the action is enabled and, if
+ * the value of the flag changed from the previous setting, sends a
+ * {@link java.beans.PropertyChangeEvent} to all registered listeners (using
+ * the property name 'enabled').
+ *
+ * @param enabled
+ * the new flag value.
+ *
+ * @see #isEnabled()
+ */
+ @Override
+ public void setEnabled(final boolean enabled) {
+ if (enabled != this.enabled) {
+ this.enabled = enabled;
+ firePropertyChange(ENABLED, !this.enabled, this.enabled);
+ }
+ }
+
+ public void setShortcut(final KeyStroke key) {
+ putValue(Action.ACCELERATOR_KEY, key);
+ }
+}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,16 +21,16 @@
public abstract class AbstractActionExtensiblePresenter implements IsActionExtensible {
- public abstract void addAction(final GuiActionDescrip descriptor);
+ public abstract void addAction(final OldGuiActionDescrip descriptor);
public void addActionCollection(final GuiActionDescCollection descriptors) {
- for (final GuiActionDescrip descriptor : descriptors) {
+ for (final OldGuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
- public void addActions(final GuiActionDescrip... descriptors) {
- for (final GuiActionDescrip descriptor : descriptors) {
+ public void addActions(final OldGuiActionDescrip... descriptors) {
+ for (final OldGuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -36,30 +36,30 @@
protected abstract void add(AbstractGuiItem item);
- public void add(final GuiActionDescrip... descriptors) {
- for (final GuiActionDescrip descriptor : descriptors) {
+ public void add(final OldGuiActionDescrip... descriptors) {
+ for (final OldGuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
getGuiItems().add(descriptor);
beforeAddWidget(descriptor);
}
public void addAll(final GuiActionDescCollection descriptors) {
- for (final GuiActionDescrip descriptor : descriptors) {
+ for (final OldGuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
- public void addAll(final List<GuiActionDescrip> descriptors) {
- for (final GuiActionDescrip descriptor : descriptors) {
+ public void addAll(final List<OldGuiActionDescrip> descriptors) {
+ for (final OldGuiActionDescrip descriptor : descriptors) {
addAction(descriptor);
}
}
- protected void beforeAddWidget(final GuiActionDescrip descrip) {
+ protected void beforeAddWidget(final OldGuiActionDescrip descrip) {
if (descrip.mustBeAdded()) {
final GuiBinding binding = bindings.get(descrip.getType());
if (binding == null) {
@@ -67,7 +67,7 @@
} else {
final AbstractGuiItem item = binding.create(descrip);
if (binding.isAttachable()) {
- if (descrip.getPosition() == GuiActionDescrip.NO_POSITION) {
+ if (descrip.getPosition() == OldGuiActionDescrip.NO_POSITION) {
add(item);
} else {
insert(item, descrip.getPosition());
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,7 +20,7 @@
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.PropertyChangeEvent;
import org.ourproject.kune.platf.client.actions.PropertyChangeListener;
@@ -32,9 +32,9 @@
public abstract class AbstractGuiItem extends Composite implements View {
- protected final GuiActionDescrip descriptor;
+ protected final OldGuiActionDescrip descriptor;
- public AbstractGuiItem(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem(final OldGuiActionDescrip descriptor) {
super();
this.descriptor = descriptor;
}
@@ -46,7 +46,7 @@
configure();
}
- public AbstractAction getAction() {
+ public OldAbstractAction getAction() {
return descriptor.getAction();
}
@@ -70,9 +70,9 @@
private void configureProperties() {
setText((String) (descriptor.getValue(Action.NAME)));
setIcon(descriptor.getValue(Action.SMALL_ICON));
- setEnabled((Boolean) descriptor.getValue(AbstractAction.ENABLED));
+ setEnabled((Boolean) descriptor.getValue(OldAbstractAction.ENABLED));
setToolTipText((String) (descriptor.getValue(Action.SHORT_DESCRIPTION)));
- setVisible((Boolean) descriptor.getValue(GuiActionDescrip.VISIBLE));
+ setVisible((Boolean) descriptor.getValue(OldGuiActionDescrip.VISIBLE));
}
private PropertyChangeListener createActionPropertyChangeListener() {
@@ -87,7 +87,7 @@
setIcon(newValue);
} else if (event.getPropertyName().equals(Action.SHORT_DESCRIPTION)) {
setToolTipText((String) newValue);
- } else if (event.getPropertyName().equals(GuiActionDescrip.VISIBLE)) {
+ } else if (event.getPropertyName().equals(OldGuiActionDescrip.VISIBLE)) {
setVisible((Boolean) newValue);
}
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -29,7 +29,7 @@
protected final Menu menu;
- public AbstractMenuGui(final GuiActionDescrip descriptor) {
+ public AbstractMenuGui(final OldGuiActionDescrip descriptor) {
super(descriptor);
menu = new Menu();
menu.setShadow(true);
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,7 +19,7 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.KeyStroke;
@@ -39,7 +39,7 @@
private Item item;
- public AbstractMenuItemGui(final MenuItemDescriptor descriptor) {
+ public AbstractMenuItemGui(final OldMenuItemDescriptor descriptor) {
super(descriptor);
if (descriptor instanceof MenuRadioItemDescriptor) {
final CheckItem checkItem = createCheckItem(descriptor);
@@ -61,7 +61,7 @@
final BaseItemListenerAdapter clickListener = new BaseItemListenerAdapter() {
@Override
public void onClick(final BaseItem item, final EventObject event) {
- final AbstractAction action = getAction();
+ final OldAbstractAction action = getAction();
if (action != null) {
action.actionPerformed(new ActionEvent(item, event.getBrowserEvent()));
}
@@ -119,7 +119,7 @@
}
}
- private void confCheckListener(final MenuItemDescriptor descriptor, final CheckItem checkItem) {
+ private void confCheckListener(final OldMenuItemDescriptor descriptor, final CheckItem checkItem) {
descriptor.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(final PropertyChangeEvent event) {
if (event.getPropertyName().equals(MenuCheckItemDescriptor.CHECKED)) {
@@ -129,7 +129,7 @@
});
}
- private CheckItem createCheckItem(final MenuItemDescriptor descriptor) {
+ private CheckItem createCheckItem(final OldMenuItemDescriptor descriptor) {
final CheckItem checkItem = new CheckItem();
checkItem.setChecked(((MenuCheckItemDescriptor) descriptor).isChecked());
return checkItem;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,13 +19,13 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.ActionEvent;
-public abstract class AbstractSeparatorDescriptor extends GuiActionDescrip {
+public abstract class AbstractSeparatorDescriptor extends OldGuiActionDescrip {
public AbstractSeparatorDescriptor() {
- super(new AbstractAction() {
+ super(new OldAbstractAction() {
public void actionPerformed(final ActionEvent event) {
// No action
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,6 +23,6 @@
public interface ActionExtensibleView extends View {
- void addAction(GuiActionDescrip descriptor);
+ void addAction(OldGuiActionDescrip descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,13 +19,13 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import com.google.gwt.resources.client.ImageResource;
-public class BaseAction extends AbstractAction {
+public class BaseAction extends OldAbstractAction {
public BaseAction(final String text, final String tooltip) {
super();
super.putValue(Action.NAME, text);
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -26,7 +26,7 @@
bindings.register(MenuDescriptor.class, new MenuBinding());
bindings.register(MenuRadioItemDescriptor.class, menuItemBinding);
bindings.register(MenuCheckItemDescriptor.class, menuItemBinding);
- bindings.register(MenuItemDescriptor.class, menuItemBinding);
+ bindings.register(OldMenuItemDescriptor.class, menuItemBinding);
bindings.register(MenuSeparatorDescriptor.class, new MenuSeparatorBinding());
bindings.register(PushButtonDescriptor.class, new PushButtonBinding());
bindings.register(ButtonDescriptor.class, new ButtonBinding());
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
public class ButtonBinding extends GuiBindingAdapter {
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
return new ButtonGui((ButtonDescriptor) descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,11 +19,11 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
-public class ButtonDescriptor extends GuiActionDescrip {
+public class ButtonDescriptor extends OldGuiActionDescrip {
- public ButtonDescriptor(final AbstractAction action) {
+ public ButtonDescriptor(final OldAbstractAction action) {
super(action);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,12 +22,12 @@
import java.util.ArrayList;
// @PMD:REVIEWED:AtLeastOneConstructor: by vjrj on 26/05/09 12:31
-public class GuiActionDescCollection extends ArrayList<GuiActionDescrip> {
+public class GuiActionDescCollection extends ArrayList<OldGuiActionDescrip> {
private static final long serialVersionUID = 6759723760404227737L;
- public void add(final GuiActionDescrip... descriptors) {
- for (GuiActionDescrip descriptor : descriptors) {
+ public void add(final OldGuiActionDescrip... descriptors) {
+ for (OldGuiActionDescrip descriptor : descriptors) {
super.add(descriptor);
}
}
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,186 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.platf.client.actions.ui;
-
-import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
-import org.ourproject.kune.platf.client.actions.Action;
-import org.ourproject.kune.platf.client.actions.ActionEvent;
-import org.ourproject.kune.platf.client.actions.ChangebleObject;
-
-/**
- * The Class AbstractUIActionDescriptor.
- */
-public abstract class GuiActionDescrip extends ChangebleObject {
-
- public static final String VISIBLE = "visibleprop";
-
- protected static final int NO_POSITION = -1;
- protected static final View NO_VIEW = null;
- protected static final GuiActionDescrip NO_PARENT = null;
-
- private GuiAddCondition addCondition = new GuiAddConditionAdapter();
-
- protected GuiActionDescrip parent;
-
- /** The action. */
- private final AbstractAction action;
-
- /** The position where the item will be inserted. */
- private int position;
-
- /** The item location. */
- private String location;
-
- /** The item DOM id. */
- private String id;
-
- /**
- * Instantiates a new abstract ui action descriptor. This is used for
- * describe UI button, menus, menu items and so on
- *
- * @param action
- * the action
- */
- public GuiActionDescrip(final AbstractAction action) {
- this.action = action;
- position = NO_POSITION;
- parent = NO_PARENT;
- }
-
- public void fire(final ActionEvent event) {
- action.actionPerformed(event);
- }
-
- public AbstractAction getAction() {
- return action;
- }
-
- public GuiAddCondition getAddCondition() {
- return addCondition;
- }
-
- public String getId() {
- return id;
- }
-
- /**
- * Gets the location, a string used to group actions with locations (top
- * bar, bottom bar, user bar...).
- *
- * @return the location
- */
- public String getLocation() {
- return location;
- }
-
- public GuiActionDescrip getParent() {
- return parent;
- }
-
- /**
- * Gets the position.
- *
- * @return the position
- */
- public int getPosition() {
- return position;
- }
-
- public abstract Class<?> getType();
-
- @Override
- /**
- * We try to get the gui property (for instance the name) and if it's empty we try to get the same property in actions. This permit to have several gui items with the same action but different gui properties (like text descriptions) if necessary.
- */
- public Object getValue(final String key) {
- final Object guiValue = super.getValue(key);
- if (guiValue == null) {
- return action.getValue(key);
- } else {
- return guiValue;
- }
- }
-
- public boolean isChild() {
- // @PMD:REVIEWED:CompareObjectsWithEquals: by vjrj on 26/05/09 20:57
- return parent != NO_PARENT;
- }
-
- public boolean mustBeAdded() {
- boolean result = false;
- if (addCondition != null) {
- result = addCondition.mustBeAdded();
- }
- return result;
- }
-
- public void setAddCondition(final GuiAddCondition addCondition) {
- this.addCondition = addCondition;
- }
-
- public void setEnabled(final boolean enabled) {
- action.setEnabled(enabled);
- }
-
- public void setId(final String id) {
- this.id = id;
- }
-
- /**
- * If we have several toolbars, we can group with the "location" string key
- * actions that must be in the same location (ex: top bar, bottom bar, and
- * so on).
- *
- * @param location
- * the new location
- */
- public void setLocation(final String location) {
- this.location = location;
- }
-
- public void setParent(final GuiActionDescrip parent) {
- this.parent = parent;
- }
-
- /**
- * Sets the position (where the UI element will be positioned, for instance
- * in a toolbar or in a menu).
- *
- * @param position
- * the new position
- */
- public void setPosition(final int position) {
- this.position = position;
- }
-
- public void setVisible(final boolean visible) {
- action.putValue(VISIBLE, visible);
- }
-
- @Override
- public String toString() {
- final String name = (String) getValue(Action.NAME);
- final String tooltip = (String) getValue(Action.SHORT_DESCRIPTION);
- return "[GuiActionDescrip: " + action.getClass() + (name == null ? "" : " " + name)
- + (tooltip == null ? "" : " " + tooltip) + "]";
- }
-
-}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
public interface GuiBinding {
- AbstractGuiItem create(GuiActionDescrip descriptor);
+ AbstractGuiItem create(OldGuiActionDescrip descriptor);
boolean isAttachable();
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
public class GuiBindingAdapter implements GuiBinding {
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
return null;
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,7 +27,7 @@
* @param action
* the action
*/
- void addAction(GuiActionDescrip action);
+ void addAction(OldGuiActionDescrip action);
/**
* Adds some action descriptions
@@ -43,6 +43,6 @@
* @param action
* the action
*/
- void addActions(GuiActionDescrip... actions);
+ void addActions(OldGuiActionDescrip... actions);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -28,13 +28,13 @@
private Boolean isSubmenu;
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
AbstractGuiItem item;
if (descriptor.isChild()) {
final SubMenuGui submenu = new SubMenuGui(descriptor);
final AbstractMenuGui parentMenu = ((AbstractMenuGui) descriptor.getParent().getValue(UI_MENU));
final int position = descriptor.getPosition();
- if (position == GuiActionDescrip.NO_POSITION) {
+ if (position == OldGuiActionDescrip.NO_POSITION) {
parentMenu.add(submenu.getMenuItem());
} else {
parentMenu.insert(position, submenu.getMenuItem());
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,15 +19,15 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
-public class MenuCheckItemDescriptor extends MenuItemDescriptor {
+public class MenuCheckItemDescriptor extends OldMenuItemDescriptor {
public static final String CHECKED = "checked";
private boolean checked = false;
- public MenuCheckItemDescriptor(final MenuDescriptor parent, final AbstractAction action) {
+ public MenuCheckItemDescriptor(final MenuDescriptor parent, final OldAbstractAction action) {
super(parent, action);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,12 +19,12 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.Action;
import com.google.gwt.resources.client.ImageResource;
-public class MenuDescriptor extends GuiActionDescrip {
+public class MenuDescriptor extends OldGuiActionDescrip {
public static final String MENU_HIDE = "hidemenu";
public static final String MENU_SHOW = "showmenu";
@@ -37,11 +37,11 @@
this(new BaseAction(null, null));
}
- public MenuDescriptor(final AbstractAction action) {
+ public MenuDescriptor(final OldAbstractAction action) {
this(NO_PARENT, action);
}
- public MenuDescriptor(final GuiActionDescrip parent, final AbstractAction action) {
+ public MenuDescriptor(final OldGuiActionDescrip parent, final OldAbstractAction action) {
super(action);
setParent(parent);
action.putValue(MENU_HIDE, false);
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,15 +27,15 @@
public class MenuItemBinding extends GuiBindingAdapter {
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
- final MenuItemGui item = new MenuItemGui((MenuItemDescriptor) descriptor);
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
+ final MenuItemGui item = new MenuItemGui((OldMenuItemDescriptor) descriptor);
final int position = descriptor.getPosition();
final Item menuItem = (Item) item.getWidget();
final AbstractMenuGui menu = ((AbstractMenuGui) descriptor.getParent().getValue(MenuBinding.UI_MENU));
if (menu == null) {
throw new UIException("To add a menu item you need to add the menu before. Item: " + descriptor);
}
- if (position == GuiActionDescrip.NO_POSITION) {
+ if (position == OldGuiActionDescrip.NO_POSITION) {
menu.add(menuItem);
} else {
menu.insert(position, menuItem);
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,39 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.platf.client.actions.ui;
-
-import org.ourproject.kune.platf.client.actions.AbstractAction;
-
-public class MenuItemDescriptor extends GuiActionDescrip {
-
- public MenuItemDescriptor(final AbstractAction action) {
- super(action);
- }
-
- public MenuItemDescriptor(final MenuDescriptor parent, final AbstractAction action) {
- super(action);
- setParent(parent);
- }
-
- @Override
- public Class<?> getType() {
- return MenuItemDescriptor.class;
- }
-}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
public class MenuItemGui extends AbstractMenuItemGui {
- public MenuItemGui(final MenuItemDescriptor descriptor) {
+ public MenuItemGui(final OldMenuItemDescriptor descriptor) {
super(descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,13 +19,13 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
public class MenuRadioItemDescriptor extends MenuCheckItemDescriptor {
private final String group;
- public MenuRadioItemDescriptor(final MenuDescriptor parent, final AbstractAction action, final String group) {
+ public MenuRadioItemDescriptor(final MenuDescriptor parent, final OldAbstractAction action, final String group) {
super(parent, action);
this.group = group;
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,7 +24,7 @@
public class MenuSeparatorBinding extends GuiBindingAdapter {
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
final AbstractMenuGui menu = ((AbstractMenuGui) descriptor.getParent().getValue(MenuBinding.UI_MENU));
if (menu == null) {
throw new UIException("To add a menu separator you need to add the menu before. Item: " + descriptor);
Copied: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldGuiActionDescrip.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldGuiActionDescrip.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldGuiActionDescrip.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,186 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.platf.client.actions.ui;
+
+import org.ourproject.kune.platf.client.View;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
+import org.ourproject.kune.platf.client.actions.Action;
+import org.ourproject.kune.platf.client.actions.ActionEvent;
+import org.ourproject.kune.platf.client.actions.ChangebleObject;
+
+/**
+ * The Class AbstractUIActionDescriptor.
+ */
+public abstract class OldGuiActionDescrip extends ChangebleObject {
+
+ public static final String VISIBLE = "visibleprop";
+
+ protected static final int NO_POSITION = -1;
+ protected static final View NO_VIEW = null;
+ protected static final OldGuiActionDescrip NO_PARENT = null;
+
+ private GuiAddCondition addCondition = new GuiAddConditionAdapter();
+
+ protected OldGuiActionDescrip parent;
+
+ /** The action. */
+ private final OldAbstractAction action;
+
+ /** The position where the item will be inserted. */
+ private int position;
+
+ /** The item location. */
+ private String location;
+
+ /** The item DOM id. */
+ private String id;
+
+ /**
+ * Instantiates a new abstract ui action descriptor. This is used for
+ * describe UI button, menus, menu items and so on
+ *
+ * @param action
+ * the action
+ */
+ public OldGuiActionDescrip(final OldAbstractAction action) {
+ this.action = action;
+ position = NO_POSITION;
+ parent = NO_PARENT;
+ }
+
+ public void fire(final ActionEvent event) {
+ action.actionPerformed(event);
+ }
+
+ public OldAbstractAction getAction() {
+ return action;
+ }
+
+ public GuiAddCondition getAddCondition() {
+ return addCondition;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Gets the location, a string used to group actions with locations (top
+ * bar, bottom bar, user bar...).
+ *
+ * @return the location
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ public OldGuiActionDescrip getParent() {
+ return parent;
+ }
+
+ /**
+ * Gets the position.
+ *
+ * @return the position
+ */
+ public int getPosition() {
+ return position;
+ }
+
+ public abstract Class<?> getType();
+
+ @Override
+ /**
+ * We try to get the gui property (for instance the name) and if it's empty we try to get the same property in actions. This permit to have several gui items with the same action but different gui properties (like text descriptions) if necessary.
+ */
+ public Object getValue(final String key) {
+ final Object guiValue = super.getValue(key);
+ if (guiValue == null) {
+ return action.getValue(key);
+ } else {
+ return guiValue;
+ }
+ }
+
+ public boolean isChild() {
+ // @PMD:REVIEWED:CompareObjectsWithEquals: by vjrj on 26/05/09 20:57
+ return parent != NO_PARENT;
+ }
+
+ public boolean mustBeAdded() {
+ boolean result = false;
+ if (addCondition != null) {
+ result = addCondition.mustBeAdded();
+ }
+ return result;
+ }
+
+ public void setAddCondition(final GuiAddCondition addCondition) {
+ this.addCondition = addCondition;
+ }
+
+ public void setEnabled(final boolean enabled) {
+ action.setEnabled(enabled);
+ }
+
+ public void setId(final String id) {
+ this.id = id;
+ }
+
+ /**
+ * If we have several toolbars, we can group with the "location" string key
+ * actions that must be in the same location (ex: top bar, bottom bar, and
+ * so on).
+ *
+ * @param location
+ * the new location
+ */
+ public void setLocation(final String location) {
+ this.location = location;
+ }
+
+ public void setParent(final OldGuiActionDescrip parent) {
+ this.parent = parent;
+ }
+
+ /**
+ * Sets the position (where the UI element will be positioned, for instance
+ * in a toolbar or in a menu).
+ *
+ * @param position
+ * the new position
+ */
+ public void setPosition(final int position) {
+ this.position = position;
+ }
+
+ public void setVisible(final boolean visible) {
+ action.putValue(VISIBLE, visible);
+ }
+
+ @Override
+ public String toString() {
+ final String name = (String) getValue(Action.NAME);
+ final String tooltip = (String) getValue(Action.SHORT_DESCRIPTION);
+ return "[GuiActionDescrip: " + action.getClass() + (name == null ? "" : " " + name)
+ + (tooltip == null ? "" : " " + tooltip) + "]";
+ }
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldMenuItemDescriptor.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldMenuItemDescriptor.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/OldMenuItemDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,39 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.platf.client.actions.ui;
+
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
+
+public class OldMenuItemDescriptor extends OldGuiActionDescrip {
+
+ public OldMenuItemDescriptor(final OldAbstractAction action) {
+ super(action);
+ }
+
+ public OldMenuItemDescriptor(final MenuDescriptor parent, final OldAbstractAction action) {
+ super(action);
+ setParent(parent);
+ }
+
+ @Override
+ public Class<?> getType() {
+ return OldMenuItemDescriptor.class;
+ }
+}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
public class PushButtonBinding extends GuiBindingAdapter {
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
return new PushButtonGui((PushButtonDescriptor) descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,7 +19,7 @@
*/
package org.ourproject.kune.platf.client.actions.ui;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
public class PushButtonDescriptor extends ButtonDescriptor {
@@ -27,7 +27,7 @@
protected boolean pushed = false;
- public PushButtonDescriptor(final AbstractAction action) {
+ public PushButtonDescriptor(final OldAbstractAction action) {
super(action);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,7 +25,7 @@
private final MenuItem item;
- public SubMenuGui(final GuiActionDescrip descriptor) {
+ public SubMenuGui(final OldGuiActionDescrip descriptor) {
super(descriptor);
item = new MenuItem();
item.setMenu(menu);
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,7 +21,7 @@
public class ToolbarSeparatorBinding extends GuiBindingAdapter {
@Override
- public AbstractGuiItem create(final GuiActionDescrip descriptor) {
+ public AbstractGuiItem create(final OldGuiActionDescrip descriptor) {
final ToolbarSeparatorDescriptor sepDescrip = (ToolbarSeparatorDescriptor) descriptor;
final ComplexToolbar toolbar = (ComplexToolbar) sepDescrip.getToolbar();
switch (sepDescrip.getSeparatorType()) {
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,24 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.platf.client.services;
-
-public enum ImageDescriptor {
- accept, add, addGreen, alert, anybody, arrowDownBlack, arrowDownGreen, arrowDownWhite, arrowLeftGreen, arrowRightBlack, arrowRightGreen, arrowRightWhite, arrowUpGreen, bulletAdd, bulletBlack, bulletBlue, bulletDelete, bulletGreen, bulletPink, bulletPurple, bulletRed, bulletStar, bulletToggleMinus, bulletTogglePlus, bulletYellow, button15cblue, button15cdark, button15clight, button15cxlight, button15lblue, button15ldark, button15llight, button15lxlight, button15rblue, button15rdark, button15rlight, button15rxlight, button17cblue, button17cdark, button17clight, button17cxlight, button17lblue, button17ldark, button17llight, button17lxlight, button17rblue, button17rdark, button17rlight, button17rxlight, button20cblue, button20cdark, button20clight, button20cxlight, button20lblue, button20ldark, button20llight, button20lxlight, button20rblue, button20rdark, button20rlight, button20rxlight, buttonArrowDown, buttonHelpBlue, buttonHelpDark, buttonHelpLight, buttonSitebarArrowDown, by80x15, bync80x15, byncnd80x15, byncsa80x15, bynd80x15, bysa80x15, cancel, clear, copyleft, cross, crossDark, del, emblemImportant, emblemSystem, error, everybody, fullscreen, gnuFdl, groupDefIcon, groupHome, important, info, infoLight, kuneClose, kuneExternalWindow, kuneHelpTranslationIcon, kuneIcon16, kuneLogo16px, kunePreferences, kuneSearchIco, kuneSearchIcoPush, language, nobody, noCopyleft, nt, opentriangle, personDef, remove, rssIcon, searchIco, spinKuneThundGreen, splitterVertBar, star10, star20, star30, star40, star50, star60, star70, star80, star90, starGrey, starSmallYellow, starVsmallYellow, starYellow, step1, step2, step3, step4, step5, themeChoose, triangle
-}
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,426 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.platf.client.services;
-
-import com.google.gwt.user.client.ui.AbstractImagePrototype;
-
-public class ImageUtils {
-
- private final Images img;
-
- public ImageUtils(Images img) {
- this.img = img;
- }
-
- public AbstractImagePrototype getImage(final ImageDescriptor imageDescriptor) {
- switch (imageDescriptor) {
- case accept: {
- return img.accept();
- }
- case add: {
- return img.add();
- }
- case addGreen: {
- return img.addGreen();
- }
- case alert: {
- return img.alert();
- }
- case anybody: {
- return img.anybody();
- }
- case arrowDownBlack: {
- return img.arrowDownBlack();
- }
- case arrowDownGreen: {
- return img.arrowDownGreen();
- }
- case arrowDownWhite: {
- return img.arrowDownWhite();
- }
- case arrowLeftGreen: {
- return img.arrowLeftGreen();
- }
- case arrowRightBlack: {
- return img.arrowRightBlack();
- }
- case arrowRightGreen: {
- return img.arrowRightGreen();
- }
- case arrowRightWhite: {
- return img.arrowRightWhite();
- }
- case arrowUpGreen: {
- return img.arrowUpGreen();
- }
- case bulletAdd: {
- return img.bulletAdd();
- }
- case bulletBlack: {
- return img.bulletBlack();
- }
- case bulletBlue: {
- return img.bulletBlue();
- }
- case bulletDelete: {
- return img.bulletDelete();
- }
- case bulletGreen: {
- return img.bulletGreen();
- }
- case bulletPink: {
- return img.bulletPink();
- }
- case bulletPurple: {
- return img.bulletPurple();
- }
- case bulletRed: {
- return img.bulletRed();
- }
- case bulletStar: {
- return img.bulletStar();
- }
- case bulletToggleMinus: {
- return img.bulletToggleMinus();
- }
- case bulletTogglePlus: {
- return img.bulletTogglePlus();
- }
- case bulletYellow: {
- return img.bulletYellow();
- }
- case button15cblue: {
- return img.button15cblue();
- }
- case button15cdark: {
- return img.button15cdark();
- }
- case button15clight: {
- return img.button15clight();
- }
- case button15cxlight: {
- return img.button15cxlight();
- }
- case button15lblue: {
- return img.button15lblue();
- }
- case button15ldark: {
- return img.button15ldark();
- }
- case button15llight: {
- return img.button15llight();
- }
- case button15lxlight: {
- return img.button15lxlight();
- }
- case button15rblue: {
- return img.button15rblue();
- }
- case button15rdark: {
- return img.button15rdark();
- }
- case button15rlight: {
- return img.button15rlight();
- }
- case button15rxlight: {
- return img.button15rxlight();
- }
- case button17cblue: {
- return img.button17cblue();
- }
- case button17cdark: {
- return img.button17cdark();
- }
- case button17clight: {
- return img.button17clight();
- }
- case button17cxlight: {
- return img.button17cxlight();
- }
- case button17lblue: {
- return img.button17lblue();
- }
- case button17ldark: {
- return img.button17ldark();
- }
- case button17llight: {
- return img.button17llight();
- }
- case button17lxlight: {
- return img.button17lxlight();
- }
- case button17rblue: {
- return img.button17rblue();
- }
- case button17rdark: {
- return img.button17rdark();
- }
- case button17rlight: {
- return img.button17rlight();
- }
- case button17rxlight: {
- return img.button17rxlight();
- }
- case button20cblue: {
- return img.button20cblue();
- }
- case button20cdark: {
- return img.button20cdark();
- }
- case button20clight: {
- return img.button20clight();
- }
- case button20cxlight: {
- return img.button20cxlight();
- }
- case button20lblue: {
- return img.button20lblue();
- }
- case button20ldark: {
- return img.button20ldark();
- }
- case button20llight: {
- return img.button20llight();
- }
- case button20lxlight: {
- return img.button20lxlight();
- }
- case button20rblue: {
- return img.button20rblue();
- }
- case button20rdark: {
- return img.button20rdark();
- }
- case button20rlight: {
- return img.button20rlight();
- }
- case button20rxlight: {
- return img.button20rxlight();
- }
- case buttonArrowDown: {
- return img.buttonArrowDown();
- }
- case buttonHelpBlue: {
- return img.buttonHelpBlue();
- }
- case buttonHelpDark: {
- return img.buttonHelpDark();
- }
- case buttonHelpLight: {
- return img.buttonHelpLight();
- }
- case buttonSitebarArrowDown: {
- return img.buttonSitebarArrowDown();
- }
- case by80x15: {
- return img.by80x15();
- }
- case bync80x15: {
- return img.bync80x15();
- }
- case byncnd80x15: {
- return img.byncnd80x15();
- }
- case byncsa80x15: {
- return img.byncsa80x15();
- }
- case bynd80x15: {
- return img.bynd80x15();
- }
- case bysa80x15: {
- return img.bysa80x15();
- }
- case cancel: {
- return img.cancel();
- }
- case clear: {
- return img.clear();
- }
- case copyleft: {
- return img.copyleft();
- }
- case cross: {
- return img.cross();
- }
- case crossDark: {
- return img.crossDark();
- }
- case del: {
- return img.del();
- }
- case emblemImportant: {
- return img.emblemImportant();
- }
- case emblemSystem: {
- return img.emblemSystem();
- }
- case error: {
- return img.error();
- }
- case everybody: {
- return img.everybody();
- }
- case fullscreen: {
- return img.fullscreen();
- }
- case gnuFdl: {
- return img.gnuFdl();
- }
- case groupDefIcon: {
- return img.groupDefIcon();
- }
- case groupHome: {
- return img.groupHome();
- }
- case important: {
- return img.important();
- }
- case info: {
- return img.info();
- }
- case infoLight: {
- return img.infoLight();
- }
- case kuneClose: {
- return img.kuneClose();
- }
- case kuneExternalWindow: {
- return img.kuneExternalWindow();
- }
- case kuneHelpTranslationIcon: {
- return img.kuneHelpTranslationIcon();
- }
- case kuneIcon16: {
- return img.kuneIcon16();
- }
- case kuneLogo16px: {
- return img.kuneLogo16px();
- }
- case kunePreferences: {
- return img.kunePreferences();
- }
- case kuneSearchIco: {
- return img.kuneSearchIco();
- }
- case kuneSearchIcoPush: {
- return img.kuneSearchIcoPush();
- }
- case language: {
- return img.language();
- }
- case nobody: {
- return img.nobody();
- }
- case noCopyleft: {
- return img.noCopyleft();
- }
- case nt: {
- return img.nt();
- }
- case opentriangle: {
- return img.opentriangle();
- }
- case personDef: {
- return img.personDef();
- }
- case remove: {
- return img.remove();
- }
- case rssIcon: {
- return img.rssIcon();
- }
- case searchIco: {
- return img.searchIco();
- }
- case spinKuneThundGreen: {
- return img.spinKuneThundGreen();
- }
- case splitterVertBar: {
- return img.splitterVertBar();
- }
- case star10: {
- return img.star10();
- }
- case star20: {
- return img.star20();
- }
- case star30: {
- return img.star30();
- }
- case star40: {
- return img.star40();
- }
- case star50: {
- return img.star50();
- }
- case star60: {
- return img.star60();
- }
- case star70: {
- return img.star70();
- }
- case star80: {
- return img.star80();
- }
- case star90: {
- return img.star90();
- }
- case starGrey: {
- return img.starGrey();
- }
- case starSmallYellow: {
- return img.starSmallYellow();
- }
- case starVsmallYellow: {
- return img.starVsmallYellow();
- }
- case starYellow: {
- return img.starYellow();
- }
- case step1: {
- return img.step1();
- }
- case step2: {
- return img.step2();
- }
- case step3: {
- return img.step3();
- }
- case step4: {
- return img.step4();
- }
- case step5: {
- return img.step5();
- }
- case themeChoose: {
- return img.themeChoose();
- }
- case triangle: {
- return img.triangle();
- }
- default:
- return null;
- }
- }
-
- public String getImageHtml(final ImageDescriptor imageDescriptor) {
- return getImage(imageDescriptor).getHTML();
- }
-}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -26,7 +26,6 @@
import org.ourproject.kune.platf.client.i18n.Resources;
import org.ourproject.kune.platf.client.shortcuts.GlobalShortcutRegister;
import org.ourproject.kune.platf.client.ui.QuickTipsHelper;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
import org.ourproject.kune.platf.client.ui.palette.ColorWebSafePalette;
import org.ourproject.kune.platf.client.ui.palette.ColorWebSafePalettePanel;
@@ -100,6 +99,8 @@
import cc.kune.core.client.errors.ErrorHandler;
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageUtils;
import cc.kune.core.client.state.AccessRightsClientManager;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
@@ -161,19 +162,19 @@
return null; // new ErrorHandler(i(Session.class), i18n, p(StateManager.class));
}
});
+//
+// register(Singleton.class, new Factory<Images>(Images.class) {
+// @Override
+// public Images create() {
+// return Images.App.getInstance();
+// }
+// }, new Factory<ImageUtils>(ImageUtils.class) {
+// @Override
+// public ImageUtils create() {
+// return new ImageUtils(i(Images.class));
+// }
+// });
- register(Singleton.class, new Factory<Images>(Images.class) {
- @Override
- public Images create() {
- return Images.App.getInstance();
- }
- }, new Factory<ImageUtils>(ImageUtils.class) {
- @Override
- public ImageUtils create() {
- return new ImageUtils(i(Images.class));
- }
- });
-
//AsyncCallbackSimple.init(i(ErrorHandler.class));
// register(Singleton.class, new Factory<AppStarter>(AppStarter.class) {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,7 +19,7 @@
*/
package org.ourproject.kune.platf.client.shortcuts;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.ChangebleObject;
import org.ourproject.kune.platf.client.actions.InputMap;
@@ -45,7 +45,7 @@
if (nativeEventPrev.getTypeInt() == Event.ONKEYDOWN) {
final NativeEvent nativeEvent = nativeEventPrev.getNativeEvent();
final Event event = Event.as(nativeEvent);
- final AbstractAction action = get(Shortcut.getShortcut(event.getCtrlKey(), event.getAltKey(),
+ final OldAbstractAction action = get(Shortcut.getShortcut(event.getCtrlKey(), event.getAltKey(),
event.getShiftKey(), event.getShiftKey(), (char) event.getKeyCode()));
if (action != null) {
Log.debug("Not propagating event");
@@ -69,7 +69,7 @@
}
@Override
- public void put(final KeyStroke keystroke, final AbstractAction action) {
+ public void put(final KeyStroke keystroke, final OldAbstractAction action) {
final ChangebleObject previous = super.get(keystroke);
if (previous != null) {
Log.warn("Shortcut already registed by: " + previous + "(overriding)");
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,89 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.platf.client.ui;
-
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.Image;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.VerticalPanel;
-import com.gwtext.client.util.Format;
-
-// http://en.wikipedia.org/wiki/Thumbnail
-
-public class BasicThumb extends Composite {
- private static final int NOSIZE = -1;
- private final Image thumbImg;
- private final Label thumbLabel;
-
- public BasicThumb(final String imageUrl, final int imgSize, final String text, final int textMaxLenght,
- final boolean crop, final ClickHandler clickHandler) {
- super();
- final VerticalPanel vpanel = new VerticalPanel();
- if (imgSize == NOSIZE) {
- thumbImg = new Image(imageUrl);
- } else {
- if (crop) {
- thumbImg = new Image(imageUrl, 0, 0, imgSize, imgSize);
- } else {
- thumbImg = new Image(imageUrl);
- thumbImg.setPixelSize(imgSize, imgSize);
- }
- }
- final String title = textMaxLenght == NOSIZE ? text : Format.ellipsis(text, textMaxLenght);
- thumbLabel = new Label(title);
- vpanel.add(thumbImg);
- vpanel.add(thumbLabel);
- vpanel.addStyleName("k-basic-thumb");
- vpanel.addStyleName("kune-Margin-Small-trbl");
- vpanel.addStyleName("kune-pointer");
- vpanel.addStyleName("kune-floatleft");
- thumbLabel.addClickHandler(clickHandler);
- vpanel.setCellHorizontalAlignment(thumbLabel, VerticalPanel.ALIGN_CENTER);
- thumbImg.addClickHandler(clickHandler);
- initWidget(vpanel);
- }
-
- public BasicThumb(final String imageUrl, final String thumText, final ClickHandler clickHandler) {
- this(imageUrl, NOSIZE, thumText, NOSIZE, false, clickHandler);
- }
-
- public BasicThumb(final String imageUrl, final String text, final int textMaxLenght, final ClickHandler clickHandler) {
- this(imageUrl, NOSIZE, text, textMaxLenght, false, clickHandler);
- }
-
- public void setText(final String text) {
- thumbLabel.setText(text);
- }
-
- public void setThumbUrl(final String url) {
- thumbImg.setUrl(url);
- }
-
- public void setTooltip(final String tip) {
- KuneUiUtils.setQuickTip(thumbImg, tip);
- KuneUiUtils.setQuickTip(thumbLabel, tip);
- }
-
- public void setTooltip(final String tipTitle, final String tip) {
- KuneUiUtils.setQuickTip(thumbImg, tip, tipTitle);
- KuneUiUtils.setQuickTip(thumbLabel, tip, tipTitle);
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,39 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.platf.client.ui.download;
-
-public final class FileConstants {
-
- public final static String HASH = "hash";
- public final static String TOKEN = "token";
- public final static String DOWNLOAD = "download";
- public final static String IMGSIZE = "imgsize";
- public final static String FILENAME = "filename";
- public final static String TYPE_ID = "typeid";
- public final static String USER_LOGO_FIELD = "k-ulogov-ff";
- public final static String GROUP_LOGO_FIELD = "k-glogov-ff";
- public final static int LOGO_DEF_HEIGHT = 60;
- public final static int LOGO_DEF_WIDTH = 468;
- public final static int LOGO_MIN_HEIGHT = 28;
- public final static int LOGO_MIN_WIDTH = 468;
-
- private FileConstants() {
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,94 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.platf.client.ui.download;
-
-import org.ourproject.kune.platf.client.services.ImageDescriptor;
-import org.ourproject.kune.platf.client.services.ImageUtils;
-
-import cc.kune.common.client.utils.Url;
-import cc.kune.common.client.utils.UrlParam;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.shared.domain.utils.StateToken;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.ui.RootPanel;
-
-public class FileDownloadUtils {
-
- private static final String DOWNLOADSERVLET = "servlets/FileDownloadManager";
- private static final String LOGODOWNLOADSERVLET = "servlets/EntityLogoDownloadManager";
-
- private final Session session;
- private final ImageUtils imageUtils;
-
- public FileDownloadUtils(final Session session, final ImageUtils imageUtils) {
- this.session = session;
- this.imageUtils = imageUtils;
- }
-
- public void downloadFile(final StateToken token) {
- final String url = calculateUrl(token, true, true);
- DOM.setElementAttribute(RootPanel.get("__download").getElement(), "src", url);
- }
-
- public String getImageResizedUrl(final StateToken token, final ImageSize imageSize) {
- return calculateUrl(token, false, true) + "&" + new UrlParam(FileConstants.IMGSIZE, imageSize.toString());
- }
-
- public String getImageUrl(final StateToken token) {
- return calculateUrl(token, false, true);
- }
-
- public String getLogoAvatarHtml(final StateToken groupToken, final boolean groupHasLogo, final boolean isPersonal,
- final int size, final int hvspace) {
- if (groupHasLogo) {
- return "<img hspace='" + hvspace + "' vspace='" + hvspace + "' align='left' style='width: " + size
- + "px; height: " + size + "px;' src='" + getLogoImageUrl(groupToken) + "'>";
- } else {
- return isPersonal ? imageUtils.getImageHtml(ImageDescriptor.personDef)
- : imageUtils.getImageHtml(ImageDescriptor.groupDefIcon);
- }
- }
-
- public String getLogoImageUrl(final StateToken token) {
- return new Url(GWT.getModuleBaseURL() + LOGODOWNLOADSERVLET,
- new UrlParam(FileConstants.TOKEN, token.toString())).toString();
- }
-
- public String getUrl(final StateToken token) {
- return calculateUrl(token, false, false);
- }
-
- private String calculateUrl(final StateToken token, final boolean download, final boolean useHash) {
- final Url url = new Url(GWT.getModuleBaseURL() + DOWNLOADSERVLET, new UrlParam(FileConstants.TOKEN,
- token.toString()));
- if (download) {
- url.add(new UrlParam(FileConstants.DOWNLOAD, download));
- }
- if (useHash) {
- final String hash = session.getUserHash();
- if (hash != null) {
- url.add(new UrlParam(FileConstants.HASH, hash));
- }
- }
- return url.toString();
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,24 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.platf.client.ui.download;
-
-public enum ImageSize {
- sized, thumb, ico
-}
\ No newline at end of file
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.ActionItem;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.services.Images;
import org.ourproject.kune.platf.client.ui.KuneUiUtils;
import org.ourproject.kune.platf.client.ui.dialogs.AbstractPopupPanel;
@@ -53,7 +53,7 @@
hpanel.add(close);
}
- public void add(final GuiActionDescrip item) {
+ public void add(final OldGuiActionDescrip item) {
final Label actionLabel = new Label();
actionLabel.setText((String) item.getValue(Action.NAME));
actionLabel.addStyleName("k-rte-changelink");
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,9 +20,9 @@
package org.ourproject.kune.platf.client.ui.rte.basic;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.KeyStroke;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.GuiAddCondition;
import org.ourproject.kune.platf.client.actions.ui.IsActionExtensible;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
@@ -36,19 +36,19 @@
public interface RTEditor extends IsActionExtensible {
/**
- * The TOPBAR location used in {@link GuiActionDescrip#setLocation(String)}
+ * The TOPBAR location used in {@link OldGuiActionDescrip#setLocation(String)}
* for put the actions in the correct position
*/
String TOPBAR = "rte-topbar";
/**
- * The SNDBAR location used in {@link GuiActionDescrip#setLocation(String)}
+ * The SNDBAR location used in {@link OldGuiActionDescrip#setLocation(String)}
* for put the actions in the correct position
*/
String SNDBAR = "rte-sndbar";
/**
- * The LINKCTX location used in {@link GuiActionDescrip#setLocation(String)}
+ * The LINKCTX location used in {@link OldGuiActionDescrip#setLocation(String)}
* for put the actions in the links context menu
*/
String LINKCTX = "rte-linkctx";
@@ -168,7 +168,7 @@
* @param action
* the action
*/
- void setActionShortcut(KeyStroke key, AbstractAction action);
+ void setActionShortcut(KeyStroke key, OldAbstractAction action);
/**
* Sets some action shortcut, some principal, other similar (used when some
@@ -181,7 +181,7 @@
* @param actions
* the actions
*/
- void setActionShortcut(KeyStroke key, AbstractAction mainAction, AbstractAction... actions);
+ void setActionShortcut(KeyStroke key, OldAbstractAction mainAction, OldAbstractAction... actions);
/**
* Sets that editor must be extended type (if browser permit it).
@@ -216,7 +216,7 @@
* @param descripts
* the descripts
*/
- void setLocation(String location, GuiActionDescrip... descripts);
+ void setLocation(String location, OldGuiActionDescrip... descripts);
/**
* Sets the text of the editor.
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,12 +23,12 @@
import org.cobogw.gwt.user.client.CSS;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.InputMap;
import org.ourproject.kune.platf.client.actions.KeyStroke;
import org.ourproject.kune.platf.client.actions.ui.ComplexToolbar;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.GuiBindingsRegister;
import org.ourproject.kune.platf.client.shortcuts.GlobalShortcutRegister;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
@@ -90,7 +90,7 @@
setHeight("100%");
}
- public void addAction(final GuiActionDescrip item) {
+ public void addAction(final OldGuiActionDescrip item) {
final String location = item.getLocation();
if (location == null) {
throw new UIException("Unknown location in action item: " + item);
@@ -315,8 +315,8 @@
break;
case Event.ONKEYPRESS:
final KeyStroke keystroke = KeyStroke.getKeyStrokeForEvent(event);
- final AbstractAction rtaActionItem = inputMap.get(keystroke);
- final AbstractAction actionItem = rtaActionItem == null ? globalShortcutReg.get(keystroke) : rtaActionItem;
+ final OldAbstractAction rtaActionItem = inputMap.get(keystroke);
+ final OldAbstractAction actionItem = rtaActionItem == null ? globalShortcutReg.get(keystroke) : rtaActionItem;
if (actionItem == null) {
super.onBrowserEvent(event);
updateStatus();
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -28,7 +28,7 @@
import java.util.Map;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.InputMap;
@@ -37,11 +37,11 @@
import org.ourproject.kune.platf.client.actions.ui.AbstractActionExtensiblePresenter;
import org.ourproject.kune.platf.client.actions.ui.ButtonDescriptor;
import org.ourproject.kune.platf.client.actions.ui.GuiActionDescCollection;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.GuiAddCondition;
import org.ourproject.kune.platf.client.actions.ui.MenuCheckItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuRadioItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuSeparatorDescriptor;
import org.ourproject.kune.platf.client.actions.ui.PushButtonDescriptor;
@@ -786,7 +786,7 @@
}
@Override
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
actions.add(descriptor);
checkForMenus(descriptor);
}
@@ -810,12 +810,12 @@
}
private void attachActions() {
- for (final GuiActionDescrip descriptor : actions) {
+ for (final OldGuiActionDescrip descriptor : actions) {
view.addAction(descriptor);
}
}
- private void checkForMenus(final GuiActionDescrip descriptor) {
+ private void checkForMenus(final OldGuiActionDescrip descriptor) {
if (descriptor instanceof MenuDescriptor) {
menus.add((MenuDescriptor) descriptor);
}
@@ -833,7 +833,7 @@
final SelectAllAction selectAllAction = new SelectAllAction(i18n.t("Select all"),
AbstractExtendedAction.NO_TEXT, imgResources.selectall());
- final MenuItemDescriptor select = new MenuItemDescriptor(editMenu, selectAllAction);
+ final OldMenuItemDescriptor select = new OldMenuItemDescriptor(editMenu, selectAllAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('A')), selectAllAction);
final BoldAction boldAction = new BoldAction(NO_TEXT, i18n.t("Bold"), imgResources.bold());
@@ -851,12 +851,12 @@
final SubscriptAction subscriptAction = new SubscriptAction(i18n.t("Subscript"), NO_TEXT,
imgResources.subscript());
- final MenuItemDescriptor subscript = new MenuItemDescriptor(formatMenu, subscriptAction);
+ final OldMenuItemDescriptor subscript = new OldMenuItemDescriptor(formatMenu, subscriptAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf(',')), subscriptAction);
final SuperscriptAction superscriptAction = new SuperscriptAction(i18n.t("Superscript"), NO_TEXT,
imgResources.superscript());
- final MenuItemDescriptor superscript = new MenuItemDescriptor(formatMenu, superscriptAction);
+ final OldMenuItemDescriptor superscript = new OldMenuItemDescriptor(formatMenu, superscriptAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('.')), superscriptAction);
final JustifyLeftAction jfyLeftAction = new JustifyLeftAction(NO_TEXT, i18n.t("Left Justify"),
@@ -876,49 +876,49 @@
final UndoAction undoAction = new UndoAction(i18n.t("Undo"), NO_TEXT, imgResources.undo());
final UndoAction undoActionBtn = new UndoAction(NO_TEXT, i18n.t("Undo"), imgResources.undo());
- final MenuItemDescriptor undo = new MenuItemDescriptor(editMenu, undoAction);
+ final OldMenuItemDescriptor undo = new OldMenuItemDescriptor(editMenu, undoAction);
final ButtonDescriptor undoBtn = new ButtonDescriptor(undoActionBtn);
undoBtn.setPosition(0);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('Z')), undoAction);
final RedoAction redoAction = new RedoAction(i18n.t("Redo"), NO_TEXT, imgResources.redo());
final RedoAction redoActionBtn = new RedoAction(NO_TEXT, i18n.t("Redo"), imgResources.redo());
- final MenuItemDescriptor redo = new MenuItemDescriptor(editMenu, redoAction);
+ final OldMenuItemDescriptor redo = new OldMenuItemDescriptor(editMenu, redoAction);
final ButtonDescriptor redoBtn = new ButtonDescriptor(redoActionBtn);
redoBtn.setPosition(1);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('Y')), redoAction);
final CopyAction copyAction = new CopyAction(i18n.t("Copy"), NO_TEXT, imgResources.copy());
- final MenuItemDescriptor copy = new MenuItemDescriptor(editMenu, copyAction);
+ final OldMenuItemDescriptor copy = new OldMenuItemDescriptor(editMenu, copyAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('C')), copyAction);
final CutAction cutAction = new CutAction(i18n.t("Cut"), NO_TEXT, imgResources.cut());
- final MenuItemDescriptor cut = new MenuItemDescriptor(editMenu, cutAction);
+ final OldMenuItemDescriptor cut = new OldMenuItemDescriptor(editMenu, cutAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('X')), cutAction);
final PasteAction pasteAction = new PasteAction(i18n.t("Paste"), NO_TEXT, imgResources.paste());
- final MenuItemDescriptor paste = new MenuItemDescriptor(editMenu, pasteAction);
+ final OldMenuItemDescriptor paste = new OldMenuItemDescriptor(editMenu, pasteAction);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('V')), pasteAction);
final EditHtmlAction editHtmlAction = new EditHtmlAction(i18n.t("Edit HTML"), NO_TEXT, imgResources.edithtml());
- final MenuItemDescriptor editHtml = new MenuItemDescriptor(editMenu, editHtmlAction);
+ final OldMenuItemDescriptor editHtml = new OldMenuItemDescriptor(editMenu, editHtmlAction);
editHtml.setAddCondition(extendedAddCond);
final CommentAction commentAction = new CommentAction(i18n.t("Comment"), NO_TEXT, NO_ICON);
- final MenuItemDescriptor comment = new MenuItemDescriptor(insertMenu, commentAction);
+ final OldMenuItemDescriptor comment = new OldMenuItemDescriptor(insertMenu, commentAction);
comment.setAddCondition(extendedAddCond);
setActionShortcut(Shortcut.getShortcut(true, Character.valueOf('M')), commentAction);
final HrAction hlineAction = new HrAction(i18n.t("Horizontal line"), NO_TEXT, imgResources.hfixedline());
final HrAction hlineBtnAction = new HrAction(NO_TEXT, i18n.t("Horizontal line"), imgResources.hfixedline());
- final MenuItemDescriptor hline = new MenuItemDescriptor(insertMenu, hlineAction);
+ final OldMenuItemDescriptor hline = new OldMenuItemDescriptor(insertMenu, hlineAction);
final ButtonDescriptor hlineBtn = new ButtonDescriptor(hlineBtnAction);
hline.setAddCondition(extendedAddCond);
hlineBtn.setAddCondition(extendedAddCond);
setActionShortcut(Shortcut.getShortcut(true, true, Character.valueOf(' ')), hlineAction);
final BlockquoteAction blockquoteAction = new BlockquoteAction(i18n.t("Block Quotation"), NO_TEXT, NO_ICON);
- final MenuItemDescriptor blockquote = new MenuItemDescriptor(formatMenu, blockquoteAction);
+ final OldMenuItemDescriptor blockquote = new OldMenuItemDescriptor(formatMenu, blockquoteAction);
blockquote.setAddCondition(extendedAddCond);
final StrikethroughAction strikeAction = new StrikethroughAction(NO_TEXT, i18n.t("Strikethrough"),
@@ -948,14 +948,14 @@
final ImgAction imgAction = new ImgAction(i18n.t("Image..."), NO_TEXT, imgResources.images());
final ImgAction imgBtnAction = new ImgAction(NO_TEXT, i18n.t("Insert Image"), imgResources.images());
- final MenuItemDescriptor img = new MenuItemDescriptor(insertMenu, imgAction);
+ final OldMenuItemDescriptor img = new OldMenuItemDescriptor(insertMenu, imgAction);
final ButtonDescriptor imgBtn = new ButtonDescriptor(imgBtnAction);
img.setAddCondition(extendedAddCond);
imgBtn.setAddCondition(extendedAddCond);
final InsertMediaAction insertMediaAction = new InsertMediaAction(i18n.t("Audio/Video..."), NO_TEXT,
imgResources.film());
- final MenuItemDescriptor insertMedia = new MenuItemDescriptor(insertMenu, insertMediaAction);
+ final OldMenuItemDescriptor insertMedia = new OldMenuItemDescriptor(insertMenu, insertMediaAction);
insertMedia.setAddCondition(extendedAddCond);
final CreateOrEditLinkAction editLinkAction = new CreateOrEditLinkAction(i18n.t("Link..."), NO_TEXT,
@@ -964,8 +964,8 @@
i18n.t("Create or Edit Link"), imgResources.link());
final CreateOrEditLinkAction editLinkCtxAction = new CreateOrEditLinkAction(i18n.t("Change"), NO_TEXT,
imgResources.link());
- final MenuItemDescriptor editLink = new MenuItemDescriptor(insertMenu, editLinkAction);
- final MenuItemDescriptor editLinkCtx = new MenuItemDescriptor(linkCtxMenu, editLinkCtxAction);
+ final OldMenuItemDescriptor editLink = new OldMenuItemDescriptor(insertMenu, editLinkAction);
+ final OldMenuItemDescriptor editLinkCtx = new OldMenuItemDescriptor(linkCtxMenu, editLinkCtxAction);
final ButtonDescriptor editLinkBtn = new ButtonDescriptor(editLinkBtnAction);
editLink.setAddCondition(extendedAddCond);
editLinkBtn.setAddCondition(extendedAddCond);
@@ -977,7 +977,7 @@
imgResources.linkbreak());
final RemoveLinkAction delLinkCtxAction = new RemoveLinkAction(i18n.t("Remove"), NO_TEXT,
imgResources.linkbreak());
- final MenuItemDescriptor removeLinkCtx = new MenuItemDescriptor(linkCtxMenu, delLinkCtxAction);
+ final OldMenuItemDescriptor removeLinkCtx = new OldMenuItemDescriptor(linkCtxMenu, delLinkCtxAction);
final ButtonDescriptor removeLinkBtn = new ButtonDescriptor(delLinkBtnAction);
removeLinkBtn.setAddCondition(extendedAddCond);
removeLinkCtx.setAddCondition(extendedAddCond);
@@ -987,7 +987,7 @@
imgResources.removeFormat());
final RemoveFormatAction remFormatBtnAc = new RemoveFormatAction(NO_TEXT, i18n.t("Clear Formatting..."),
imgResources.removeFormat());
- final MenuItemDescriptor removeFormat = new MenuItemDescriptor(formatMenu, remFormatAction);
+ final OldMenuItemDescriptor removeFormat = new OldMenuItemDescriptor(formatMenu, remFormatAction);
final ButtonDescriptor removeFormatBtn = new ButtonDescriptor(remFormatBtnAc);
removeFormat.setAddCondition(extendedAddCond);
removeFormatBtn.setAddCondition(extendedAddCond);
@@ -995,14 +995,14 @@
final InsertSpecialCharAction insCharAction = new InsertSpecialCharAction(i18n.t("Special characters..."),
NO_TEXT, imgResources.specialchars());
- final MenuItemDescriptor insertSpecialChar = new MenuItemDescriptor(insertMenu, insCharAction);
+ final OldMenuItemDescriptor insertSpecialChar = new OldMenuItemDescriptor(insertMenu, insCharAction);
insertSpecialChar.setAddCondition(extendedAddCond);
final InsertTableAction insTableAction = new InsertTableAction(i18n.t("Table..."), NO_TEXT,
imgResources.inserttable());
final InsertTableAction insTableBtnAction = new InsertTableAction(NO_TEXT, i18n.t("Insert Table"),
imgResources.inserttable());
- final MenuItemDescriptor insertTable = new MenuItemDescriptor(insertMenu, insTableAction);
+ final OldMenuItemDescriptor insertTable = new OldMenuItemDescriptor(insertMenu, insTableAction);
final ButtonDescriptor insertTableBtn = new ButtonDescriptor(insTableBtnAction);
insertTable.setAddCondition(extendedAddCond);
insertTableBtn.setAddCondition(extendedAddCond);
@@ -1019,7 +1019,7 @@
final DevInfoAction devInfoAction = new DevInfoAction(i18n.t("Developers info"), NO_TEXT,
imgResources.specialchars());
- final MenuItemDescriptor devInfo = new MenuItemDescriptor(formatMenu, devInfoAction);
+ final OldMenuItemDescriptor devInfo = new OldMenuItemDescriptor(formatMenu, devInfoAction);
devInfo.setAddCondition(extendedAddCond);
setActionShortcut(Shortcut.getShortcut(false, true, false, false, Character.valueOf('I')), devInfoAction);
@@ -1033,15 +1033,15 @@
fontColor, backgroundColor, fontSizeMenu, fontMenu, editLinkCtx, removeLinkCtx);
// actions.add(devInfo);
- setLocation(TOPBAR, new GuiActionDescrip[] { fileMenu, editMenu, insertMenu, formatMenu, editMenuSep,
+ setLocation(TOPBAR, new OldGuiActionDescrip[] { fileMenu, editMenu, insertMenu, formatMenu, editMenuSep,
subscript, superscript, undo, redo, editMenuSep, copy, cut, paste, editMenuSep, select, editMenuSep,
editHtml, comment, hline, blockquote, img, insertTable, insertMedia, editLink, removeFormat,
formatMenuSep, insertMenuSep, insertSpecialChar, insertTable, devInfo });
- setLocation(SNDBAR, new GuiActionDescrip[] { undoBtn, redoBtn, sndbarSep, sndbarSepExt, bold, italic,
+ setLocation(SNDBAR, new OldGuiActionDescrip[] { undoBtn, redoBtn, sndbarSep, sndbarSepExt, bold, italic,
underline, strikethrough, justifyLeft, justifyCentre, justifyRight, undoBtn, redoBtn, hlineBtn,
decreaseIndent, increaseIndent, olist, ulist, hlineBtn, imgBtn, editLinkBtn, removeLinkBtn,
removeFormatBtn, insertTableBtn, fontColor, backgroundColor, fontMenu, fontSizeMenu });
- setLocation(LINKCTX, new GuiActionDescrip[] { removeLinkCtx, editLinkCtx });
+ setLocation(LINKCTX, new OldGuiActionDescrip[] { removeLinkCtx, editLinkCtx });
for (final String fontName : FONT_NAMES) {
createFontAction(fontMenu, fontName);
@@ -1203,15 +1203,15 @@
}
@Override
- public void setActionShortcut(final KeyStroke key, final AbstractAction action) {
+ public void setActionShortcut(final KeyStroke key, final OldAbstractAction action) {
inputMap.put(key, action);
action.setShortcut(key);
}
@Override
- public void setActionShortcut(final KeyStroke key, final AbstractAction mainAction, final AbstractAction... actions) {
+ public void setActionShortcut(final KeyStroke key, final OldAbstractAction mainAction, final OldAbstractAction... actions) {
setActionShortcut(key, mainAction);
- for (final AbstractAction action : actions) {
+ for (final OldAbstractAction action : actions) {
action.setShortcut(key);
}
}
@@ -1233,8 +1233,8 @@
}
@Override
- public void setLocation(final String location, final GuiActionDescrip... descripts) {
- for (final GuiActionDescrip descript : descripts) {
+ public void setLocation(final String location, final OldGuiActionDescrip... descripts) {
+ for (final OldGuiActionDescrip descript : descripts) {
descript.setLocation(location);
}
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,9 +19,9 @@
*/
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertimg.ContentPosition;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,7 +27,7 @@
import org.ourproject.kune.platf.client.actions.KeyStroke;
import org.ourproject.kune.platf.client.actions.ui.ButtonDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuCheckItemDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.shortcuts.Keyboard;
import org.ourproject.kune.platf.client.ui.palette.ColorWebSafePalette;
import org.ourproject.kune.platf.client.ui.rte.basic.RTEditor;
@@ -192,7 +192,7 @@
saveBtn.setLocation(RTEditor.SNDBAR);
saveMenuAction = new SaveAction(i18n.t("Save"),NO_TEXT, imgResources.save());
- final MenuItemDescriptor saveMenu = new MenuItemDescriptor(super.getFileMenu(), saveMenuAction);
+ final OldMenuItemDescriptor saveMenu = new OldMenuItemDescriptor(super.getFileMenu(), saveMenuAction);
saveMenu.setPosition(0);
saveMenu.setLocation(RTEditor.TOPBAR);
@@ -207,11 +207,11 @@
autoSaveItem.setLocation(RTEditor.TOPBAR);
final CloseAction closeAction = new CloseAction(i18n.t("Close"), NO_TEXT, NO_ICON);
- final MenuItemDescriptor closeItem = new MenuItemDescriptor(super.getFileMenu(), closeAction);
+ final OldMenuItemDescriptor closeItem = new OldMenuItemDescriptor(super.getFileMenu(), closeAction);
closeItem.setLocation(RTEditor.TOPBAR);
final SaveCloseAction saveCloseAction = new SaveCloseAction(i18n.t("Save & Close"), NO_TEXT, NO_ICON);
- final MenuItemDescriptor saveClose = new MenuItemDescriptor(super.getFileMenu(), saveCloseAction);
+ final OldMenuItemDescriptor saveClose = new OldMenuItemDescriptor(super.getFileMenu(), saveCloseAction);
final ButtonDescriptor saveCloseBtn = new ButtonDescriptor(saveCloseAction);
saveClose.setLocation(RTEditor.TOPBAR);
saveCloseBtn.setLocation(RTEditor.TOPBAR);
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -83,34 +83,29 @@
groupManager.reIndex();
final Content defaultContent = siteGroup.getDefaultContent();
- contentManager.save(
- user,
- defaultContent,
- "<img src=\"http://kune.ourproject.org/IMG/cache-200x37/siteon0-200x37.png\" "
- + "align=\"right\">This a initial demo of "
- + "<a href=\"http://kune.ourproject.org\">kune</a>."
- + "<br><div style=\"text-align: right;\"><br></div>"
- + "Kune is currently under initial development.<br>"
- + "<br>To test it, <a href=\"#signin\">sign in registering an user</a>, "
- + "but take into account that:<br><ul><li>kune is not optimized yet, "
- + "then the initial load and other operations maybe are slow.</li>"
- + "<li>Don\'t use passwords that you are using in other sites "
- + "(kune isn\'t secure yet storing passwords).</li>"
- + "<li>The site is divided in two main areas: the public "
- + "space and the workspace:</li><ul>"
- + "<li>The workspace is the most important part of kune, "
- + "because is where users collaborate and communicates which each others. "
- + "This part is the most dynamic and we are using modern "
- + "(and sometimes experimental) web technologies to improve the end user "
- + "experience. I heavily under development.<br></li>"
- + "<li>The public space is currently lest developed. "
- + "Our main goal is to offer customs and configurable styles "
- + "for groups/users contents.</li></ul></ul><font size=\"4\"><br>"
- + "We need your feedback<br><br></font>Please help us to improve this software "
- + "reporting <a href=\"http://ourproject.org/tracker/?atid=139&group_id=407&func=browse\">bugs and/or "
- + "suggestions</a>. Also you <a href=\"#translate\">help us to translate it</a> "
- + "into other languages.<br><br>Thank you,<br>"
- + "<br>--<br><span style=\"font-style: italic;\">" + "The kune development team</span><br><br>");
+ contentManager.save(user, defaultContent, "<img src=\"http://kune.ourproject.org/kimages/logo-header.png\" "
+ + "align=\"right\">This a initial demo of " + "<a href=\"http://kune.ourproject.org\">kune</a>."
+ + "<br><div style=\"text-align: right;\"><br></div>"
+ + "Kune is currently under initial development.<br>"
+ + "<br>To test it, <a href=\"#signin\">sign in registering an user</a>, "
+ + "but take into account that:<br><ul><li>kune is not optimized yet, "
+ + "then the initial load and other operations maybe are slow.</li>"
+ + "<li>Don\'t use passwords that you are using in other sites "
+ + "(kune isn\'t secure yet storing passwords).</li>"
+ + "<li>The site is divided in two main areas: the public " + "space and the workspace:</li><ul>"
+ + "<li>The workspace is the most important part of kune, "
+ + "because is where users collaborate and communicates which each others. "
+ + "This part is the most dynamic and we are using modern "
+ + "(and sometimes experimental) web technologies to improve the end user "
+ + "experience. I heavily under development.<br></li>"
+ + "<li>The public space is currently lest developed. "
+ + "Our main goal is to offer customs and configurable styles "
+ + "for groups/users contents.</li></ul></ul><font size=\"4\"><br>"
+ + "We need your feedback<br><br></font>Please help us to improve this software "
+ + "reporting <a href=\"http://kune.ourproject.org/issues/\">bugs and/or "
+ + "suggestions</a>. Also you <a href=\"#translate\">help us to translate it</a> "
+ + "into other languages.<br><br>Thank you,<br>" + "<br>--<br><span style=\"font-style: italic;\">"
+ + "The kune development team</span><br><br>");
contentManager.renameContent(user, defaultContent.getId(), "Welcome to kune demo");
contentManager.setStatus(defaultContent.getId(), ContentStatus.publishedOnline);
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,9 +27,9 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.platf.server.manager.GroupManager;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.domain.Group;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -29,12 +29,12 @@
import magick.MagickException;
import org.apache.commons.fileupload.FileItem;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.platf.server.auth.ActionLevel;
import org.ourproject.kune.platf.server.auth.Authenticated;
import org.ourproject.kune.platf.server.auth.Authorizated;
import org.ourproject.kune.platf.server.manager.GroupManager;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.domain.AccessRol;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -31,8 +31,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.server.auth.ActionLevel;
import org.ourproject.kune.platf.server.auth.Authenticated;
import org.ourproject.kune.platf.server.auth.Authorizated;
@@ -41,6 +39,8 @@
import org.ourproject.kune.platf.server.properties.KuneProperties;
import cc.kune.core.client.errors.ContentNotFoundException;
+import cc.kune.core.client.services.FileConstants;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.shared.domain.AccessRol;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.domain.BasicMimeType;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -26,7 +26,6 @@
import net.sf.json.JSONObject;
import org.apache.commons.fileupload.FileItem;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.server.UserSession;
import org.ourproject.kune.platf.server.access.AccessService;
import org.ourproject.kune.platf.server.auth.ActionLevel;
@@ -38,6 +37,7 @@
import org.ourproject.kune.platf.server.properties.KuneProperties;
import org.ourproject.kune.platf.server.utils.StringW;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.shared.domain.AccessRol;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -37,9 +37,9 @@
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.platf.server.properties.KuneProperties;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.domain.utils.StateToken;
import com.google.inject.Inject;
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientActions.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientActions.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -24,7 +24,6 @@
import static org.ourproject.kune.wiki.client.WikiClientTool.TYPE_UPLOADEDFILE;
import static org.ourproject.kune.wiki.client.WikiClientTool.TYPE_WIKIPAGE;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.wiki.client.cnt.WikiViewer;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
@@ -42,6 +41,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -22,7 +22,6 @@
import org.ourproject.kune.platf.client.app.ToolGroup;
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.wiki.client.cnt.WikiFolderContent;
import org.ourproject.kune.wiki.client.cnt.WikiFolderContentPanel;
@@ -53,6 +52,7 @@
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientTool.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/WikiClientTool.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/WikiMessages.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/WikiMessages.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/WikiMessages.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContent.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContent.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -20,12 +20,12 @@
package org.ourproject.kune.wiki.client.cnt;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.wiki.client.WikiClientTool;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.StateToken;
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiFolderContentView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewer.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewer.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -19,7 +19,6 @@
*/
package org.ourproject.kune.wiki.client.cnt;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.wiki.client.WikiClientTool;
import org.ourproject.kune.workspace.client.cnt.ActionContentToolbar;
@@ -27,6 +26,7 @@
import org.ourproject.kune.workspace.client.cnt.FoldableContentPresenter;
import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.StateContentDTO;
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/cnt/WikiViewerView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContext.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContext.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContext.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContextPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContextPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/wiki/client/ctx/WikiContextPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -31,7 +31,6 @@
import org.ourproject.kune.platf.client.actions.ActionToolbarMenuRadioDescriptor;
import org.ourproject.kune.platf.client.actions.ActionToolbarPosition;
import org.ourproject.kune.platf.client.actions.RadioMustBeChecked;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.cnt.FoldableContent;
@@ -51,6 +50,7 @@
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.ContentStatus;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,38 +20,32 @@
package org.ourproject.kune.workspace.client;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.workspace.client.socialnet.ParticipateAction;
-import org.ourproject.kune.workspace.client.socialnet.UnjoinAction;
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.ioc.decorator.NoDecoration;
-import com.calclab.suco.client.ioc.module.Factory;
-
public class ActionsModule extends AbstractExtendedModule {
@Override
protected void onInstall() {
- register(NoDecoration.class, new Factory<ParticipateAction>(ParticipateAction.class) {
- @Override
- public ParticipateAction create() {
- return new ParticipateAction(i(Session.class), p(SocialNetworkServiceAsync.class),
- i(StateManager.class), i(AccessRightsClientManager.class), i(I18nTranslationService.class),
- i(IconResources.class));
- }
- });
+ // register(NoDecoration.class, new
+ // Factory<ParticipateAction>(ParticipateAction.class) {
+ // @Override
+ // public ParticipateAction create() {
+ // return new ParticipateAction(i(Session.class),
+ // p(SocialNetworkServiceAsync.class),
+ // i(StateManager.class), i(AccessRightsClientManager.class),
+ // i(I18nTranslationService.class),
+ // i(IconResources.class));
+ // }
+ // });
+ //
+ // register(NoDecoration.class, new
+ // Factory<UnjoinAction>(UnjoinAction.class) {
+ // @Override
+ // public UnjoinAction create() {
+ // return new UnjoinAction(i(Session.class),
+ // p(SocialNetworkServiceAsync.class), i(StateManager.class),
+ // i(AccessRightsClientManager.class), i(I18nTranslationService.class),
+ // i(IconResources.class));
+ // }
+ // });
- register(NoDecoration.class, new Factory<UnjoinAction>(UnjoinAction.class) {
- @Override
- public UnjoinAction create() {
- return new UnjoinAction(i(Session.class), p(SocialNetworkServiceAsync.class), i(StateManager.class),
- i(AccessRightsClientManager.class), i(I18nTranslationService.class), i(IconResources.class));
- }
- });
-
}
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -40,8 +40,8 @@
import org.ourproject.kune.workspace.client.cnt.ContentActionRegistry;
import org.ourproject.kune.workspace.client.cnt.ContentIconsRegistry;
import org.ourproject.kune.workspace.client.cxt.ContextActionRegistry;
-import org.ourproject.kune.workspace.client.socialnet.GroupActionRegistry;
-import org.ourproject.kune.workspace.client.socialnet.UserActionRegistry;
+import org.ourproject.kune.workspace.client.oldsn.GroupActionRegistry;
+import org.ourproject.kune.workspace.client.oldsn.UserActionRegistry;
import com.calclab.suco.client.ioc.decorator.Singleton;
import com.calclab.suco.client.ioc.module.Factory;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -31,10 +31,8 @@
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.registry.RenamableRegistry;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
-import org.ourproject.kune.platf.client.services.ImageUtils;
import org.ourproject.kune.platf.client.services.Images;
import org.ourproject.kune.platf.client.shortcuts.GlobalShortcutRegister;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
import org.ourproject.kune.platf.client.ui.palette.ColorWebSafePalette;
import org.ourproject.kune.platf.client.ui.rte.edithtml.EditHtmlDialog;
@@ -105,6 +103,13 @@
import org.ourproject.kune.workspace.client.nohomepage.NoHomePage;
import org.ourproject.kune.workspace.client.nohomepage.NoHomePagePanel;
import org.ourproject.kune.workspace.client.nohomepage.NoHomePagePresenter;
+import org.ourproject.kune.workspace.client.oldsn.other.AddAsBuddieHeaderButton;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionBuddiesSummaryToolbar;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionBuddiesSummaryToolbarPresenter;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionGroupSummaryToolbar;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionGroupSummaryToolbarPresenter;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionParticipationSummaryToolbarPresenter;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionParticipationToolbar;
import org.ourproject.kune.workspace.client.options.GroupOptions;
import org.ourproject.kune.workspace.client.options.GroupOptionsPanel;
import org.ourproject.kune.workspace.client.options.GroupOptionsPresenter;
@@ -177,26 +182,6 @@
import org.ourproject.kune.workspace.client.sitebar.siteusermenu.SiteUserOptionsPresenter;
import org.ourproject.kune.workspace.client.skel.ActionCntCtxToolbarPanel;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
-import org.ourproject.kune.workspace.client.socialnet.BuddiesSummary;
-import org.ourproject.kune.workspace.client.socialnet.BuddiesSummaryPanel;
-import org.ourproject.kune.workspace.client.socialnet.BuddiesSummaryPresenter;
-import org.ourproject.kune.workspace.client.socialnet.GroupActionRegistry;
-import org.ourproject.kune.workspace.client.socialnet.GroupMembersSummary;
-import org.ourproject.kune.workspace.client.socialnet.GroupMembersSummaryPanel;
-import org.ourproject.kune.workspace.client.socialnet.GroupMembersSummaryPresenter;
-import org.ourproject.kune.workspace.client.socialnet.GroupMembersSummaryView;
-import org.ourproject.kune.workspace.client.socialnet.ParticipationSummary;
-import org.ourproject.kune.workspace.client.socialnet.ParticipationSummaryPanel;
-import org.ourproject.kune.workspace.client.socialnet.ParticipationSummaryPresenter;
-import org.ourproject.kune.workspace.client.socialnet.ParticipationSummaryView;
-import org.ourproject.kune.workspace.client.socialnet.UserActionRegistry;
-import org.ourproject.kune.workspace.client.socialnet.other.AddAsBuddieHeaderButton;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionBuddiesSummaryToolbar;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionBuddiesSummaryToolbarPresenter;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionGroupSummaryToolbar;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionGroupSummaryToolbarPresenter;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionParticipationSummaryToolbarPresenter;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionParticipationToolbar;
import org.ourproject.kune.workspace.client.tags.TagsSummary;
import org.ourproject.kune.workspace.client.tags.TagsSummaryPanel;
import org.ourproject.kune.workspace.client.tags.TagsSummaryPresenter;
@@ -236,7 +221,7 @@
import cc.kune.core.client.rpcservices.SocialNetworkService;
import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
import cc.kune.core.client.rpcservices.UserServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.HistoryTokenCallback;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.SiteCommonTokens;
@@ -536,22 +521,28 @@
}
});
- register(ApplicationComponentGroup.class, new Factory<GroupMembersSummary>(GroupMembersSummary.class) {
- @Override
- public GroupMembersSummary create() {
- final GroupMembersSummaryPresenter presenter = new GroupMembersSummaryPresenter(
- i(I18nUITranslationService.class), i(StateManager.class), i(ImageUtils.class),
- i(Session.class), p(SocialNetworkServiceAsync.class), p(GroupServiceAsync.class),
- p(GroupLiveSearcher.class), p(ChatEngine.class), i(GroupActionRegistry.class),
- i(ActionGroupSummaryToolbar.class), p(FileDownloadUtils.class),
- i(AccessRightsClientManager.class), i(IconResources.class));
- final GroupMembersSummaryView view = new GroupMembersSummaryPanel(presenter,
- i(I18nUITranslationService.class), i(WorkspaceSkeleton.class), i(
- ActionGroupSummaryToolbar.class).getView());
- presenter.init(view);
- return presenter;
- }
- });
+ // register(ApplicationComponentGroup.class, new
+ // Factory<GroupMembersSummary>(GroupMembersSummary.class) {
+ // @Override
+ // public GroupMembersSummary create() {
+ // final GroupMembersSummaryPresenter presenter = new
+ // GroupMembersSummaryPresenter(
+ // i(I18nUITranslationService.class), i(StateManager.class),
+ // i(ImageUtils.class),
+ // i(Session.class), p(SocialNetworkServiceAsync.class),
+ // p(GroupServiceAsync.class),
+ // p(GroupLiveSearcher.class), p(ChatEngine.class),
+ // i(GroupActionRegistry.class),
+ // i(ActionGroupSummaryToolbar.class), p(FileDownloadUtils.class),
+ // i(AccessRightsClientManager.class), i(IconResources.class));
+ // final GroupMembersSummaryView view = new
+ // GroupMembersSummaryPanel(presenter,
+ // i(I18nUITranslationService.class), i(WorkspaceSkeleton.class), i(
+ // ActionGroupSummaryToolbar.class).getView());
+ // presenter.init(view);
+ // return presenter;
+ // }
+ // });
register(ApplicationComponentGroup.class, new Factory<AddAsBuddieHeaderButton>(AddAsBuddieHeaderButton.class) {
@Override
@@ -561,37 +552,49 @@
}
});
- register(ApplicationComponentGroup.class, new Factory<BuddiesSummary>(BuddiesSummary.class) {
- @Override
- public BuddiesSummary create() {
- final BuddiesSummaryPresenter presenter = new BuddiesSummaryPresenter(i(StateManager.class),
- i(Session.class), p(UserServiceAsync.class), i(UserActionRegistry.class),
- i(I18nTranslationService.class), p(ChatEngine.class), i(ActionBuddiesSummaryToolbar.class),
- p(FileDownloadUtils.class), i(ImageUtils.class), p(SocialNetworkServiceAsync.class),
- i(GroupActionRegistry.class), i(AccessRightsClientManager.class), i(IconResources.class));
- final BuddiesSummaryPanel panel = new BuddiesSummaryPanel(presenter, i(WorkspaceSkeleton.class),
- i(I18nTranslationService.class), i(ActionManager.class),
- i(ActionBuddiesSummaryToolbar.class).getView());
- presenter.init(panel);
- return presenter;
- }
- });
+ // register(ApplicationComponentGroup.class, new
+ // Factory<BuddiesSummary>(BuddiesSummary.class) {
+ // @Override
+ // public BuddiesSummary create() {
+ // final BuddiesSummaryPresenter presenter = new
+ // BuddiesSummaryPresenter(i(StateManager.class),
+ // i(Session.class), p(UserServiceAsync.class),
+ // i(UserActionRegistry.class),
+ // i(I18nTranslationService.class), p(ChatEngine.class),
+ // i(ActionBuddiesSummaryToolbar.class),
+ // p(FileDownloadUtils.class), i(ImageUtils.class),
+ // p(SocialNetworkServiceAsync.class),
+ // i(GroupActionRegistry.class), i(AccessRightsClientManager.class),
+ // i(IconResources.class));
+ // final BuddiesSummaryPanel panel = new BuddiesSummaryPanel(presenter,
+ // i(WorkspaceSkeleton.class),
+ // i(I18nTranslationService.class), i(ActionManager.class),
+ // i(ActionBuddiesSummaryToolbar.class).getView());
+ // presenter.init(panel);
+ // return presenter;
+ // }
+ // });
- register(ApplicationComponentGroup.class, new Factory<ParticipationSummary>(ParticipationSummary.class) {
- @Override
- public ParticipationSummary create() {
- final ParticipationSummaryPresenter presenter = new ParticipationSummaryPresenter(
- i(I18nUITranslationService.class), i(StateManager.class), i(ImageUtils.class),
- i(Session.class), p(SocialNetworkServiceAsync.class), i(GroupActionRegistry.class),
- i(ActionParticipationToolbar.class), p(FileDownloadUtils.class),
- i(AccessRightsClientManager.class), i(IconResources.class));
- final ParticipationSummaryView view = new ParticipationSummaryPanel(presenter,
- i(I18nUITranslationService.class), i(WorkspaceSkeleton.class), i(
- ActionParticipationToolbar.class).getView());
- presenter.init(view);
- return presenter;
- }
- });
+ // register(ApplicationComponentGroup.class, new
+ // Factory<ParticipationSummary>(ParticipationSummary.class) {
+ // @Override
+ // public ParticipationSummary create() {
+ // final ParticipationSummaryPresenter presenter = new
+ // ParticipationSummaryPresenter(
+ // i(I18nUITranslationService.class), i(StateManager.class),
+ // i(ImageUtils.class),
+ // i(Session.class), p(SocialNetworkServiceAsync.class),
+ // i(GroupActionRegistry.class),
+ // i(ActionParticipationToolbar.class), p(FileDownloadUtils.class),
+ // i(AccessRightsClientManager.class), i(IconResources.class));
+ // final ParticipationSummaryView view = new
+ // ParticipationSummaryPanel(presenter,
+ // i(I18nUITranslationService.class), i(WorkspaceSkeleton.class), i(
+ // ActionParticipationToolbar.class).getView());
+ // presenter.init(view);
+ // return presenter;
+ // }
+ // });
register(ApplicationComponentGroup.class, new Factory<TagsSummary>(TagsSummary.class) {
@Override
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,11 +21,11 @@
import org.ourproject.kune.platf.client.actions.ActionItemCollection;
import org.ourproject.kune.platf.client.actions.ActionRegistry;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.MediaUtils;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.utils.AccessRights;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -28,14 +28,14 @@
import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
import org.ourproject.kune.platf.client.registry.ContentCapabilitiesRegistry;
import org.ourproject.kune.platf.client.ui.KuneUiUtils;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.workspace.client.AbstractFoldableContentActions;
import org.ourproject.kune.workspace.client.cnt.ContentIconsRegistry;
import org.ourproject.kune.workspace.client.cxt.ActionContextBottomToolbar;
import org.ourproject.kune.workspace.client.title.RenameAction;
import org.ourproject.kune.workspace.client.upload.FileUploader;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.domain.ContentStatus;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,7 +27,7 @@
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.KeyStroke;
import org.ourproject.kune.platf.client.actions.ui.ComplexToolbar;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.shortcuts.Keyboard;
import org.ourproject.kune.platf.client.ui.palette.ColorWebSafePalette;
import org.ourproject.kune.platf.client.ui.rte.basic.RTEditor;
@@ -152,7 +152,7 @@
private void addContentActions() {
final RenameAction renameAction = new RenameAction(i18n.t("Rename"), NO_TEXT, NO_ICON);
- final MenuItemDescriptor renameItem = new MenuItemDescriptor(super.getFileMenu(), renameAction);
+ final OldMenuItemDescriptor renameItem = new OldMenuItemDescriptor(super.getFileMenu(), renameAction);
renameItem.setLocation(RTEditor.TOPBAR);
final KeyStroke key = KeyStroke.getKeyStroke(Keyboard.KEY_F2, 0);
renameAction.putValue(Action.ACCELERATOR_KEY, key);
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,10 +20,10 @@
package org.ourproject.kune.workspace.client.editor.insertlocalimg;
import org.ourproject.kune.platf.client.services.SearcherConstants;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstractPanel;
import org.ourproject.kune.workspace.client.search.AbstractLiveSearcherField;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.BasicMimeTypeDTO;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,11 +20,11 @@
package org.ourproject.kune.workspace.client.editor.insertlocallink;
import org.ourproject.kune.platf.client.services.SearcherConstants;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertlink.abstractlink.InsertLinkAbstractPanel;
import org.ourproject.kune.workspace.client.search.AbstractLiveSearcherField;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.LinkDTO;
import cc.kune.core.shared.dto.StateTokenUtils;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,10 +20,10 @@
package org.ourproject.kune.workspace.client.editor.insertlocalmedia;
import org.ourproject.kune.platf.client.services.SearcherConstants;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstractPanel;
import org.ourproject.kune.workspace.client.search.AbstractLiveSearcherField;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.BasicMimeTypeDTO;
import cc.kune.core.shared.dto.LinkDTO;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,11 +20,11 @@
package org.ourproject.kune.workspace.client.entityheader;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
public interface EntityHeader {
- void addAction(GuiActionDescrip descriptor);
+ void addAction(OldGuiActionDescrip descriptor);
void addWidget(View widget);
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 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,14 +23,14 @@
import org.ourproject.kune.platf.client.View;
import org.ourproject.kune.platf.client.actions.ui.ComplexToolbar;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.GuiBindingsRegister;
import org.ourproject.kune.platf.client.services.Images;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
import org.ourproject.kune.workspace.client.themes.WsTheme;
+import cc.kune.core.client.services.FileConstants;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.GroupDTO;
@@ -66,7 +66,7 @@
wskel.addToEntityMainHeader(this);
}
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
toolbar.add(descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,7 +20,7 @@
package org.ourproject.kune.workspace.client.entityheader;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.workspace.client.themes.WsTheme;
import org.ourproject.kune.workspace.client.themes.WsThemeManager;
@@ -52,7 +52,7 @@
});
}
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
view.addAction(descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,7 +20,7 @@
package org.ourproject.kune.workspace.client.entityheader;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.workspace.client.themes.WsTheme;
import cc.kune.core.shared.domain.utils.StateToken;
@@ -28,7 +28,7 @@
public interface EntityHeaderView {
- void addAction(GuiActionDescrip descriptor);
+ void addAction(OldGuiActionDescrip descriptor);
void addWidget(View view);
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -25,7 +25,7 @@
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.KeyStroke;
import org.ourproject.kune.platf.client.actions.Shortcut;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.shortcuts.GlobalShortcutRegister;
import org.ourproject.kune.workspace.client.sitebar.siteoptions.SiteOptions;
@@ -70,9 +70,9 @@
private final GlobalShortcutRegister shortcutReg;
- private MenuItemDescriptor maximizeButton;
+ private OldMenuItemDescriptor maximizeButton;
- private MenuItemDescriptor minimizeButton;
+ private OldMenuItemDescriptor minimizeButton;
private final SiteOptions siteOptions;
public MaxMinWorkspacePresenter(final GlobalShortcutRegister shortcutReg, final IconResources images,
@@ -107,13 +107,13 @@
final MaximizeAction maximizeAction = new MaximizeAction(i18n.t("Maximize the workspace"), images.maximize());
maximizeAction.setShortcut(shortcut);
- maximizeButton = new MenuItemDescriptor(maximizeAction);
+ maximizeButton = new OldMenuItemDescriptor(maximizeAction);
maximizeButton.setPosition(0);
maximizeButton.setId(MAX_ICON);
final MinimizeAction minimizeAction = new MinimizeAction(i18n.t("Minimize the workspace"), images.minimize());
minimizeAction.setShortcut(shortcut);
- minimizeButton = new MenuItemDescriptor(minimizeAction);
+ minimizeButton = new OldMenuItemDescriptor(minimizeAction);
minimizeButton.setPosition(1);
minimizeButton.setVisible(false);
minimizeButton.setId(MIN_ICON);
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,14 +20,14 @@
package org.ourproject.kune.workspace.client.hello;
import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.Shortcut;
import org.ourproject.kune.platf.client.actions.ui.MenuCheckItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuRadioItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuSeparatorDescriptor;
import org.ourproject.kune.platf.client.actions.ui.PushButtonDescriptor;
@@ -121,15 +121,15 @@
// recommended the use in real code
final MenuDescriptor menu = new MenuDescriptor(i18n.t("HelloWorldMenu"), "File menu tooltip");
- final MenuItemDescriptor menuitem = new MenuItemDescriptor(menu, action);
- final MenuItemDescriptor menuitem2 = new MenuItemDescriptor(menu, action);
+ final OldMenuItemDescriptor menuitem = new OldMenuItemDescriptor(menu, action);
+ final OldMenuItemDescriptor menuitem2 = new OldMenuItemDescriptor(menu, action);
// A submenu
final MenuDescriptor submenu = new MenuDescriptor("Options", "Submenu tooltip");
submenu.setParent(menu);
// A menu check item
- final MenuItemDescriptor menuitem3 = new MenuItemDescriptor(submenu, action);
+ final OldMenuItemDescriptor menuitem3 = new OldMenuItemDescriptor(submenu, action);
final MenuCheckItemDescriptor menuitem4 = new MenuCheckItemDescriptor(submenu, action);
menuitem4.setChecked(true);
@@ -206,7 +206,7 @@
void showMessage();
}
- static class HelloWorldAction extends AbstractAction {
+ static class HelloWorldAction extends OldAbstractAction {
public HelloWorldAction(final IconResources img) {
super();
super.putValue(Action.NAME, "helloworld");
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,10 +19,10 @@
*/
package org.ourproject.kune.workspace.client.i18n;
-import org.ourproject.kune.platf.client.actions.AbstractAction;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.workspace.client.sitebar.siteoptions.SiteOptions;
import cc.kune.core.client.resources.icons.IconResources;
@@ -30,7 +30,7 @@
import com.calclab.suco.client.ioc.Provider;
-public class SiteOptionsI18nTranslatorAction extends AbstractAction {
+public class SiteOptionsI18nTranslatorAction extends OldAbstractAction {
private final Provider<I18nTranslator> translator;
public SiteOptionsI18nTranslatorAction(final SiteOptions siteOptions, final I18nTranslationService i18n,
@@ -39,7 +39,7 @@
this.translator = translator;
putValue(Action.NAME, i18n.t("Help with the translation"));
putValue(Action.SMALL_ICON, img.language());
- final MenuItemDescriptor item = new MenuItemDescriptor(this);
+ final OldMenuItemDescriptor item = new OldMenuItemDescriptor(this);
item.setPosition(1);
siteOptions.addAction(item);
}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummary.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummary.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,24 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+
+public interface BuddiesSummary {
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPanel.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPanel.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,133 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionItem;
+import org.ourproject.kune.platf.client.actions.ActionItemCollection;
+import org.ourproject.kune.platf.client.actions.ActionManager;
+import org.ourproject.kune.platf.client.actions.MenuItemsContainer;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+import org.ourproject.kune.platf.client.ui.AbstractToolbar;
+import org.ourproject.kune.workspace.client.skel.SummaryPanel;
+import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+
+import cc.kune.common.client.ui.BasicThumb;
+import cc.kune.core.client.resources.CoreMessages;
+import cc.kune.core.shared.dto.UserSimpleDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.gwt.dom.client.Element;
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.FlowPanel;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.VerticalPanel;
+import com.google.gwt.user.client.ui.Widget;
+import com.gwtext.client.widgets.menu.Menu;
+
+public class BuddiesSummaryPanel extends SummaryPanel implements BuddiesSummaryView {
+
+ private final MenuItemsContainer<UserSimpleDTO> menuItemsContainer;
+ private final FlowPanel flowPanel;
+ private final Label otherBuddiesLabel;
+ private final I18nTranslationService i18n;
+ private final ActionManager actionManager;
+ private final AbstractToolbar toolbar;
+ private final Label noBuddiesPublic;
+
+ public BuddiesSummaryPanel(final BuddiesSummaryPresenter presenter, final WorkspaceSkeleton ws,
+ final I18nTranslationService i18n, final ActionManager actionManager,
+ final ActionToolbarView<UserSimpleDTO> actionToolbarView) {
+ super(i18n.t("Buddies"), i18n.t("This user buddies"), ws);
+ this.actionManager = actionManager;
+ menuItemsContainer = new MenuItemsContainer<UserSimpleDTO>();
+ this.i18n = i18n;
+ final VerticalPanel vp = new VerticalPanel();
+ flowPanel = new FlowPanel();
+ otherBuddiesLabel = new Label();
+ otherBuddiesLabel.addStyleName("kune-Margin-Small-trbl");
+ vp.add(flowPanel);
+ vp.add(otherBuddiesLabel);
+ toolbar = ((ActionToolbarPanel<UserSimpleDTO>) actionToolbarView).getToolbar();
+ toolbar.setBlankStyle();
+ vp.add((Widget) toolbar);
+ super.add(vp);
+ addInSummary();
+ noBuddiesPublic = new Label(i18n.t(CoreMessages.BUDDIES_NOT_PUBLIC));
+ noBuddiesPublic.addStyleName("kune-Margin-7-trbl");
+ noBuddiesPublic.addStyleName("k-text-gray");
+ }
+
+ public void addBuddie(final UserSimpleDTO user, final ActionItemCollection<UserSimpleDTO> actionCollection,
+ final String avatarUrl, final String tooltipTitle, final String tooltip) {
+ final ClickHandler listener = new ClickHandler() {
+ public void onClick(final ClickEvent event) {
+ final Element sender = event.getRelativeElement();
+ final Menu menu = menuItemsContainer.get(user.getShortName());
+ if (menu.getItems().length > 0) {
+ menu.showAt(sender.getAbsoluteLeft(), sender.getAbsoluteTop() + 5);
+ }
+ }
+ };
+ menuItemsContainer.createItemMenu(user.getShortName(), actionCollection,
+ new Listener<ActionItem<UserSimpleDTO>>() {
+ public void onEvent(final ActionItem<UserSimpleDTO> actionItem) {
+ doAction(actionItem);
+ }
+ });
+
+ final BasicThumb thumb = new BasicThumb(avatarUrl.equals(NOAVATAR) ? "images/persons/person2-32.png"
+ : avatarUrl, AVATARSIZE, user.getShortName(), AVATARLABELMAXSIZE, false, listener);
+ thumb.setTooltip(tooltipTitle, tooltip);
+ flowPanel.add(thumb);
+ }
+
+ @Override
+ public void clear() {
+ flowPanel.clear();
+ clearOtherUsers();
+ menuItemsContainer.clear();
+ toolbar.removeAll();
+ super.doLayoutIfNeeded();
+ }
+
+ public void clearOtherUsers() {
+ otherBuddiesLabel.setText("");
+ }
+
+ public void setNoBuddies() {
+ otherBuddiesLabel.setText(i18n.t("This user has no buddies"));
+ }
+
+ public void setOtherUsers(final String text) {
+ otherBuddiesLabel.setText(text);
+ }
+
+ public void showBuddiesNotVisible() {
+ flowPanel.add(noBuddiesPublic);
+ super.doLayoutIfNeeded();
+ }
+
+ private void doAction(final ActionItem<UserSimpleDTO> actionItem) {
+ actionManager.doAction(actionItem);
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPresenter.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,241 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import java.util.List;
+
+import org.ourproject.kune.chat.client.ChatEngine;
+import org.ourproject.kune.platf.client.View;
+import org.ourproject.kune.platf.client.actions.ActionEnableCondition;
+import org.ourproject.kune.platf.client.actions.ActionMenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
+import org.ourproject.kune.platf.client.actions.ActionToolbarMenuRadioDescriptor;
+import org.ourproject.kune.platf.client.actions.RadioMustBeChecked;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionBuddiesSummaryToolbar;
+
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.rpcservices.UserServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageUtils;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.UserBuddiesVisibility;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.dto.StateAbstractDTO;
+import cc.kune.core.shared.dto.UserBuddiesDataDTO;
+import cc.kune.core.shared.dto.UserSimpleDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class BuddiesSummaryPresenter extends SocialNetworkPresenter implements BuddiesSummary {
+
+ public static final String BUDDIES_VISIBILITY_GROUP = "k-bsp-bud-visib";
+
+ private final UserActionRegistry actionRegistry;
+ private final Provider<ChatEngine> chatEngineProvider;
+ private final Provider<FileDownloadUtils> fileDownUtilsProvider;
+ private final I18nTranslationService i18n;
+ private final Session session;
+ private final StateManager stateManager;
+ private final ActionBuddiesSummaryToolbar toolbar;
+ private final Provider<UserServiceAsync> userServiceAsync;
+ private BuddiesSummaryView view;
+
+ @Inject
+ public BuddiesSummaryPresenter(final StateManager stateManager, final Session session,
+ final Provider<UserServiceAsync> userServiceAsync, final UserActionRegistry actionRegistry,
+ final I18nTranslationService i18n, final Provider<ChatEngine> chatEngineProvider,
+ final ActionBuddiesSummaryToolbar toolbar, final Provider<FileDownloadUtils> fileDownUtilsProvider,
+ final ImageUtils imageUtils, final Provider<SocialNetworkServiceAsync> snServiceAsync,
+ final GroupActionRegistry groupActionRegistry, final AccessRightsClientManager accessRightManager,
+ final IconResources img) {
+ super(i18n, stateManager, accessRightManager, session, snServiceAsync, groupActionRegistry,
+ fileDownUtilsProvider, img);
+ this.stateManager = stateManager;
+ this.session = session;
+ this.userServiceAsync = userServiceAsync;
+ this.actionRegistry = actionRegistry;
+ this.i18n = i18n;
+ this.chatEngineProvider = chatEngineProvider;
+ this.toolbar = toolbar;
+ this.fileDownUtilsProvider = fileDownUtilsProvider;
+ stateManager.onStateChanged(new Listener<StateAbstractDTO>() {
+ @Override
+ public void onEvent(final StateAbstractDTO state) {
+ setState(state);
+ }
+ });
+ stateManager.onSocialNetworkChanged(new Listener<StateAbstractDTO>() {
+ @Override
+ public void onEvent(final StateAbstractDTO state) {
+ setState(state);
+ }
+ });
+ registerActions();
+ }
+
+ private void createAddNewBuddiesAction() {
+ final ActionToolbarMenuDescriptor<UserSimpleDTO> addNewBuddiesAction = new ActionToolbarMenuDescriptor<UserSimpleDTO>(
+ AccessRolDTO.Administrator, buddiesBottom, new Listener<UserSimpleDTO>() {
+ @Override
+ public void onEvent(final UserSimpleDTO parameter) {
+ NotifyUser.info("In development");
+ }
+ });
+ addNewBuddiesAction.setTextDescription(i18n.t("Add a new buddy"));
+ addNewBuddiesAction.setParentMenuTitle(i18n.t("Options"));
+ addNewBuddiesAction.setIconUrl("images/add-green.gif");
+ actionRegistry.addAction(addNewBuddiesAction);
+ }
+
+ private void createSetBuddiesVisibilityAction(final String textDescription, final UserBuddiesVisibility visibility) {
+ final ActionToolbarMenuRadioDescriptor<UserSimpleDTO> buddiesVisibilityAction = new ActionToolbarMenuRadioDescriptor<UserSimpleDTO>(
+ AccessRolDTO.Administrator, buddiesBottom, new Listener<UserSimpleDTO>() {
+ @Override
+ public void onEvent(final UserSimpleDTO parameter) {
+ userServiceAsync.get().setBuddiesVisibility(session.getUserHash(),
+ session.getCurrentState().getGroup().getStateToken(), visibility,
+ new AsyncCallbackSimple<Void>() {
+ @Override
+ public void onSuccess(final Void result) {
+ NotifyUser.info(i18n.t("Buddies visibility changed"));
+ }
+ });
+ }
+ }, BUDDIES_VISIBILITY_GROUP, new RadioMustBeChecked() {
+ @Override
+ public boolean mustBeChecked() {
+ final StateAbstractDTO currentState = session.getCurrentState();
+ if (currentState.getGroup().isPersonal()) {
+ final SocialNetworkDataDTO socialNetworkData = currentState.getSocialNetworkData();
+ return socialNetworkData.getUserBuddiesVisibility().equals(visibility);
+ }
+ return false;
+ }
+ });
+ buddiesVisibilityAction.setTextDescription(textDescription);
+ buddiesVisibilityAction.setParentMenuTitle(i18n.t("Options"));
+ buddiesVisibilityAction.setParentSubMenuTitle(i18n.t("Those who can view your buddies list"));
+ actionRegistry.addAction(buddiesVisibilityAction);
+ }
+
+ public View getView() {
+ return view;
+ }
+
+ public void init(final BuddiesSummaryView view) {
+ this.view = view;
+ }
+
+ private void registerActions() {
+ final ActionMenuItemDescriptor<UserSimpleDTO> addAsBuddie = new ActionMenuItemDescriptor<UserSimpleDTO>(
+ AccessRolDTO.Viewer, new Listener<UserSimpleDTO>() {
+ @Override
+ public void onEvent(final UserSimpleDTO user) {
+ chatEngineProvider.get().addNewBuddie(user.getShortName());
+ }
+ });
+ addAsBuddie.setMustBeAuthenticated(true);
+ addAsBuddie.setTextDescription(i18n.t("Add as a buddie"));
+ addAsBuddie.setIconUrl("images/add-green.png");
+ addAsBuddie.setEnableCondition(new ActionEnableCondition<UserSimpleDTO>() {
+ @Override
+ public boolean mustBeEnabled(final UserSimpleDTO user) {
+ return !chatEngineProvider.get().isBuddie(user.getShortName());
+ }
+ });
+ actionRegistry.addAction(addAsBuddie);
+
+ final ActionMenuItemDescriptor<UserSimpleDTO> go = new ActionMenuItemDescriptor<UserSimpleDTO>(
+ AccessRolDTO.Viewer, new Listener<UserSimpleDTO>() {
+ @Override
+ public void onEvent(final UserSimpleDTO user) {
+ stateManager.gotoToken(user.getShortName());
+ }
+ });
+ go.setMustBeAuthenticated(false);
+ go.setTextDescription(i18n.t("Visit this user's homepage"));
+ go.setIconUrl("images/group-home.gif");
+ actionRegistry.addAction(go);
+
+ createAddNewBuddiesAction();
+ createSetBuddiesVisibilityAction(i18n.t("anyone"), UserBuddiesVisibility.anyone);
+ createSetBuddiesVisibilityAction(i18n.t("only your buddies"), UserBuddiesVisibility.yourbuddies);
+ createSetBuddiesVisibilityAction(i18n.t("only you"), UserBuddiesVisibility.onlyyou);
+ }
+
+ protected void setState(final StateAbstractDTO state) {
+ if (state.getGroup().isPersonal()) {
+ view.clear();
+ final UserBuddiesDataDTO userBuddies = state.getUserBuddies();
+ if (state.getSocialNetworkData().isBuddiesVisible()) {
+ final List<UserSimpleDTO> buddies = userBuddies.getBuddies();
+ for (final UserSimpleDTO user : buddies) {
+ final String avatarUrl = user.hasLogo() ? fileDownUtilsProvider.get().getLogoImageUrl(
+ user.getStateToken()) : BuddiesSummaryView.NOAVATAR;
+ final String tooltip = super.createTooltipWithLogo(user.getShortName(), user.getStateToken(),
+ user.hasLogo(), true);
+ view.addBuddie(user, actionRegistry.getCurrentActions(user, session.isLogged(), new AccessRights(
+ true, true, true), false), avatarUrl, user.getName(), tooltip);
+ }
+ final boolean hasLocalBuddies = buddies.size() > 0;
+ final int numExtBuddies = userBuddies.getOtherExtBuddies();
+ if (numExtBuddies > 0) {
+ if (hasLocalBuddies) {
+ // i18n: plural
+ view.setOtherUsers(i18n.t(numExtBuddies == 1 ? "and [%d] external user"
+ : "and [%d] external users", numExtBuddies));
+ } else {
+ view.setOtherUsers(i18n.t(numExtBuddies == 1 ? "[%d] external user" : "[%d] external users",
+ numExtBuddies));
+ }
+ } else {
+ if (hasLocalBuddies) {
+ view.clearOtherUsers();
+ } else {
+ view.setNoBuddies();
+ }
+ }
+ toolbar.disableMenusAndClearButtons();
+ toolbar.addActions(
+ actionRegistry.getCurrentActions(session.getCurrentUser(), session.isLogged(),
+ state.getGroupRights(), true), ActionToolbar.IN_ANY);
+ toolbar.attach();
+ view.show();
+ } else {
+ view.showBuddiesNotVisible();
+ view.show();
+ }
+ } else {
+ view.hide();
+ }
+ }
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryView.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryView.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/BuddiesSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,49 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.View;
+import org.ourproject.kune.platf.client.actions.ActionItemCollection;
+
+import cc.kune.core.shared.dto.UserSimpleDTO;
+
+public interface BuddiesSummaryView extends View {
+
+ String NOAVATAR = "";
+ int AVATARSIZE = 32;
+ int AVATARLABELMAXSIZE = 15;
+
+ void addBuddie(UserSimpleDTO user, ActionItemCollection<UserSimpleDTO> actionCollection, String avatarUrl,
+ String tooltipTitle, String tooltip);
+
+ void clear();
+
+ void clearOtherUsers();
+
+ void hide();
+
+ void setNoBuddies();
+
+ void setOtherUsers(String text);
+
+ void show();
+
+ void showBuddiesNotVisible();
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupActionRegistry.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupActionRegistry.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupActionRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,30 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionRegistry;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+
+/**
+ * The Class GroupActionRegistry stores actions over groups (mainly used in SN)
+ */
+public class GroupActionRegistry extends ActionRegistry<StateToken> {
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummary.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummary.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,36 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.ui.MenuItem;
+
+import cc.kune.core.shared.dto.GroupDTO;
+
+public interface GroupMembersSummary {
+
+ void addGroupOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
+
+ void addUserOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
+
+ void removeGroupOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
+
+ void removeUserOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPanel.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPanel.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,139 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+import org.ourproject.kune.platf.client.ui.AbstractToolbar;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridDragConfiguration;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridMenuPanel;
+import org.ourproject.kune.workspace.client.skel.SummaryPanel;
+import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+
+import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.resources.CoreMessages;
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.GroupDTO;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.gwt.core.client.Scheduler;
+import com.google.gwt.core.client.Scheduler.ScheduledCommand;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.Widget;
+import com.gwtext.client.widgets.BoxComponent;
+import com.gwtext.client.widgets.MessageBox;
+import com.gwtext.client.widgets.event.ContainerListenerAdapter;
+
+public class GroupMembersSummaryPanel extends SummaryPanel implements GroupMembersSummaryView {
+ // private static final int MAX_HEIGHT = 110;
+ private final GridMenuPanel<GroupDTO> gridMenuPanel;
+ private final I18nUITranslationService i18n;
+ private final Label noMembersPublic;
+ private final GroupMembersSummaryPresenter presenter;
+ private final AbstractToolbar toolbar;
+
+ public GroupMembersSummaryPanel(final GroupMembersSummaryPresenter presenter, final I18nUITranslationService i18n,
+ final WorkspaceSkeleton ws, final ActionToolbarView<StateToken> actionToolbarView) {
+ super(i18n.t("Group members"), i18n.t("People and groups collaborating in this group"), ws);
+ this.presenter = presenter;
+ this.i18n = i18n;
+
+ final GridDragConfiguration dragConf = new GridDragConfiguration("kk",
+ i18n.t("Drop into the chat area to start a chat.") + "<br/>"
+ + i18n.t("Drop into a room to invite the user to join the chat room"));
+ gridMenuPanel = new GridMenuPanel<GroupDTO>(i18n.t("This is an orphaned project, if you are interested "
+ + "please request to join to work on it"), dragConf, true, true, false, true, false);
+ final Listener<String> go = new Listener<String>() {
+ @Override
+ public void onEvent(final String groupShortName) {
+ presenter.onDoubleClick(groupShortName);
+ }
+ };
+ // gridMenuPanel.onClick(go);
+ gridMenuPanel.onDoubleClick(go);
+ gridMenuPanel.getBottomBar().setCls("k-blank-toolbar");
+ super.add(gridMenuPanel);
+
+ noMembersPublic = new Label(i18n.t(CoreMessages.MEMBERS_NOT_PUBLIC));
+ noMembersPublic.addStyleName("kune-Margin-7-trbl");
+ noMembersPublic.addStyleName("k-text-gray");
+ noMembersPublic.setVisible(false);
+ super.add(noMembersPublic);
+
+ toolbar = ((ActionToolbarPanel<StateToken>) actionToolbarView).getToolbar();
+ toolbar.setBlankStyle();
+ super.add((Widget) toolbar);
+ super.addInSummary();
+ ws.addListenerInEntitySummary(new ContainerListenerAdapter() {
+ @Override
+ public void onResize(final BoxComponent component, final int adjWidth, final int adjHeight,
+ final int rawWidth, final int rawHeight) {
+ gridMenuPanel.setWidth(adjWidth);
+ }
+ });
+ }
+
+ @Override
+ public void addItem(final GridItem<GroupDTO> gridItem) {
+ gridMenuPanel.setVisible(true);
+ gridMenuPanel.addItem(gridItem);
+ doLayoutIfNeeded();
+ }
+
+ @Override
+ public void clear() {
+ gridMenuPanel.removeAll();
+ toolbar.removeAll();
+ noMembersPublic.setVisible(false);
+ doLayoutIfNeeded();
+ }
+
+ @Override
+ public void confirmAddCollab(final String groupShortName, final String groupLongName) {
+ final String groupName = groupLongName + " (" + groupShortName + ")";
+ MessageBox.confirm(i18n.t("Confirm member joining"), i18n.t("Add [%s] as a member?", groupName),
+ new MessageBox.ConfirmCallback() {
+ @Override
+ public void execute(final String btnID) {
+ if (btnID.equals("yes")) {
+ Scheduler.get().scheduleDeferred(new ScheduledCommand() {
+ @Override
+ public void execute() {
+ presenter.addCollab(groupShortName);
+ }
+ });
+ }
+ }
+ });
+ }
+
+ @Override
+ public void setDraggable(final boolean draggable) {
+ // gridMenuPanel.setDraggable(draggable);
+ }
+
+ @Override
+ public void showMembersNotVisible() {
+ noMembersPublic.setVisible(true);
+ gridMenuPanel.setVisible(false);
+ doLayoutIfNeeded();
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPresenter.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,294 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import java.util.List;
+
+import org.ourproject.kune.chat.client.ChatEngine;
+import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
+import org.ourproject.kune.platf.client.actions.ActionToolbarMenuRadioDescriptor;
+import org.ourproject.kune.platf.client.actions.RadioMustBeChecked;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
+import org.ourproject.kune.platf.client.ui.MenuItem;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionGroupSummaryToolbar;
+import org.ourproject.kune.workspace.client.search.GroupLiveSearcher;
+
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageDescriptor;
+import cc.kune.core.client.services.ImageUtils;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.AdmissionType;
+import cc.kune.core.shared.domain.SocialNetworkVisibility;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.AccessListsDTO;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.InitDataDTO;
+import cc.kune.core.shared.dto.LinkDTO;
+import cc.kune.core.shared.dto.SocialNetworkDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.dto.StateAbstractDTO;
+
+import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
+import com.calclab.suco.client.events.Listener;
+import com.google.inject.Provider;
+
+public class GroupMembersSummaryPresenter extends SocialNetworkPresenter implements GroupMembersSummary {
+
+ public static final String MEMBERS_VISIBILITY_GROUP = "k-gmsp-memb-visib";
+ public static final String NEW_MEMBERS_POLICY_GROUP = "k-gmsp-new-memb-pol";
+
+ private final GridGroup adminCategory;
+ private final GridGroup collabCategory;
+ private final GroupActionRegistry groupActionRegistry;
+ private final Provider<GroupServiceAsync> groupServiceProvider;
+ private final I18nUITranslationService i18n;
+ private final Provider<GroupLiveSearcher> liveSearcherProvider;
+ private final GridGroup pendigCategory;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ private final StateManager stateManager;
+ private GroupMembersSummaryView view;
+
+ public GroupMembersSummaryPresenter(final I18nUITranslationService i18n, final StateManager stateManager,
+ final ImageUtils imageUtils, final Session session,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final Provider<GroupServiceAsync> groupServiceProvider,
+ final Provider<GroupLiveSearcher> liveSearcherProvider, final Provider<ChatEngine> chatEngineProvider,
+ final GroupActionRegistry groupActionRegistry, final ActionGroupSummaryToolbar toolbar,
+ final Provider<FileDownloadUtils> downloadProvider, final AccessRightsClientManager accessRightsManager,
+ final IconResources img) {
+ super(i18n, stateManager, accessRightsManager, session, snServiceProvider, groupActionRegistry,
+ downloadProvider, img);
+ this.i18n = i18n;
+ this.stateManager = stateManager;
+ this.session = session;
+ this.snServiceProvider = snServiceProvider;
+ this.groupServiceProvider = groupServiceProvider;
+ this.liveSearcherProvider = liveSearcherProvider;
+ this.groupActionRegistry = groupActionRegistry;
+ final Listener<StateAbstractDTO> setStateListener = new Listener<StateAbstractDTO>() {
+ @Override
+ public void onEvent(final StateAbstractDTO state) {
+ setState(state);
+ toolbar.disableMenusAndClearButtons();
+ toolbar.addActions(groupActionRegistry.getCurrentActions(state.getGroup().getStateToken(),
+ session.isLogged(), state.getGroupRights(), true), ActionToolbar.IN_ANY);
+ toolbar.attach();
+ }
+ };
+ stateManager.onStateChanged(setStateListener);
+ stateManager.onSocialNetworkChanged(setStateListener);
+ session.onInitDataReceived(new Listener<InitDataDTO>() {
+ @Override
+ public void onEvent(final InitDataDTO initData) {
+ addUserOperation(new MenuItem<GroupDTO>("images/new-chat.gif", i18n.t("Start a chat with this member"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ chatEngineProvider.get().show();
+ if (chatEngineProvider.get().isLoggedIn()) {
+ chatEngineProvider.get().chat(
+ XmppURI.jid(group.getShortName() + "@" + initData.getChatDomain()));
+ } else {
+ NotifyUser.important(i18n.t("To start a chat you need to be 'online'"));
+ }
+ }
+ }), true);
+ }
+ });
+ final String adminsTitle = i18n.t("Admins");
+ final String collabsTitle = i18n.t("Collaborators");
+ final String pendingTitle = i18n.t("Pending");
+ adminCategory = new GridGroup(adminsTitle, adminsTitle, i18n.t("People that can admin this group"), true);
+ collabCategory = new GridGroup(collabsTitle, collabsTitle,
+ i18n.t("Other people that collaborate with this group"), true);
+ pendigCategory = new GridGroup(pendingTitle, pendingTitle,
+ i18n.t("People pending to be accepted in this group by the admins"),
+ imageUtils.getImageHtml(ImageDescriptor.alert), true);
+ super.addGroupOperation(gotoGroupMenuItem, false);
+ super.addUserOperation(gotoMemberMenuItem, false);
+ createActions();
+ }
+
+ public void addCollab(final String groupShortName) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().addCollabMember(session.getUserHash(), session.getCurrentState().getStateToken(),
+ groupShortName, new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member added as collaborator"));
+ stateManager.setSocialNetwork(result);
+ }
+
+ });
+ }
+
+ private void createActions() {
+ final ActionToolbarMenuDescriptor<StateToken> addMember = new ActionToolbarMenuDescriptor<StateToken>(
+ AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
+ @Override
+ public void onEvent(final StateToken parameter) {
+ liveSearcherProvider.get().onSelection(new Listener<LinkDTO>() {
+ @Override
+ public void onEvent(final LinkDTO link) {
+ view.confirmAddCollab(link.getShortName(), link.getLongName());
+ }
+ });
+ liveSearcherProvider.get().show();
+ }
+ });
+ addMember.setIconUrl("images/add-green.gif");
+ addMember.setTextDescription(i18n.t("Add member"));
+ addMember.setToolTip(i18n.t("Add an user or a group as member of this group"));
+ addMember.setParentMenuTitle(i18n.t("Options"));
+
+ groupActionRegistry.addAction(addMember);
+ // groupActionRegistry.addAction(unJoin);
+
+ // groupActionRegistry.addAction(participate);
+ createSetMembersVisibilityAction(i18n.t("anyone"), SocialNetworkVisibility.anyone);
+ createSetMembersVisibilityAction(i18n.t("only members"), SocialNetworkVisibility.onlymembers);
+ createSetMembersVisibilityAction(i18n.t("only admins"), SocialNetworkVisibility.onlyadmins);
+ createNewMembersPolicyAction(i18n.t("moderate request to join"), AdmissionType.Moderated);
+ createNewMembersPolicyAction(i18n.t("auto accept request to join"), AdmissionType.Open);
+ }
+
+ private void createNewMembersPolicyAction(final String textDescription, final AdmissionType admissionPolicy) {
+ final ActionToolbarMenuRadioDescriptor<StateToken> newMembersPolicy = new ActionToolbarMenuRadioDescriptor<StateToken>(
+ AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
+ @Override
+ public void onEvent(final StateToken parameter) {
+ groupServiceProvider.get().setGroupNewMembersJoiningPolicy(session.getUserHash(),
+ session.getCurrentState().getGroup().getStateToken(), admissionPolicy,
+ new AsyncCallbackSimple<Void>() {
+ @Override
+ public void onSuccess(final Void result) {
+ NotifyUser.info(i18n.t("Members joining policy changed"));
+ }
+ });
+ }
+ }, NEW_MEMBERS_POLICY_GROUP, new RadioMustBeChecked() {
+ @Override
+ public boolean mustBeChecked() {
+ final StateAbstractDTO currentState = session.getCurrentState();
+ return currentState.getGroup().getAdmissionType().equals(admissionPolicy);
+ }
+ });
+ newMembersPolicy.setTextDescription(textDescription);
+ newMembersPolicy.setParentMenuTitle(i18n.t("Options"));
+ newMembersPolicy.setParentSubMenuTitle(i18n.t("New members policy"));
+ groupActionRegistry.addAction(newMembersPolicy);
+ }
+
+ private void createSetMembersVisibilityAction(final String textDescription, final SocialNetworkVisibility visibility) {
+ final ActionToolbarMenuRadioDescriptor<StateToken> showMembers = new ActionToolbarMenuRadioDescriptor<StateToken>(
+ AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
+ @Override
+ public void onEvent(final StateToken parameter) {
+ groupServiceProvider.get().setSocialNetworkVisibility(session.getUserHash(),
+ session.getCurrentState().getGroup().getStateToken(), visibility,
+ new AsyncCallbackSimple<Void>() {
+ @Override
+ public void onSuccess(final Void result) {
+ NotifyUser.info(i18n.t("Members visibility changed"));
+ }
+ });
+ }
+ }, MEMBERS_VISIBILITY_GROUP, new RadioMustBeChecked() {
+ @Override
+ public boolean mustBeChecked() {
+ final StateAbstractDTO currentState = session.getCurrentState();
+ if (!currentState.getGroup().isPersonal()) {
+ final SocialNetworkDataDTO socialNetworkData = currentState.getSocialNetworkData();
+ return socialNetworkData.getSocialNetworkVisibility().equals(visibility);
+ }
+ return false;
+ }
+ });
+ showMembers.setTextDescription(textDescription);
+ showMembers.setParentMenuTitle(i18n.t("Options"));
+ showMembers.setParentSubMenuTitle(i18n.t("Those who can view this member list"));
+ groupActionRegistry.addAction(showMembers);
+ }
+
+ public void init(final GroupMembersSummaryView view) {
+ this.view = view;
+ }
+
+ @SuppressWarnings("unchecked")
+ private void setGroupMembers(final SocialNetworkDTO socialNetwork, final AccessRights rights) {
+ final AccessListsDTO accessLists = socialNetwork.getAccessLists();
+
+ final List<GroupDTO> adminsList = accessLists.getAdmins().getList();
+ final List<GroupDTO> collabList = accessLists.getEditors().getList();
+ final List<GroupDTO> pendingCollabsList = socialNetwork.getPendingCollaborators().getList();
+
+ // final int numAdmins = adminsList.size();
+
+ final boolean userIsAdmin = rights.isAdministrable();
+ final boolean userCanView = rights.isVisible();
+
+ view.clear();
+
+ view.setDraggable(session.isLogged());
+
+ if (userCanView) {
+ for (final GroupDTO admin : adminsList) {
+ view.addItem(createGridItem(adminCategory, admin, rights, changeToCollabMenuItem, removeMemberMenuItem));
+ }
+ for (final GroupDTO collab : collabList) {
+ view.addItem(createGridItem(collabCategory, collab, rights, changeToAdminMenuItem, removeMemberMenuItem));
+ }
+ if (userIsAdmin) {
+ for (final GroupDTO pendingCollab : pendingCollabsList) {
+ view.addItem(createGridItem(pendigCategory, pendingCollab, rights, acceptJoinGroupMenuItem,
+ denyJoinGroupMenuItem));
+ }
+ }
+ }
+ view.setVisible(true);
+ }
+
+ private void setState(final StateAbstractDTO state) {
+ if (state.getGroup().isPersonal()) {
+ view.setVisible(false);
+ } else {
+ if (state.getSocialNetworkData().isMembersVisible()) {
+ setGroupMembers(state.getGroupMembers(), state.getGroupRights());
+ } else {
+ view.clear();
+ view.showMembersNotVisible();
+ view.setVisible(true);
+ }
+ }
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryView.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryView.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/GroupMembersSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,40 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
+
+import cc.kune.core.shared.dto.GroupDTO;
+
+public interface GroupMembersSummaryView {
+
+ void addItem(GridItem<GroupDTO> gridItem);
+
+ void clear();
+
+ void confirmAddCollab(String groupShortName, String groupLongName);
+
+ void setDraggable(boolean draggable);
+
+ void setVisible(boolean visible);
+
+ void showMembersNotVisible();
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipateAction.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipateAction.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipateAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,75 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionEvent;
+
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.dto.SocialNetworkRequestResult;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Provider;
+
+public class ParticipateAction extends RolAction {
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+
+ public ParticipateAction(final Session session, final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final StateManager stateManager, final AccessRightsClientManager rightsManager,
+ final I18nTranslationService i18n, final IconResources imgResources) {
+ super(session, stateManager, rightsManager, i18n, AccessRolDTO.Viewer, i18n.t("Participate"),
+ i18n.t("Request to participate in this group"), imgResources.addGreen());
+ this.snServiceProvider = snServiceProvider;
+ super.setVisible(false, true);
+ super.setMustBeAuthenticated(false);
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().requestJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
+ new AsyncCallbackSimple<SocialNetworkRequestResult>() {
+ @Override
+ public void onSuccess(final SocialNetworkRequestResult result) {
+ NotifyUser.hideProgress();
+ switch ((result)) {
+ case accepted:
+ NotifyUser.info(i18n.t("You are now member of this group"));
+ stateManager.reload();
+ break;
+ case denied:
+ NotifyUser.important(i18n.t("Sorry this is a closed group"));
+ break;
+ case moderated:
+ NotifyUser.info(i18n.t("Membership requested. Waiting for admins decision"));
+ break;
+ default:
+ NotifyUser.info(i18n.t("Programatic error in ParticipateAction"));
+ }
+ }
+ });
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummary.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummary.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,24 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+public interface ParticipationSummary {
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPanel.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPanel.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,80 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+import org.ourproject.kune.platf.client.ui.AbstractToolbar;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridMenuPanel;
+import org.ourproject.kune.workspace.client.skel.SummaryPanel;
+import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.gwt.user.client.ui.Widget;
+import com.gwtext.client.widgets.BoxComponent;
+import com.gwtext.client.widgets.event.ContainerListenerAdapter;
+
+public class ParticipationSummaryPanel extends SummaryPanel implements ParticipationSummaryView {
+
+ private final GridMenuPanel<GroupDTO> gridMenuPanel;
+ private final AbstractToolbar toolbar;
+
+ public ParticipationSummaryPanel(final ParticipationSummaryPresenter presenter, final I18nTranslationService i18n,
+ final WorkspaceSkeleton ws, final ActionToolbarView<StateToken> actionToolbarView) {
+ super(i18n.t("Participates in"), i18n.t("Groups in which the user participates"), ws);
+ gridMenuPanel = new GridMenuPanel<GroupDTO>(i18n.t("This user does not belong to any group"), false, false,
+ false, false, false);
+ final Listener<String> go = new Listener<String>() {
+ public void onEvent(final String groupShortName) {
+ presenter.onDoubleClick(groupShortName);
+ }
+ };
+ // gridMenuPanel.onClick(go);
+ gridMenuPanel.onDoubleClick(go);
+ super.add(gridMenuPanel);
+ toolbar = ((ActionToolbarPanel<StateToken>) actionToolbarView).getToolbar();
+ toolbar.setBlankStyle();
+ super.add((Widget) toolbar);
+ addInSummary();
+ ws.addListenerInEntitySummary(new ContainerListenerAdapter() {
+ @Override
+ public void onResize(final BoxComponent component, final int adjWidth, final int adjHeight,
+ final int rawWidth, final int rawHeight) {
+ gridMenuPanel.setWidth(adjWidth);
+ }
+ });
+ }
+
+ public void addItem(final GridItem<GroupDTO> gridItem) {
+ gridMenuPanel.addItem(gridItem);
+ }
+
+ @Override
+ public void clear() {
+ gridMenuPanel.removeAll();
+ toolbar.removeAll();
+ }
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPresenter.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,105 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import java.util.List;
+
+import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
+import org.ourproject.kune.workspace.client.oldsn.toolbar.ActionParticipationToolbar;
+
+import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageUtils;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.ParticipationDataDTO;
+import cc.kune.core.shared.dto.StateAbstractDTO;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class ParticipationSummaryPresenter extends SocialNetworkPresenter implements ParticipationSummary {
+
+ private final GridGroup adminCategory;
+ private GridGroup collabCategory;
+ private final GridGroup collabOnlyCategory;
+ private ParticipationSummaryView view;
+
+ @Inject
+ public ParticipationSummaryPresenter(final I18nUITranslationService i18n, final StateManager stateManager,
+ final ImageUtils imageUtils, final Session session,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider, final GroupActionRegistry groupActionRegistry,
+ final ActionParticipationToolbar actionParticipationToolbar,
+ final Provider<FileDownloadUtils> downloadProvider, final AccessRightsClientManager accessRightsManager,
+ final IconResources img) {
+ super(i18n, stateManager, accessRightsManager, session, snServiceProvider, groupActionRegistry,
+ downloadProvider, img);
+ adminCategory = new GridGroup("admin in:", " ", i18n.tWithNT("Administrate these groups",
+ "talking about a person"), false);
+ collabCategory = new GridGroup(i18n.t("and as collaborator in:"), " ", i18n.t("Collaborate in these groups"),
+ false);
+ collabOnlyCategory = new GridGroup(i18n.t("collaborator in:"), " ", i18n.t("Collaborate in these groups"),
+ false);
+ super.addGroupOperation(gotoGroupMenuItem, false);
+ final Listener<StateAbstractDTO> setStateListener = new Listener<StateAbstractDTO>() {
+ @Override
+ public void onEvent(final StateAbstractDTO state) {
+ setState(state);
+ }
+ };
+ stateManager.onStateChanged(setStateListener);
+ stateManager.onSocialNetworkChanged(setStateListener);
+ }
+
+ public void init(final ParticipationSummaryView view) {
+ this.view = view;
+ }
+
+ @SuppressWarnings("unchecked")
+ private void setState(final StateAbstractDTO state) {
+ final ParticipationDataDTO participation = state.getParticipation();
+ final AccessRights rights = state.getGroupRights();
+ view.clear();
+ final List<GroupDTO> groupsIsAdmin = participation.getGroupsIsAdmin();
+ final List<GroupDTO> groupsIsCollab = participation.getGroupsIsCollab();
+ final int numAdmins = groupsIsAdmin.size();
+ final int numCollaborators = groupsIsCollab.size();
+ if (numAdmins == 0) {
+ collabCategory = collabOnlyCategory;
+ }
+ for (final GroupDTO group : groupsIsAdmin) {
+ view.addItem(createGridItem(adminCategory, group, rights, unJoinMenuItem));
+ }
+ for (final GroupDTO group : groupsIsCollab) {
+ view.addItem(createGridItem(collabCategory, group, rights, unJoinMenuItem));
+ }
+ if (numAdmins > 0 || numCollaborators > 0) {
+ view.setVisible(true);
+ } else {
+ view.setVisible(false);
+ }
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryView.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryView.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/ParticipationSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.View;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
+
+import cc.kune.core.shared.dto.GroupDTO;
+
+public interface ParticipationSummaryView extends View {
+
+ void addItem(GridItem<GroupDTO> createGridItem);
+
+ void clear();
+
+ void setVisible(boolean b);
+
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,96 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
+
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener2;
+import com.google.gwt.resources.client.ImageResource;
+
+public abstract class RolAction extends AbstractExtendedAction {
+
+ public static UIStatus refreshStatus(final AccessRolDTO rolRequired, final boolean authNeed,
+ final boolean isLogged, final boolean visibleForMembers, final boolean visibleForNonMemb,
+ final AccessRights newRights) {
+ boolean newVisibility = false;
+ boolean newEnabled = false;
+ if (authNeed && !isLogged) {
+ newVisibility = newEnabled = false;
+ } else {
+ // Auth ok
+ newEnabled = RolComparator.isEnabled(rolRequired, newRights);
+ if (newEnabled) {
+ final boolean isMember = RolComparator.isMember(newRights);
+ newEnabled = newVisibility = isMember && visibleForMembers || !isMember && visibleForNonMemb;
+ } else {
+ newVisibility = false;
+ }
+ }
+ return new UIStatus(newVisibility, newEnabled);
+ }
+
+ protected final Session session;
+ protected final StateManager stateManager;
+ protected final I18nTranslationService i18n;
+ private boolean visibleForNonMemb;
+ private boolean visibleForMembers;
+ private boolean authNeed;
+
+ public RolAction(final Session session, final StateManager stateManager,
+ final AccessRightsClientManager rightsManager, final I18nTranslationService i18n,
+ final AccessRolDTO rolRequired, final String text, final String tooltip, final ImageResource icon) {
+ super(text, tooltip, icon);
+ this.session = session;
+ this.stateManager = stateManager;
+ this.i18n = i18n;
+ this.visibleForMembers = true;
+ this.visibleForNonMemb = true;
+ this.authNeed = false;
+ rightsManager.onRightsChanged(new Listener2<AccessRights, AccessRights>() {
+ public void onEvent(final AccessRights prevRights, final AccessRights newRights) {
+ setStatus(refreshStatus(rolRequired, authNeed, session.isLogged(), visibleForMembers,
+ visibleForNonMemb, newRights));
+ }
+
+ });
+ }
+
+ public void setMustBeAuthenticated(final boolean authNeed) {
+ this.authNeed = authNeed;
+ }
+
+ public void setVisible(final boolean forMembers, final boolean forNonMembers) {
+ this.visibleForMembers = forMembers;
+ this.visibleForNonMemb = forNonMembers;
+ }
+
+ private void setStatus(final UIStatus refreshStatus) {
+ setEnabled(refreshStatus.isEnabled());
+ putValue(OldGuiActionDescrip.VISIBLE, refreshStatus.isVisible());
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/RolComparator.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,45 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+
+public final class RolComparator {
+
+ public static boolean isEnabled(final AccessRolDTO rolRequired, final AccessRights rights) {
+ switch (rolRequired) {
+ case Administrator:
+ return rights.isAdministrable();
+ case Editor:
+ return rights.isEditable();
+ case Viewer:
+ return rights.isVisible();
+ }
+ return false;
+ }
+
+ public static boolean isMember(final AccessRights newRights) {
+ return newRights.isAdministrable() || newRights.isEditable();
+ }
+
+ private RolComparator() {
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/SocialNetworkPresenter.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/SocialNetworkPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/SocialNetworkPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,329 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionToolbarButtonDescriptor;
+import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
+import org.ourproject.kune.platf.client.actions.ActionToolbarPosition;
+import org.ourproject.kune.platf.client.actions.ui.ButtonDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
+import org.ourproject.kune.platf.client.ui.MenuItem;
+import org.ourproject.kune.platf.client.ui.MenuItemCollection;
+import org.ourproject.kune.platf.client.ui.gridmenu.CustomMenu;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
+import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
+
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.services.FileConstants;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener;
+import com.google.inject.Provider;
+
+public class SocialNetworkPresenter {
+
+ private static final String MEMBERS_BOTTON = "members_bottom";
+
+ protected MenuItem<GroupDTO> acceptJoinGroupMenuItem;
+ protected final ActionToolbarPosition buddiesBottom = new ActionToolbarPosition("sn-bottomtoolbar");
+ protected MenuItem<GroupDTO> changeToAdminMenuItem;
+ protected MenuItem<GroupDTO> changeToCollabMenuItem;
+ protected MenuItem<GroupDTO> denyJoinGroupMenuItem;
+ private final Provider<FileDownloadUtils> downloadProvider;
+ protected MenuItem<GroupDTO> gotoGroupMenuItem;
+ protected MenuItem<GroupDTO> gotoMemberMenuItem;
+ private final I18nTranslationService i18n;
+ private final IconResources imgResources;
+ protected final ActionToolbarPosition membersBottom = new ActionToolbarPosition("sn-bottomtoolbar");
+ private MenuDescriptor menuOptions;
+ private final MenuItemCollection<GroupDTO> otherLoggedOperations;
+ private final MenuItemCollection<GroupDTO> otherLoggedOperationsUsers;
+ private final MenuItemCollection<GroupDTO> otherOperations;
+ private final MenuItemCollection<GroupDTO> otherOperationsUsers;
+ protected ActionToolbarButtonDescriptor<StateToken> participate;
+ protected MenuItem<GroupDTO> removeMemberMenuItem;
+ private final AccessRightsClientManager rightsManager;
+ private final Session session;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+ private final StateManager stateManager;
+ protected ActionToolbarMenuDescriptor<StateToken> unJoin;
+
+ protected MenuItem<GroupDTO> unJoinMenuItem;
+
+ public SocialNetworkPresenter(final I18nTranslationService i18n, final StateManager stateManager,
+ final AccessRightsClientManager rightsManager, final Session session,
+ final Provider<SocialNetworkServiceAsync> snServiceProvider, final GroupActionRegistry groupActionRegistry,
+ final Provider<FileDownloadUtils> downloadProvider, final IconResources imgResources) {
+ this.i18n = i18n;
+ this.stateManager = stateManager;
+ this.rightsManager = rightsManager;
+ this.session = session;
+ this.snServiceProvider = snServiceProvider;
+ this.downloadProvider = downloadProvider;
+ this.imgResources = imgResources;
+ createButtons();
+ createMenuActions();
+ otherOperationsUsers = new MenuItemCollection<GroupDTO>();
+ otherLoggedOperationsUsers = new MenuItemCollection<GroupDTO>();
+ otherOperations = new MenuItemCollection<GroupDTO>();
+ otherLoggedOperations = new MenuItemCollection<GroupDTO>();
+ }
+
+ public void addGroupOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
+ MenuItemCollection<GroupDTO> collection;
+ collection = mustBeLogged ? otherLoggedOperations : otherOperations;
+ collection.add(operation);
+ }
+
+ public void addUserOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
+ MenuItemCollection<GroupDTO> collection;
+ collection = mustBeLogged ? otherLoggedOperationsUsers : otherOperationsUsers;
+ collection.add(operation);
+ }
+
+ private void createButtons() {
+ final ParticipateAction participateAction = new ParticipateAction(session, snServiceProvider, stateManager,
+ rightsManager, i18n, imgResources);
+ final ButtonDescriptor participateBtn = new ButtonDescriptor(participateAction);
+ participateBtn.setLocation(MEMBERS_BOTTON);
+
+ menuOptions = new MenuDescriptor(i18n.t("Options"));
+
+ final UnjoinButtonAction unjoinAction = new UnjoinButtonAction(session, snServiceProvider, stateManager, rightsManager,
+ i18n, imgResources) {
+ @Override
+ public String getGroupName() {
+ return session.getContainerState().getGroup().getShortName();
+ }
+ };
+
+ final OldMenuItemDescriptor unjoinBtn = new OldMenuItemDescriptor(menuOptions, unjoinAction);
+ unjoinBtn.setLocation(MEMBERS_BOTTON);
+ }
+
+ private GridItem<GroupDTO> createDefMemberMenu(final GroupDTO group, final GridGroup gridGroup) {
+ final CustomMenu<GroupDTO> menu = new CustomMenu<GroupDTO>(group);
+ final String longName = group.getLongName();
+ final boolean hasLogo = group.hasLogo();
+ final String toolTip = createTooltipWithLogo(group.getShortName(), group.getStateToken(), hasLogo,
+ group.isPersonal());
+ final String imageHtml = downloadProvider.get().getLogoAvatarHtml(group.getStateToken(), hasLogo,
+ group.isPersonal(), session.getImgIconsize(), 0);
+ final GridItem<GroupDTO> gridItem = new GridItem<GroupDTO>(group, gridGroup, group.getShortName(), imageHtml,
+ longName, longName, " ", longName, toolTip, menu);
+ if (!group.isPersonal()) {
+ menu.addMenuItemList(otherOperations);
+ }
+ if (session.isLogged() && !group.isPersonal()) {
+ menu.addMenuItemList(otherLoggedOperations);
+ }
+ if (group.isPersonal()) {
+ menu.addMenuItemList(otherOperationsUsers);
+ }
+ if (session.isLogged() && group.isPersonal()) {
+ menu.addMenuItemList(otherLoggedOperationsUsers);
+ }
+
+ return gridItem;
+ }
+
+ protected GridItem<GroupDTO> createGridItem(final GridGroup groupCategory, final GroupDTO group,
+ final AccessRights rights, final MenuItem<GroupDTO>... gridMenuItems) {
+ final GridItem<GroupDTO> gridItem = createDefMemberMenu(group, groupCategory);
+ final CustomMenu<GroupDTO> menu = gridItem.getMenu();
+ if (rights.isAdministrable()) {
+ for (final MenuItem<GroupDTO> item : gridMenuItems) {
+ menu.addMenuItem(item);
+ }
+ }
+ return gridItem;
+ }
+
+ private void createMenuActions() {
+ gotoGroupMenuItem = new MenuItem<GroupDTO>("images/group-home.gif", i18n.t("Visit this group homepage"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO groupDTO) {
+ stateManager.gotoToken(groupDTO.getShortName());
+ }
+ });
+ gotoMemberMenuItem = new MenuItem<GroupDTO>("images/group-home.gif", i18n.t("Visit this member homepage"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO groupDTO) {
+ stateManager.gotoToken(groupDTO.getShortName());
+ }
+ });
+
+ unJoinMenuItem = new MenuItem<GroupDTO>("images/del.gif", i18n.t("Do not participate anymore in this group"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO groupDTO) {
+ removeMemberAction(groupDTO);
+ }
+ });
+ changeToCollabMenuItem = new MenuItem<GroupDTO>("images/arrow-down-green.gif",
+ i18n.t("Change to collaborator"), new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().setAdminAsCollab(session.getUserHash(),
+ session.getCurrentState().getStateToken(), group.getShortName(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member type changed"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+ });
+ removeMemberMenuItem = new MenuItem<GroupDTO>("images/del.gif", i18n.t("Remove this member"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().deleteMember(session.getUserHash(),
+ session.getCurrentState().getStateToken(), group.getShortName(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member removed"));
+ stateManager.reload();
+ // in the
+ // future,
+ // only if
+ // I cannot
+ // be
+ // affected:
+ // snService.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
+ // result);
+ }
+ });
+ }
+ });
+ changeToAdminMenuItem = new MenuItem<GroupDTO>("images/arrow-up-green.gif", i18n.t("Change to admin"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().setCollabAsAdmin(session.getUserHash(),
+ session.getCurrentState().getStateToken(), group.getShortName(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member type changed"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+ });
+ acceptJoinGroupMenuItem = new MenuItem<GroupDTO>("images/accept.gif", i18n.t("Accept this member"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().acceptJoinGroup(session.getUserHash(),
+ session.getCurrentState().getStateToken(), group.getShortName(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member accepted"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+ });
+ denyJoinGroupMenuItem = new MenuItem<GroupDTO>("images/cancel.gif", i18n.t("Reject this member"),
+ new Listener<GroupDTO>() {
+ @Override
+ public void onEvent(final GroupDTO group) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().denyJoinGroup(session.getUserHash(),
+ session.getCurrentState().getStateToken(), group.getShortName(),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Member rejected"));
+ stateManager.setSocialNetwork(result);
+ }
+ });
+ }
+ });
+ }
+
+ protected String createTooltipWithLogo(final String shortName, final StateToken token, final boolean hasLogo,
+ final boolean isPersonal) {
+ return "<table><tr><td>"
+ + (hasLogo ? downloadProvider.get().getLogoAvatarHtml(token, hasLogo, isPersonal,
+ FileConstants.LOGO_DEF_HEIGHT, 3) : "") + "</td><td>"
+ + i18n.t(isPersonal ? "Nickname: [%s]" : "Group short name: [%s]", shortName) + "</td></tr></table>";
+ }
+
+ public void onDoubleClick(final String groupShortName) {
+ stateManager.gotoToken(groupShortName);
+ }
+
+ public void removeGroupOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
+ MenuItemCollection<GroupDTO> collection;
+ collection = mustBeLogged ? otherLoggedOperations : otherOperations;
+ collection.remove(operation);
+ }
+
+ private void removeMemberAction(final GroupDTO groupDTO) {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().unJoinGroup(session.getUserHash(), new StateToken(groupDTO.getShortName()),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Removed as member"));
+ stateManager.reload();
+ // in the future with user
+ // info:
+ // services.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
+ // result);
+ }
+ });
+ }
+
+ public void removeUserOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
+ MenuItemCollection<GroupDTO> collection;
+ collection = mustBeLogged ? otherLoggedOperationsUsers : otherOperationsUsers;
+ collection.remove(operation);
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UIStatus.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UIStatus.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UIStatus.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,82 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+public class UIStatus {
+
+ private boolean visible;
+ private boolean enabled;
+
+ public UIStatus(final boolean visible, final boolean enabled) {
+ this.visible = visible;
+ this.enabled = enabled;
+ }
+
+ @Override
+ public boolean equals(final Object obj) {
+ if (this == obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (getClass() != obj.getClass()) {
+ return false;
+ }
+ final UIStatus other = (UIStatus) obj;
+ if (enabled != other.enabled) {
+ return false;
+ }
+ if (visible != other.visible) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + (enabled ? 1231 : 1237);
+ result = prime * result + (visible ? 1231 : 1237);
+ return result;
+ }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public boolean isVisible() {
+ return visible;
+ }
+
+ public void setEnabled(final boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public void setVisible(final boolean visible) {
+ this.visible = visible;
+ }
+
+ @Override
+ public String toString() {
+ return "(v: " + visible + ", e:" + enabled + ")";
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UnjoinButtonAction.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UnjoinButtonAction.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UnjoinButtonAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,82 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionEvent;
+
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.common.client.utils.OnAcceptCallback;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.core.shared.dto.SocialNetworkDataDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Provider;
+
+public class UnjoinButtonAction extends RolAction {
+ private String groupName;
+ private final Provider<SocialNetworkServiceAsync> snServiceProvider;
+
+ public UnjoinButtonAction(final Session session, final Provider<SocialNetworkServiceAsync> snServiceProvider,
+ final StateManager stateManager, final AccessRightsClientManager rightsManager,
+ final I18nTranslationService i18n, final IconResources imgResources) {
+ super(session, stateManager, rightsManager, i18n, AccessRolDTO.Editor, i18n.t("Leave this group"),
+ i18n.t("Do not participate anymore in this group"), imgResources.delGreen());
+ this.snServiceProvider = snServiceProvider;
+ super.setVisible(true, false);
+ super.setMustBeAuthenticated(true);
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ NotifyUser.askConfirmation(i18n.t("Leave this group"), i18n.t("Are you sure?"), new OnAcceptCallback() {
+ @Override
+ public void onSuccess() {
+ NotifyUser.showProgressProcessing();
+ snServiceProvider.get().unJoinGroup(session.getUserHash(), new StateToken(getGroupName()),
+ new AsyncCallbackSimple<SocialNetworkDataDTO>() {
+ @Override
+ public void onSuccess(final SocialNetworkDataDTO result) {
+ NotifyUser.hideProgress();
+ NotifyUser.info(i18n.t("Removed as member"));
+ stateManager.reload();
+ // in the future with user info:
+ // stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
+ // result);
+ }
+ });
+ }
+ });
+ }
+
+ public String getGroupName() {
+ return groupName;
+ }
+
+ public void setGroupName(final String groupName) {
+ this.groupName = groupName;
+ }
+}
Copied: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UserActionRegistry.java (from rev 1239, trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java)
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UserActionRegistry.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/UserActionRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,33 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package org.ourproject.kune.workspace.client.oldsn;
+
+import org.ourproject.kune.platf.client.actions.ActionRegistry;
+
+import cc.kune.core.shared.dto.UserSimpleDTO;
+
+/**
+ * The Class UserActionRegistry.
+ *
+ * List of actions over a user (initially used for buddies actions)
+ *
+ */
+public class UserActionRegistry extends ActionRegistry<UserSimpleDTO> {
+}
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/AddAsBuddieHeaderButton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/AddAsBuddieHeaderButton.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/AddAsBuddieHeaderButton.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,103 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.other;
+
+import org.ourproject.kune.chat.client.ChatEngine;
+import org.ourproject.kune.platf.client.actions.OldAbstractAction;
+import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
+import org.ourproject.kune.platf.client.actions.Action;
+import org.ourproject.kune.platf.client.actions.ActionEvent;
+import org.ourproject.kune.platf.client.actions.PropertyChangeEvent;
+import org.ourproject.kune.platf.client.actions.PropertyChangeListener;
+import org.ourproject.kune.platf.client.actions.ui.ButtonDescriptor;
+import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
+import org.ourproject.kune.workspace.client.entityheader.EntityHeader;
+
+import cc.kune.core.client.resources.icons.IconConstants;
+import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.StateAbstractDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.calclab.suco.client.events.Listener;
+import com.calclab.suco.client.events.Listener0;
+import com.calclab.suco.client.ioc.Provider;
+
+public class AddAsBuddieHeaderButton {
+
+ public static class AddAsBuddieAction extends AbstractExtendedAction {
+ private final Provider<ChatEngine> chatEngine;
+ private final Session session;
+
+ public AddAsBuddieAction(final Provider<ChatEngine> chatEngine, final Session session,
+ final StateManager stateManager, final I18nTranslationService i18n, final IconResources img) {
+ super();
+ this.chatEngine = chatEngine;
+ this.session = session;
+ stateManager.onStateChanged(new Listener<StateAbstractDTO>() {
+ public void onEvent(final StateAbstractDTO state) {
+ setState(state);
+ }
+ });
+ chatEngine.get().addOnRosterChanged(new Listener0() {
+ public void onEvent() {
+ setState(session.getCurrentState());
+ }
+ });
+ putValue(Action.NAME, i18n.t("Add as a buddie"));
+ putValue(Action.SMALL_ICON, IconConstants.toPath(img.addGreen()));
+ }
+
+ public void actionPerformed(final ActionEvent event) {
+ chatEngine.get().addNewBuddie(session.getCurrentState().getGroup().getShortName());
+ NotifyUser.info("Added as buddie. Waiting buddie response");
+ setEnabled(false);
+ }
+
+ private void setState(final StateAbstractDTO state) {
+ final String groupName = state.getGroup().getShortName();
+ final boolean isPersonal = state.getGroup().isPersonal();
+ final boolean isLogged = session.isLogged();
+ if (isLogged && isPersonal && (!chatEngine.get().isBuddie(groupName))
+ && (!session.getCurrentUser().getShortName().equals(groupName))) {
+ setEnabled(true);
+ } else {
+ setEnabled(false);
+ }
+ }
+ }
+
+ public AddAsBuddieHeaderButton(final Provider<ChatEngine> chatEngine, final Session session,
+ final StateManager stateManager, final I18nTranslationService i18n, final IconResources img,
+ final EntityHeader entityHeader) {
+ final AddAsBuddieAction buddieAction = new AddAsBuddieAction(chatEngine, session, stateManager, i18n, img);
+ final ButtonDescriptor button = new ButtonDescriptor(buddieAction);
+ button.setVisible(false);
+ buddieAction.addPropertyChangeListener(new PropertyChangeListener() {
+ public void propertyChange(final PropertyChangeEvent event) {
+ if (event.getPropertyName().equals(OldAbstractAction.ENABLED)) {
+ button.setVisible((Boolean) event.getNewValue());
+ }
+ }
+ });
+ entityHeader.addAction(button);
+ }
+}
\ No newline at end of file
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/other/AddAsBuddieHeaderButton.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbar.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbar.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
+
+import cc.kune.core.shared.dto.UserSimpleDTO;
+
+public interface ActionBuddiesSummaryToolbar extends ActionToolbar<UserSimpleDTO> {
+
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbar.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbarPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbarPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPresenter;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+
+import cc.kune.core.shared.dto.UserSimpleDTO;
+
+public class ActionBuddiesSummaryToolbarPresenter extends ActionToolbarPresenter<UserSimpleDTO> implements
+ ActionBuddiesSummaryToolbar {
+
+ public ActionBuddiesSummaryToolbarPresenter(ActionToolbarView<UserSimpleDTO> toolbar) {
+ super(toolbar);
+ }
+
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionBuddiesSummaryToolbarPresenter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbar.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbar.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+
+public interface ActionGroupSummaryToolbar extends ActionToolbar<StateToken> {
+
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbar.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbarPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbarPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,33 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPresenter;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+
+public class ActionGroupSummaryToolbarPresenter extends ActionToolbarPresenter<StateToken> implements
+ ActionGroupSummaryToolbar {
+
+ public ActionGroupSummaryToolbarPresenter(ActionToolbarView<StateToken> toolbar) {
+ super(toolbar);
+ }
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionGroupSummaryToolbarPresenter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationSummaryToolbarPresenter.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationSummaryToolbarPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPresenter;
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+
+public class ActionParticipationSummaryToolbarPresenter extends ActionToolbarPresenter<StateToken> implements
+ ActionParticipationToolbar {
+
+ public ActionParticipationSummaryToolbarPresenter(ActionToolbarView<StateToken> toolbar) {
+ super(toolbar);
+ }
+
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationSummaryToolbarPresenter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationToolbar.java (rev 0)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationToolbar.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package org.ourproject.kune.workspace.client.oldsn.toolbar;
+
+import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
+
+import cc.kune.core.shared.domain.utils.StateToken;
+
+public interface ActionParticipationToolbar extends ActionToolbar<StateToken> {
+
+}
Property changes on: trunk/src/main/java/org/ourproject/kune/workspace/client/oldsn/toolbar/ActionParticipationToolbar.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,7 +19,7 @@
*/
package org.ourproject.kune.workspace.client.options;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.app.GroupOptionsCollection;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPanel;
import org.ourproject.kune.workspace.client.entityheader.EntityHeader;
@@ -47,7 +47,7 @@
}
@Override
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
entityHeader.addAction(descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,10 +19,10 @@
*/
package org.ourproject.kune.workspace.client.options;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
public interface GroupOptionsView extends EntityOptionsView {
- void addAction(GuiActionDescrip descriptor);
+ void addAction(OldGuiActionDescrip descriptor);
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -22,7 +22,7 @@
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPresenter;
import org.ourproject.kune.workspace.client.sitebar.siteusermenu.SiteUserOptions;
@@ -73,7 +73,7 @@
};
userPrefsAction.putValue(Action.NAME, i18n.t("Your preferences"));
userPrefsAction.putValue(Action.SMALL_ICON, img.prefs());
- final MenuItemDescriptor prefsItem = new MenuItemDescriptor(userPrefsAction);
+ final OldMenuItemDescriptor prefsItem = new OldMenuItemDescriptor(userPrefsAction);
prefsItem.setPosition(1);
userOptions.addAction(prefsItem);
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,12 +20,12 @@
package org.ourproject.kune.workspace.client.options.logo;
import org.ourproject.kune.platf.client.ui.dialogs.DefaultFormUtils;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
import org.ourproject.kune.workspace.client.options.EntityOptionsView;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
import cc.kune.core.client.resources.CoreMessages;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.i18n.I18nTranslationService;
import com.gwtext.client.core.Connection;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,9 +19,9 @@
*/
package org.ourproject.kune.workspace.client.options.logo;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.i18n.I18nTranslationService;
public class GroupOptionsLogoPanel extends EntityOptionsLogoPanel {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,9 +19,9 @@
*/
package org.ourproject.kune.workspace.client.options.logo;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
+import cc.kune.core.client.services.FileConstants;
import cc.kune.core.shared.i18n.I18nTranslationService;
public class UserOptionsLogoPanel extends EntityOptionsLogoPanel {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,15 +19,15 @@
*/
package org.ourproject.kune.workspace.client.options.pscape;
-import org.ourproject.kune.platf.client.ui.BasicThumb;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
import org.ourproject.kune.workspace.client.options.EntityOptionsView;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
import org.ourproject.kune.workspace.client.themes.WsThemeSelector;
+import cc.kune.common.client.ui.BasicThumb;
import cc.kune.common.client.utils.TextUtils;
+import cc.kune.core.client.services.FileDownloadUtils;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -21,8 +21,8 @@
import org.ourproject.kune.platf.client.services.SearcherConstants;
import org.ourproject.kune.platf.client.ui.dialogs.BasicDialog;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.LinkDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,8 +19,8 @@
*/
package org.ourproject.kune.workspace.client.search;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.i18n.I18nTranslationService;
public class GroupLiveSearchPanel extends EntityLiveSearcherPanel {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,8 +19,8 @@
*/
package org.ourproject.kune.workspace.client.search;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.i18n.I18nTranslationService;
public class UserLiveSearcherPanel extends EntityLiveSearcherPanel {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -24,9 +24,9 @@
import org.ourproject.kune.platf.client.actions.Action;
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.ui.AbstractActionExtensiblePresenter;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuSeparatorDescriptor;
import cc.kune.common.client.ui.KuneWindowUtils;
@@ -49,7 +49,7 @@
}
@Override
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
descriptor.setParent(menuDescriptor);
view.addAction(descriptor);
}
@@ -76,7 +76,7 @@
};
bugsAction.putValue(Action.NAME, i18n.t("Report Kune issues/problems"));
bugsAction.putValue(Action.SMALL_ICON, img.bug());
- final MenuItemDescriptor item = new MenuItemDescriptor(bugsAction);
+ final OldMenuItemDescriptor item = new OldMenuItemDescriptor(bugsAction);
addAction(item);
// final KeyStroke shortcut = Shortcut.getShortcut(true, true, false,
@@ -90,6 +90,6 @@
aboutAction.putValue(Action.SMALL_ICON, img.kuneIcon16());
// aboutAction.setShortcut(shortcut);
// shortcutReg.put(shortcut, aboutAction);
- addAction(new MenuItemDescriptor(aboutAction));
+ addAction(new OldMenuItemDescriptor(aboutAction));
}
}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -27,13 +27,13 @@
import org.ourproject.kune.platf.client.actions.ActionEvent;
import org.ourproject.kune.platf.client.actions.common.GotoGroupAction;
import org.ourproject.kune.platf.client.actions.ui.AbstractActionExtensiblePresenter;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
+import org.ourproject.kune.platf.client.actions.ui.OldGuiActionDescrip;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import cc.kune.core.client.resources.CoreMessages;
import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.GroupDTO;
@@ -80,7 +80,7 @@
}
@Override
- public void addAction(final GuiActionDescrip descriptor) {
+ public void addAction(final OldGuiActionDescrip descriptor) {
descriptor.setParent(menuDescriptor);
view.addAction(descriptor);
}
@@ -99,7 +99,7 @@
: "images/group-def-icon.gif";
final GotoGroupAction gotoGroupAction = new GotoGroupAction(logoImageUrl, group.getShortName(),
group.getLongName(), stateManager);
- view.addAction(new MenuItemDescriptor(partiMenu, gotoGroupAction));
+ view.addAction(new OldMenuItemDescriptor(partiMenu, gotoGroupAction));
}
private void createActions() {
@@ -118,7 +118,7 @@
};
userHomeAction.putValue(Action.NAME, i18n.t(CoreMessages.YOUR_HOMEPAGE));
userHomeAction.putValue(Action.SMALL_ICON, img.groupHome());
- final MenuItemDescriptor item = new MenuItemDescriptor(userHomeAction);
+ final OldMenuItemDescriptor item = new OldMenuItemDescriptor(userHomeAction);
item.setPosition(0);
addAction(item);
}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,24 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-
-public interface BuddiesSummary {
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,133 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionItem;
-import org.ourproject.kune.platf.client.actions.ActionItemCollection;
-import org.ourproject.kune.platf.client.actions.ActionManager;
-import org.ourproject.kune.platf.client.actions.MenuItemsContainer;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
-import org.ourproject.kune.platf.client.ui.AbstractToolbar;
-import org.ourproject.kune.platf.client.ui.BasicThumb;
-import org.ourproject.kune.workspace.client.skel.SummaryPanel;
-import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
-
-import cc.kune.core.client.resources.CoreMessages;
-import cc.kune.core.shared.dto.UserSimpleDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.user.client.ui.FlowPanel;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.VerticalPanel;
-import com.google.gwt.user.client.ui.Widget;
-import com.gwtext.client.widgets.menu.Menu;
-
-public class BuddiesSummaryPanel extends SummaryPanel implements BuddiesSummaryView {
-
- private final MenuItemsContainer<UserSimpleDTO> menuItemsContainer;
- private final FlowPanel flowPanel;
- private final Label otherBuddiesLabel;
- private final I18nTranslationService i18n;
- private final ActionManager actionManager;
- private final AbstractToolbar toolbar;
- private final Label noBuddiesPublic;
-
- public BuddiesSummaryPanel(final BuddiesSummaryPresenter presenter, final WorkspaceSkeleton ws,
- final I18nTranslationService i18n, final ActionManager actionManager,
- final ActionToolbarView<UserSimpleDTO> actionToolbarView) {
- super(i18n.t("Buddies"), i18n.t("This user buddies"), ws);
- this.actionManager = actionManager;
- menuItemsContainer = new MenuItemsContainer<UserSimpleDTO>();
- this.i18n = i18n;
- final VerticalPanel vp = new VerticalPanel();
- flowPanel = new FlowPanel();
- otherBuddiesLabel = new Label();
- otherBuddiesLabel.addStyleName("kune-Margin-Small-trbl");
- vp.add(flowPanel);
- vp.add(otherBuddiesLabel);
- toolbar = ((ActionToolbarPanel<UserSimpleDTO>) actionToolbarView).getToolbar();
- toolbar.setBlankStyle();
- vp.add((Widget) toolbar);
- super.add(vp);
- addInSummary();
- noBuddiesPublic = new Label(i18n.t(CoreMessages.BUDDIES_NOT_PUBLIC));
- noBuddiesPublic.addStyleName("kune-Margin-7-trbl");
- noBuddiesPublic.addStyleName("k-text-gray");
- }
-
- public void addBuddie(final UserSimpleDTO user, final ActionItemCollection<UserSimpleDTO> actionCollection,
- final String avatarUrl, final String tooltipTitle, final String tooltip) {
- final ClickHandler listener = new ClickHandler() {
- public void onClick(final ClickEvent event) {
- final Element sender = event.getRelativeElement();
- final Menu menu = menuItemsContainer.get(user.getShortName());
- if (menu.getItems().length > 0) {
- menu.showAt(sender.getAbsoluteLeft(), sender.getAbsoluteTop() + 5);
- }
- }
- };
- menuItemsContainer.createItemMenu(user.getShortName(), actionCollection,
- new Listener<ActionItem<UserSimpleDTO>>() {
- public void onEvent(final ActionItem<UserSimpleDTO> actionItem) {
- doAction(actionItem);
- }
- });
-
- final BasicThumb thumb = new BasicThumb(avatarUrl.equals(NOAVATAR) ? "images/persons/person2-32.png"
- : avatarUrl, AVATARSIZE, user.getShortName(), AVATARLABELMAXSIZE, false, listener);
- thumb.setTooltip(tooltipTitle, tooltip);
- flowPanel.add(thumb);
- }
-
- @Override
- public void clear() {
- flowPanel.clear();
- clearOtherUsers();
- menuItemsContainer.clear();
- toolbar.removeAll();
- super.doLayoutIfNeeded();
- }
-
- public void clearOtherUsers() {
- otherBuddiesLabel.setText("");
- }
-
- public void setNoBuddies() {
- otherBuddiesLabel.setText(i18n.t("This user has no buddies"));
- }
-
- public void setOtherUsers(final String text) {
- otherBuddiesLabel.setText(text);
- }
-
- public void showBuddiesNotVisible() {
- flowPanel.add(noBuddiesPublic);
- super.doLayoutIfNeeded();
- }
-
- private void doAction(final ActionItem<UserSimpleDTO> actionItem) {
- actionManager.doAction(actionItem);
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,239 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import java.util.List;
-
-import org.ourproject.kune.chat.client.ChatEngine;
-import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.ActionEnableCondition;
-import org.ourproject.kune.platf.client.actions.ActionMenuItemDescriptor;
-import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ActionToolbarMenuRadioDescriptor;
-import org.ourproject.kune.platf.client.actions.RadioMustBeChecked;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
-import org.ourproject.kune.platf.client.services.ImageUtils;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionBuddiesSummaryToolbar;
-
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.rpcservices.UserServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.UserBuddiesVisibility;
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.core.shared.dto.SocialNetworkDataDTO;
-import cc.kune.core.shared.dto.StateAbstractDTO;
-import cc.kune.core.shared.dto.UserBuddiesDataDTO;
-import cc.kune.core.shared.dto.UserSimpleDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener;
-import com.calclab.suco.client.ioc.Provider;
-
-public class BuddiesSummaryPresenter extends SocialNetworkPresenter implements BuddiesSummary {
-
- public static final String BUDDIES_VISIBILITY_GROUP = "k-bsp-bud-visib";
-
- private BuddiesSummaryView view;
- private final StateManager stateManager;
- private final UserActionRegistry actionRegistry;
- private final I18nTranslationService i18n;
- private final Provider<ChatEngine> chatEngineProvider;
- private final Session session;
- private final ActionBuddiesSummaryToolbar toolbar;
- private final Provider<UserServiceAsync> userServiceAsync;
- private final Provider<FileDownloadUtils> fileDownUtilsProvider;
-
- public BuddiesSummaryPresenter(final StateManager stateManager, final Session session,
- final Provider<UserServiceAsync> userServiceAsync, final UserActionRegistry actionRegistry,
- final I18nTranslationService i18n, final Provider<ChatEngine> chatEngineProvider,
- final ActionBuddiesSummaryToolbar toolbar, final Provider<FileDownloadUtils> fileDownUtilsProvider,
- final ImageUtils imageUtils, final Provider<SocialNetworkServiceAsync> snServiceAsync,
- final GroupActionRegistry groupActionRegistry, final AccessRightsClientManager accessRightManager,
- final IconResources img) {
- super(i18n, stateManager, accessRightManager, session, snServiceAsync, groupActionRegistry,
- fileDownUtilsProvider, img);
- this.stateManager = stateManager;
- this.session = session;
- this.userServiceAsync = userServiceAsync;
- this.actionRegistry = actionRegistry;
- this.i18n = i18n;
- this.chatEngineProvider = chatEngineProvider;
- this.toolbar = toolbar;
- this.fileDownUtilsProvider = fileDownUtilsProvider;
- stateManager.onStateChanged(new Listener<StateAbstractDTO>() {
- @Override
- public void onEvent(final StateAbstractDTO state) {
- setState(state);
- }
- });
- stateManager.onSocialNetworkChanged(new Listener<StateAbstractDTO>() {
- @Override
- public void onEvent(final StateAbstractDTO state) {
- setState(state);
- }
- });
- registerActions();
- }
-
- public View getView() {
- return view;
- }
-
- public void init(final BuddiesSummaryView view) {
- this.view = view;
- }
-
- protected void setState(final StateAbstractDTO state) {
- if (state.getGroup().isPersonal()) {
- view.clear();
- final UserBuddiesDataDTO userBuddies = state.getUserBuddies();
- if (state.getSocialNetworkData().isBuddiesVisible()) {
- final List<UserSimpleDTO> buddies = userBuddies.getBuddies();
- for (final UserSimpleDTO user : buddies) {
- final String avatarUrl = user.hasLogo() ? fileDownUtilsProvider.get().getLogoImageUrl(
- user.getStateToken()) : BuddiesSummaryView.NOAVATAR;
- final String tooltip = super.createTooltipWithLogo(user.getShortName(), user.getStateToken(),
- user.hasLogo(), true);
- view.addBuddie(user, actionRegistry.getCurrentActions(user, session.isLogged(), new AccessRights(
- true, true, true), false), avatarUrl, user.getName(), tooltip);
- }
- final boolean hasLocalBuddies = buddies.size() > 0;
- final int numExtBuddies = userBuddies.getOtherExtBuddies();
- if (numExtBuddies > 0) {
- if (hasLocalBuddies) {
- // i18n: plural
- view.setOtherUsers(i18n.t(numExtBuddies == 1 ? "and [%d] external user"
- : "and [%d] external users", numExtBuddies));
- } else {
- view.setOtherUsers(i18n.t(numExtBuddies == 1 ? "[%d] external user" : "[%d] external users",
- numExtBuddies));
- }
- } else {
- if (hasLocalBuddies) {
- view.clearOtherUsers();
- } else {
- view.setNoBuddies();
- }
- }
- toolbar.disableMenusAndClearButtons();
- toolbar.addActions(
- actionRegistry.getCurrentActions(session.getCurrentUser(), session.isLogged(),
- state.getGroupRights(), true), ActionToolbar.IN_ANY);
- toolbar.attach();
- view.show();
- } else {
- view.showBuddiesNotVisible();
- view.show();
- }
- } else {
- view.hide();
- }
- }
-
- private void createAddNewBuddiesAction() {
- final ActionToolbarMenuDescriptor<UserSimpleDTO> addNewBuddiesAction = new ActionToolbarMenuDescriptor<UserSimpleDTO>(
- AccessRolDTO.Administrator, buddiesBottom, new Listener<UserSimpleDTO>() {
- @Override
- public void onEvent(final UserSimpleDTO parameter) {
- NotifyUser.info("In development");
- }
- });
- addNewBuddiesAction.setTextDescription(i18n.t("Add a new buddy"));
- addNewBuddiesAction.setParentMenuTitle(i18n.t("Options"));
- addNewBuddiesAction.setIconUrl("images/add-green.gif");
- actionRegistry.addAction(addNewBuddiesAction);
- }
-
- private void createSetBuddiesVisibilityAction(final String textDescription, final UserBuddiesVisibility visibility) {
- final ActionToolbarMenuRadioDescriptor<UserSimpleDTO> buddiesVisibilityAction = new ActionToolbarMenuRadioDescriptor<UserSimpleDTO>(
- AccessRolDTO.Administrator, buddiesBottom, new Listener<UserSimpleDTO>() {
- @Override
- public void onEvent(final UserSimpleDTO parameter) {
- userServiceAsync.get().setBuddiesVisibility(session.getUserHash(),
- session.getCurrentState().getGroup().getStateToken(), visibility,
- new AsyncCallbackSimple<Void>() {
- @Override
- public void onSuccess(final Void result) {
- NotifyUser.info(i18n.t("Buddies visibility changed"));
- }
- });
- }
- }, BUDDIES_VISIBILITY_GROUP, new RadioMustBeChecked() {
- @Override
- public boolean mustBeChecked() {
- final StateAbstractDTO currentState = session.getCurrentState();
- if (currentState.getGroup().isPersonal()) {
- final SocialNetworkDataDTO socialNetworkData = currentState.getSocialNetworkData();
- return socialNetworkData.getUserBuddiesVisibility().equals(visibility);
- }
- return false;
- }
- });
- buddiesVisibilityAction.setTextDescription(textDescription);
- buddiesVisibilityAction.setParentMenuTitle(i18n.t("Options"));
- buddiesVisibilityAction.setParentSubMenuTitle(i18n.t("Those who can view your buddies list"));
- actionRegistry.addAction(buddiesVisibilityAction);
- }
-
- private void registerActions() {
- final ActionMenuItemDescriptor<UserSimpleDTO> addAsBuddie = new ActionMenuItemDescriptor<UserSimpleDTO>(
- AccessRolDTO.Viewer, new Listener<UserSimpleDTO>() {
- @Override
- public void onEvent(final UserSimpleDTO user) {
- chatEngineProvider.get().addNewBuddie(user.getShortName());
- }
- });
- addAsBuddie.setMustBeAuthenticated(true);
- addAsBuddie.setTextDescription(i18n.t("Add as a buddie"));
- addAsBuddie.setIconUrl("images/add-green.png");
- addAsBuddie.setEnableCondition(new ActionEnableCondition<UserSimpleDTO>() {
- @Override
- public boolean mustBeEnabled(final UserSimpleDTO user) {
- return !chatEngineProvider.get().isBuddie(user.getShortName());
- }
- });
- actionRegistry.addAction(addAsBuddie);
-
- final ActionMenuItemDescriptor<UserSimpleDTO> go = new ActionMenuItemDescriptor<UserSimpleDTO>(
- AccessRolDTO.Viewer, new Listener<UserSimpleDTO>() {
- @Override
- public void onEvent(final UserSimpleDTO user) {
- stateManager.gotoToken(user.getShortName());
- }
- });
- go.setMustBeAuthenticated(false);
- go.setTextDescription(i18n.t("Visit this user's homepage"));
- go.setIconUrl("images/group-home.gif");
- actionRegistry.addAction(go);
-
- createAddNewBuddiesAction();
- createSetBuddiesVisibilityAction(i18n.t("anyone"), UserBuddiesVisibility.anyone);
- createSetBuddiesVisibilityAction(i18n.t("only your buddies"), UserBuddiesVisibility.yourbuddies);
- createSetBuddiesVisibilityAction(i18n.t("only you"), UserBuddiesVisibility.onlyyou);
- }
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,49 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.actions.ActionItemCollection;
-
-import cc.kune.core.shared.dto.UserSimpleDTO;
-
-public interface BuddiesSummaryView extends View {
-
- String NOAVATAR = "";
- int AVATARSIZE = 32;
- int AVATARLABELMAXSIZE = 15;
-
- void addBuddie(UserSimpleDTO user, ActionItemCollection<UserSimpleDTO> actionCollection, String avatarUrl,
- String tooltipTitle, String tooltip);
-
- void clear();
-
- void clearOtherUsers();
-
- void hide();
-
- void setNoBuddies();
-
- void setOtherUsers(String text);
-
- void show();
-
- void showBuddiesNotVisible();
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,30 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionRegistry;
-
-import cc.kune.core.shared.domain.utils.StateToken;
-
-/**
- * The Class GroupActionRegistry stores actions over groups (mainly used in SN)
- */
-public class GroupActionRegistry extends ActionRegistry<StateToken> {
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,36 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.ui.MenuItem;
-
-import cc.kune.core.shared.dto.GroupDTO;
-
-public interface GroupMembersSummary {
-
- void addGroupOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
-
- void addUserOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
-
- void removeGroupOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
-
- void removeUserOperation(MenuItem<GroupDTO> operation, boolean mustBeLogged);
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,139 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
-import org.ourproject.kune.platf.client.ui.AbstractToolbar;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridDragConfiguration;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridMenuPanel;
-import org.ourproject.kune.workspace.client.skel.SummaryPanel;
-import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
-
-import cc.kune.core.client.i18n.I18nUITranslationService;
-import cc.kune.core.client.resources.CoreMessages;
-import cc.kune.core.shared.domain.utils.StateToken;
-import cc.kune.core.shared.dto.GroupDTO;
-
-import com.calclab.suco.client.events.Listener;
-import com.google.gwt.core.client.Scheduler;
-import com.google.gwt.core.client.Scheduler.ScheduledCommand;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.Widget;
-import com.gwtext.client.widgets.BoxComponent;
-import com.gwtext.client.widgets.MessageBox;
-import com.gwtext.client.widgets.event.ContainerListenerAdapter;
-
-public class GroupMembersSummaryPanel extends SummaryPanel implements GroupMembersSummaryView {
- // private static final int MAX_HEIGHT = 110;
- private final GridMenuPanel<GroupDTO> gridMenuPanel;
- private final I18nUITranslationService i18n;
- private final Label noMembersPublic;
- private final GroupMembersSummaryPresenter presenter;
- private final AbstractToolbar toolbar;
-
- public GroupMembersSummaryPanel(final GroupMembersSummaryPresenter presenter, final I18nUITranslationService i18n,
- final WorkspaceSkeleton ws, final ActionToolbarView<StateToken> actionToolbarView) {
- super(i18n.t("Group members"), i18n.t("People and groups collaborating in this group"), ws);
- this.presenter = presenter;
- this.i18n = i18n;
-
- final GridDragConfiguration dragConf = new GridDragConfiguration("kk",
- i18n.t("Drop into the chat area to start a chat.") + "<br/>"
- + i18n.t("Drop into a room to invite the user to join the chat room"));
- gridMenuPanel = new GridMenuPanel<GroupDTO>(i18n.t("This is an orphaned project, if you are interested "
- + "please request to join to work on it"), dragConf, true, true, false, true, false);
- final Listener<String> go = new Listener<String>() {
- @Override
- public void onEvent(final String groupShortName) {
- presenter.onDoubleClick(groupShortName);
- }
- };
- // gridMenuPanel.onClick(go);
- gridMenuPanel.onDoubleClick(go);
- gridMenuPanel.getBottomBar().setCls("k-blank-toolbar");
- super.add(gridMenuPanel);
-
- noMembersPublic = new Label(i18n.t(CoreMessages.MEMBERS_NOT_PUBLIC));
- noMembersPublic.addStyleName("kune-Margin-7-trbl");
- noMembersPublic.addStyleName("k-text-gray");
- noMembersPublic.setVisible(false);
- super.add(noMembersPublic);
-
- toolbar = ((ActionToolbarPanel<StateToken>) actionToolbarView).getToolbar();
- toolbar.setBlankStyle();
- super.add((Widget) toolbar);
- super.addInSummary();
- ws.addListenerInEntitySummary(new ContainerListenerAdapter() {
- @Override
- public void onResize(final BoxComponent component, final int adjWidth, final int adjHeight,
- final int rawWidth, final int rawHeight) {
- gridMenuPanel.setWidth(adjWidth);
- }
- });
- }
-
- @Override
- public void addItem(final GridItem<GroupDTO> gridItem) {
- gridMenuPanel.setVisible(true);
- gridMenuPanel.addItem(gridItem);
- doLayoutIfNeeded();
- }
-
- @Override
- public void clear() {
- gridMenuPanel.removeAll();
- toolbar.removeAll();
- noMembersPublic.setVisible(false);
- doLayoutIfNeeded();
- }
-
- @Override
- public void confirmAddCollab(final String groupShortName, final String groupLongName) {
- final String groupName = groupLongName + " (" + groupShortName + ")";
- MessageBox.confirm(i18n.t("Confirm member joining"), i18n.t("Add [%s] as a member?", groupName),
- new MessageBox.ConfirmCallback() {
- @Override
- public void execute(final String btnID) {
- if (btnID.equals("yes")) {
- Scheduler.get().scheduleDeferred(new ScheduledCommand() {
- @Override
- public void execute() {
- presenter.addCollab(groupShortName);
- }
- });
- }
- }
- });
- }
-
- @Override
- public void setDraggable(final boolean draggable) {
- // gridMenuPanel.setDraggable(draggable);
- }
-
- @Override
- public void showMembersNotVisible() {
- noMembersPublic.setVisible(true);
- gridMenuPanel.setVisible(false);
- doLayoutIfNeeded();
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,294 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import java.util.List;
-
-import org.ourproject.kune.chat.client.ChatEngine;
-import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ActionToolbarMenuRadioDescriptor;
-import org.ourproject.kune.platf.client.actions.RadioMustBeChecked;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbar;
-import org.ourproject.kune.platf.client.services.ImageDescriptor;
-import org.ourproject.kune.platf.client.services.ImageUtils;
-import org.ourproject.kune.platf.client.ui.MenuItem;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
-import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
-import org.ourproject.kune.workspace.client.search.GroupLiveSearcher;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionGroupSummaryToolbar;
-
-import cc.kune.core.client.i18n.I18nUITranslationService;
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
-import cc.kune.core.client.rpcservices.GroupServiceAsync;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.AdmissionType;
-import cc.kune.core.shared.domain.SocialNetworkVisibility;
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.domain.utils.StateToken;
-import cc.kune.core.shared.dto.AccessListsDTO;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.core.shared.dto.GroupDTO;
-import cc.kune.core.shared.dto.InitDataDTO;
-import cc.kune.core.shared.dto.LinkDTO;
-import cc.kune.core.shared.dto.SocialNetworkDTO;
-import cc.kune.core.shared.dto.SocialNetworkDataDTO;
-import cc.kune.core.shared.dto.StateAbstractDTO;
-
-import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
-import com.calclab.suco.client.events.Listener;
-import com.calclab.suco.client.ioc.Provider;
-
-public class GroupMembersSummaryPresenter extends SocialNetworkPresenter implements GroupMembersSummary {
-
- public static final String MEMBERS_VISIBILITY_GROUP = "k-gmsp-memb-visib";
- public static final String NEW_MEMBERS_POLICY_GROUP = "k-gmsp-new-memb-pol";
-
- private GroupMembersSummaryView view;
- private final I18nUITranslationService i18n;
- private final GridGroup adminCategory;
- private final GridGroup collabCategory;
- private final GridGroup pendigCategory;
- private final Session session;
- private final Provider<SocialNetworkServiceAsync> snServiceProvider;
- private final StateManager stateManager;
- private final GroupActionRegistry groupActionRegistry;
- private final Provider<GroupLiveSearcher> liveSearcherProvider;
- private final Provider<GroupServiceAsync> groupServiceProvider;
-
- public GroupMembersSummaryPresenter(final I18nUITranslationService i18n, final StateManager stateManager,
- final ImageUtils imageUtils, final Session session,
- final Provider<SocialNetworkServiceAsync> snServiceProvider,
- final Provider<GroupServiceAsync> groupServiceProvider,
- final Provider<GroupLiveSearcher> liveSearcherProvider, final Provider<ChatEngine> chatEngineProvider,
- final GroupActionRegistry groupActionRegistry, final ActionGroupSummaryToolbar toolbar,
- final Provider<FileDownloadUtils> downloadProvider, final AccessRightsClientManager accessRightsManager,
- final IconResources img) {
- super(i18n, stateManager, accessRightsManager, session, snServiceProvider, groupActionRegistry,
- downloadProvider, img);
- this.i18n = i18n;
- this.stateManager = stateManager;
- this.session = session;
- this.snServiceProvider = snServiceProvider;
- this.groupServiceProvider = groupServiceProvider;
- this.liveSearcherProvider = liveSearcherProvider;
- this.groupActionRegistry = groupActionRegistry;
- final Listener<StateAbstractDTO> setStateListener = new Listener<StateAbstractDTO>() {
- @Override
- public void onEvent(final StateAbstractDTO state) {
- setState(state);
- toolbar.disableMenusAndClearButtons();
- toolbar.addActions(groupActionRegistry.getCurrentActions(state.getGroup().getStateToken(),
- session.isLogged(), state.getGroupRights(), true), ActionToolbar.IN_ANY);
- toolbar.attach();
- }
- };
- stateManager.onStateChanged(setStateListener);
- stateManager.onSocialNetworkChanged(setStateListener);
- session.onInitDataReceived(new Listener<InitDataDTO>() {
- @Override
- public void onEvent(final InitDataDTO initData) {
- addUserOperation(new MenuItem<GroupDTO>("images/new-chat.gif", i18n.t("Start a chat with this member"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- chatEngineProvider.get().show();
- if (chatEngineProvider.get().isLoggedIn()) {
- chatEngineProvider.get().chat(
- XmppURI.jid(group.getShortName() + "@" + initData.getChatDomain()));
- } else {
- NotifyUser.important(i18n.t("To start a chat you need to be 'online'"));
- }
- }
- }), true);
- }
- });
- final String adminsTitle = i18n.t("Admins");
- final String collabsTitle = i18n.t("Collaborators");
- final String pendingTitle = i18n.t("Pending");
- adminCategory = new GridGroup(adminsTitle, adminsTitle, i18n.t("People that can admin this group"), true);
- collabCategory = new GridGroup(collabsTitle, collabsTitle,
- i18n.t("Other people that collaborate with this group"), true);
- pendigCategory = new GridGroup(pendingTitle, pendingTitle,
- i18n.t("People pending to be accepted in this group by the admins"),
- imageUtils.getImageHtml(ImageDescriptor.alert), true);
- super.addGroupOperation(gotoGroupMenuItem, false);
- super.addUserOperation(gotoMemberMenuItem, false);
- createActions();
- }
-
- public void addCollab(final String groupShortName) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().addCollabMember(session.getUserHash(), session.getCurrentState().getStateToken(),
- groupShortName, new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member added as collaborator"));
- stateManager.setSocialNetwork(result);
- }
-
- });
- }
-
- public void init(final GroupMembersSummaryView view) {
- this.view = view;
- }
-
- private void createActions() {
- final ActionToolbarMenuDescriptor<StateToken> addMember = new ActionToolbarMenuDescriptor<StateToken>(
- AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
- @Override
- public void onEvent(final StateToken parameter) {
- liveSearcherProvider.get().onSelection(new Listener<LinkDTO>() {
- @Override
- public void onEvent(final LinkDTO link) {
- view.confirmAddCollab(link.getShortName(), link.getLongName());
- }
- });
- liveSearcherProvider.get().show();
- }
- });
- addMember.setIconUrl("images/add-green.gif");
- addMember.setTextDescription(i18n.t("Add member"));
- addMember.setToolTip(i18n.t("Add an user or a group as member of this group"));
- addMember.setParentMenuTitle(i18n.t("Options"));
-
- groupActionRegistry.addAction(addMember);
- // groupActionRegistry.addAction(unJoin);
-
- // groupActionRegistry.addAction(participate);
- createSetMembersVisibilityAction(i18n.t("anyone"), SocialNetworkVisibility.anyone);
- createSetMembersVisibilityAction(i18n.t("only members"), SocialNetworkVisibility.onlymembers);
- createSetMembersVisibilityAction(i18n.t("only admins"), SocialNetworkVisibility.onlyadmins);
- createNewMembersPolicyAction(i18n.t("moderate request to join"), AdmissionType.Moderated);
- createNewMembersPolicyAction(i18n.t("auto accept request to join"), AdmissionType.Open);
- }
-
- private void createNewMembersPolicyAction(final String textDescription, final AdmissionType admissionPolicy) {
- final ActionToolbarMenuRadioDescriptor<StateToken> newMembersPolicy = new ActionToolbarMenuRadioDescriptor<StateToken>(
- AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
- @Override
- public void onEvent(final StateToken parameter) {
- groupServiceProvider.get().setGroupNewMembersJoiningPolicy(session.getUserHash(),
- session.getCurrentState().getGroup().getStateToken(), admissionPolicy,
- new AsyncCallbackSimple<Void>() {
- @Override
- public void onSuccess(final Void result) {
- NotifyUser.info(i18n.t("Members joining policy changed"));
- }
- });
- }
- }, NEW_MEMBERS_POLICY_GROUP, new RadioMustBeChecked() {
- @Override
- public boolean mustBeChecked() {
- final StateAbstractDTO currentState = session.getCurrentState();
- return currentState.getGroup().getAdmissionType().equals(admissionPolicy);
- }
- });
- newMembersPolicy.setTextDescription(textDescription);
- newMembersPolicy.setParentMenuTitle(i18n.t("Options"));
- newMembersPolicy.setParentSubMenuTitle(i18n.t("New members policy"));
- groupActionRegistry.addAction(newMembersPolicy);
- }
-
- private void createSetMembersVisibilityAction(final String textDescription, final SocialNetworkVisibility visibility) {
- final ActionToolbarMenuRadioDescriptor<StateToken> showMembers = new ActionToolbarMenuRadioDescriptor<StateToken>(
- AccessRolDTO.Administrator, membersBottom, new Listener<StateToken>() {
- @Override
- public void onEvent(final StateToken parameter) {
- groupServiceProvider.get().setSocialNetworkVisibility(session.getUserHash(),
- session.getCurrentState().getGroup().getStateToken(), visibility,
- new AsyncCallbackSimple<Void>() {
- @Override
- public void onSuccess(final Void result) {
- NotifyUser.info(i18n.t("Members visibility changed"));
- }
- });
- }
- }, MEMBERS_VISIBILITY_GROUP, new RadioMustBeChecked() {
- @Override
- public boolean mustBeChecked() {
- final StateAbstractDTO currentState = session.getCurrentState();
- if (!currentState.getGroup().isPersonal()) {
- final SocialNetworkDataDTO socialNetworkData = currentState.getSocialNetworkData();
- return socialNetworkData.getSocialNetworkVisibility().equals(visibility);
- }
- return false;
- }
- });
- showMembers.setTextDescription(textDescription);
- showMembers.setParentMenuTitle(i18n.t("Options"));
- showMembers.setParentSubMenuTitle(i18n.t("Those who can view this member list"));
- groupActionRegistry.addAction(showMembers);
- }
-
- @SuppressWarnings("unchecked")
- private void setGroupMembers(final SocialNetworkDTO socialNetwork, final AccessRights rights) {
- final AccessListsDTO accessLists = socialNetwork.getAccessLists();
-
- final List<GroupDTO> adminsList = accessLists.getAdmins().getList();
- final List<GroupDTO> collabList = accessLists.getEditors().getList();
- final List<GroupDTO> pendingCollabsList = socialNetwork.getPendingCollaborators().getList();
-
- // final int numAdmins = adminsList.size();
-
- final boolean userIsAdmin = rights.isAdministrable();
- final boolean userCanView = rights.isVisible();
-
- view.clear();
-
- view.setDraggable(session.isLogged());
-
- if (userCanView) {
- for (final GroupDTO admin : adminsList) {
- view.addItem(createGridItem(adminCategory, admin, rights, changeToCollabMenuItem, removeMemberMenuItem));
- }
- for (final GroupDTO collab : collabList) {
- view.addItem(createGridItem(collabCategory, collab, rights, changeToAdminMenuItem, removeMemberMenuItem));
- }
- if (userIsAdmin) {
- for (final GroupDTO pendingCollab : pendingCollabsList) {
- view.addItem(createGridItem(pendigCategory, pendingCollab, rights, acceptJoinGroupMenuItem,
- denyJoinGroupMenuItem));
- }
- }
- }
- view.setVisible(true);
- }
-
- private void setState(final StateAbstractDTO state) {
- if (state.getGroup().isPersonal()) {
- view.setVisible(false);
- } else {
- if (state.getSocialNetworkData().isMembersVisible()) {
- setGroupMembers(state.getGroupMembers(), state.getGroupRights());
- } else {
- view.clear();
- view.showMembersNotVisible();
- view.setVisible(true);
- }
- }
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,40 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
-
-import cc.kune.core.shared.dto.GroupDTO;
-
-public interface GroupMembersSummaryView {
-
- void addItem(GridItem<GroupDTO> gridItem);
-
- void clear();
-
- void confirmAddCollab(String groupShortName, String groupLongName);
-
- void setDraggable(boolean draggable);
-
- void setVisible(boolean visible);
-
- void showMembersNotVisible();
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,73 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionEvent;
-import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
-
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.core.shared.dto.SocialNetworkRequestResult;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.ioc.Provider;
-
-public class ParticipateAction extends RolAction {
- private final Provider<SocialNetworkServiceAsync> snServiceProvider;
-
- public ParticipateAction(final Session session, final Provider<SocialNetworkServiceAsync> snServiceProvider,
- final StateManager stateManager, final AccessRightsClientManager rightsManager,
- final I18nTranslationService i18n, final IconResources imgResources) {
- super(session, stateManager, rightsManager, i18n, AccessRolDTO.Viewer, i18n.t("Participate"),
- i18n.t("Request to participate in this group"), imgResources.addGreen());
- this.snServiceProvider = snServiceProvider;
- super.setVisible(false, true);
- super.setMustBeAuthenticated(false);
- }
-
- public void actionPerformed(final ActionEvent event) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().requestJoinGroup(session.getUserHash(), session.getCurrentState().getStateToken(),
- new AsyncCallbackSimple<SocialNetworkRequestResult>() {
- public void onSuccess(final SocialNetworkRequestResult result) {
- NotifyUser.hideProgress();
- switch ((result)) {
- case accepted:
- NotifyUser.info(i18n.t("You are now member of this group"));
- stateManager.reload();
- break;
- case denied:
- NotifyUser.important(i18n.t("Sorry this is a closed group"));
- break;
- case moderated:
- NotifyUser.info(i18n.t("Membership requested. Waiting for admins decision"));
- break;
- default:
- NotifyUser.info(i18n.t("Programatic error in ParticipateAction"));
- }
- }
- });
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,24 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-public interface ParticipationSummary {
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,80 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarPanel;
-import org.ourproject.kune.platf.client.actions.toolbar.ActionToolbarView;
-import org.ourproject.kune.platf.client.ui.AbstractToolbar;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridMenuPanel;
-import org.ourproject.kune.workspace.client.skel.SummaryPanel;
-import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
-
-import cc.kune.core.shared.domain.utils.StateToken;
-import cc.kune.core.shared.dto.GroupDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener;
-import com.google.gwt.user.client.ui.Widget;
-import com.gwtext.client.widgets.BoxComponent;
-import com.gwtext.client.widgets.event.ContainerListenerAdapter;
-
-public class ParticipationSummaryPanel extends SummaryPanel implements ParticipationSummaryView {
-
- private final GridMenuPanel<GroupDTO> gridMenuPanel;
- private final AbstractToolbar toolbar;
-
- public ParticipationSummaryPanel(final ParticipationSummaryPresenter presenter, final I18nTranslationService i18n,
- final WorkspaceSkeleton ws, final ActionToolbarView<StateToken> actionToolbarView) {
- super(i18n.t("Participates in"), i18n.t("Groups in which the user participates"), ws);
- gridMenuPanel = new GridMenuPanel<GroupDTO>(i18n.t("This user does not belong to any group"), false, false,
- false, false, false);
- final Listener<String> go = new Listener<String>() {
- public void onEvent(final String groupShortName) {
- presenter.onDoubleClick(groupShortName);
- }
- };
- // gridMenuPanel.onClick(go);
- gridMenuPanel.onDoubleClick(go);
- super.add(gridMenuPanel);
- toolbar = ((ActionToolbarPanel<StateToken>) actionToolbarView).getToolbar();
- toolbar.setBlankStyle();
- super.add((Widget) toolbar);
- addInSummary();
- ws.addListenerInEntitySummary(new ContainerListenerAdapter() {
- @Override
- public void onResize(final BoxComponent component, final int adjWidth, final int adjHeight,
- final int rawWidth, final int rawHeight) {
- gridMenuPanel.setWidth(adjWidth);
- }
- });
- }
-
- public void addItem(final GridItem<GroupDTO> gridItem) {
- gridMenuPanel.addItem(gridItem);
- }
-
- @Override
- public void clear() {
- gridMenuPanel.removeAll();
- toolbar.removeAll();
- }
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,103 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import java.util.List;
-
-import org.ourproject.kune.platf.client.services.ImageUtils;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
-import org.ourproject.kune.workspace.client.socialnet.toolbar.ActionParticipationToolbar;
-
-import cc.kune.core.client.i18n.I18nUITranslationService;
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.dto.GroupDTO;
-import cc.kune.core.shared.dto.ParticipationDataDTO;
-import cc.kune.core.shared.dto.StateAbstractDTO;
-
-import com.calclab.suco.client.events.Listener;
-import com.calclab.suco.client.ioc.Provider;
-
-public class ParticipationSummaryPresenter extends SocialNetworkPresenter implements ParticipationSummary {
-
- private ParticipationSummaryView view;
- private final GridGroup adminCategory;
- private GridGroup collabCategory;
- private final GridGroup collabOnlyCategory;
-
- public ParticipationSummaryPresenter(final I18nUITranslationService i18n, final StateManager stateManager,
- final ImageUtils imageUtils, final Session session,
- final Provider<SocialNetworkServiceAsync> snServiceProvider, final GroupActionRegistry groupActionRegistry,
- final ActionParticipationToolbar actionParticipationToolbar,
- final Provider<FileDownloadUtils> downloadProvider, final AccessRightsClientManager accessRightsManager,
- final IconResources img) {
- super(i18n, stateManager, accessRightsManager, session, snServiceProvider, groupActionRegistry,
- downloadProvider, img);
- adminCategory = new GridGroup("admin in:", " ", i18n.tWithNT("Administrate these groups",
- "talking about a person"), false);
- collabCategory = new GridGroup(i18n.t("and as collaborator in:"), " ", i18n.t("Collaborate in these groups"),
- false);
- collabOnlyCategory = new GridGroup(i18n.t("collaborator in:"), " ", i18n.t("Collaborate in these groups"),
- false);
- super.addGroupOperation(gotoGroupMenuItem, false);
- final Listener<StateAbstractDTO> setStateListener = new Listener<StateAbstractDTO>() {
- @Override
- public void onEvent(final StateAbstractDTO state) {
- setState(state);
- }
- };
- stateManager.onStateChanged(setStateListener);
- stateManager.onSocialNetworkChanged(setStateListener);
- }
-
- public void init(final ParticipationSummaryView view) {
- this.view = view;
- }
-
- @SuppressWarnings("unchecked")
- private void setState(final StateAbstractDTO state) {
- final ParticipationDataDTO participation = state.getParticipation();
- final AccessRights rights = state.getGroupRights();
- view.clear();
- final List<GroupDTO> groupsIsAdmin = participation.getGroupsIsAdmin();
- final List<GroupDTO> groupsIsCollab = participation.getGroupsIsCollab();
- final int numAdmins = groupsIsAdmin.size();
- final int numCollaborators = groupsIsCollab.size();
- if (numAdmins == 0) {
- collabCategory = collabOnlyCategory;
- }
- for (final GroupDTO group : groupsIsAdmin) {
- view.addItem(createGridItem(adminCategory, group, rights, unJoinMenuItem));
- }
- for (final GroupDTO group : groupsIsCollab) {
- view.addItem(createGridItem(collabCategory, group, rights, unJoinMenuItem));
- }
- if (numAdmins > 0 || numCollaborators > 0) {
- view.setVisible(true);
- } else {
- view.setVisible(false);
- }
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,35 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.View;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
-
-import cc.kune.core.shared.dto.GroupDTO;
-
-public interface ParticipationSummaryView extends View {
-
- void addItem(GridItem<GroupDTO> createGridItem);
-
- void clear();
-
- void setVisible(boolean b);
-
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,96 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
-import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
-
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener2;
-import com.google.gwt.resources.client.ImageResource;
-
-public abstract class RolAction extends AbstractExtendedAction {
-
- public static UIStatus refreshStatus(final AccessRolDTO rolRequired, final boolean authNeed,
- final boolean isLogged, final boolean visibleForMembers, final boolean visibleForNonMemb,
- final AccessRights newRights) {
- boolean newVisibility = false;
- boolean newEnabled = false;
- if (authNeed && !isLogged) {
- newVisibility = newEnabled = false;
- } else {
- // Auth ok
- newEnabled = RolComparator.isEnabled(rolRequired, newRights);
- if (newEnabled) {
- final boolean isMember = RolComparator.isMember(newRights);
- newEnabled = newVisibility = isMember && visibleForMembers || !isMember && visibleForNonMemb;
- } else {
- newVisibility = false;
- }
- }
- return new UIStatus(newVisibility, newEnabled);
- }
-
- protected final Session session;
- protected final StateManager stateManager;
- protected final I18nTranslationService i18n;
- private boolean visibleForNonMemb;
- private boolean visibleForMembers;
- private boolean authNeed;
-
- public RolAction(final Session session, final StateManager stateManager,
- final AccessRightsClientManager rightsManager, final I18nTranslationService i18n,
- final AccessRolDTO rolRequired, final String text, final String tooltip, final ImageResource icon) {
- super(text, tooltip, icon);
- this.session = session;
- this.stateManager = stateManager;
- this.i18n = i18n;
- this.visibleForMembers = true;
- this.visibleForNonMemb = true;
- this.authNeed = false;
- rightsManager.onRightsChanged(new Listener2<AccessRights, AccessRights>() {
- public void onEvent(final AccessRights prevRights, final AccessRights newRights) {
- setStatus(refreshStatus(rolRequired, authNeed, session.isLogged(), visibleForMembers,
- visibleForNonMemb, newRights));
- }
-
- });
- }
-
- public void setMustBeAuthenticated(final boolean authNeed) {
- this.authNeed = authNeed;
- }
-
- public void setVisible(final boolean forMembers, final boolean forNonMembers) {
- this.visibleForMembers = forMembers;
- this.visibleForNonMemb = forNonMembers;
- }
-
- private void setStatus(final UIStatus refreshStatus) {
- setEnabled(refreshStatus.isEnabled());
- putValue(GuiActionDescrip.VISIBLE, refreshStatus.isVisible());
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,45 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.dto.AccessRolDTO;
-
-public final class RolComparator {
-
- public static boolean isEnabled(final AccessRolDTO rolRequired, final AccessRights rights) {
- switch (rolRequired) {
- case Administrator:
- return rights.isAdministrable();
- case Editor:
- return rights.isEditable();
- case Viewer:
- return rights.isVisible();
- }
- return false;
- }
-
- public static boolean isMember(final AccessRights newRights) {
- return newRights.isAdministrable() || newRights.isEditable();
- }
-
- private RolComparator() {
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,329 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionToolbarButtonDescriptor;
-import org.ourproject.kune.platf.client.actions.ActionToolbarMenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ActionToolbarPosition;
-import org.ourproject.kune.platf.client.actions.ui.ButtonDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
-import org.ourproject.kune.platf.client.ui.MenuItem;
-import org.ourproject.kune.platf.client.ui.MenuItemCollection;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
-import org.ourproject.kune.platf.client.ui.gridmenu.CustomMenu;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridGroup;
-import org.ourproject.kune.platf.client.ui.gridmenu.GridItem;
-import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
-
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.utils.AccessRights;
-import cc.kune.core.shared.domain.utils.StateToken;
-import cc.kune.core.shared.dto.GroupDTO;
-import cc.kune.core.shared.dto.SocialNetworkDataDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener;
-import com.calclab.suco.client.ioc.Provider;
-
-public class SocialNetworkPresenter {
-
- private static final String MEMBERS_BOTTON = "members_bottom";
-
- protected final ActionToolbarPosition membersBottom = new ActionToolbarPosition("sn-bottomtoolbar");
- protected final ActionToolbarPosition buddiesBottom = new ActionToolbarPosition("sn-bottomtoolbar");
- protected MenuItem<GroupDTO> changeToCollabMenuItem;
- protected MenuItem<GroupDTO> removeMemberMenuItem;
- protected MenuItem<GroupDTO> changeToAdminMenuItem;
- protected MenuItem<GroupDTO> acceptJoinGroupMenuItem;
- protected MenuItem<GroupDTO> denyJoinGroupMenuItem;
- protected MenuItem<GroupDTO> gotoMemberMenuItem;
- protected MenuItem<GroupDTO> gotoGroupMenuItem;
- protected MenuItem<GroupDTO> unJoinMenuItem;
- private final I18nTranslationService i18n;
- private final StateManager stateManager;
- private final Provider<SocialNetworkServiceAsync> snServiceProvider;
- private final Session session;
- private final MenuItemCollection<GroupDTO> otherOperations;
- private final MenuItemCollection<GroupDTO> otherLoggedOperations;
- private final MenuItemCollection<GroupDTO> otherOperationsUsers;
- private final MenuItemCollection<GroupDTO> otherLoggedOperationsUsers;
- protected ActionToolbarMenuDescriptor<StateToken> unJoin;
- protected ActionToolbarButtonDescriptor<StateToken> participate;
- private final Provider<FileDownloadUtils> downloadProvider;
- private final AccessRightsClientManager rightsManager;
- private final IconResources imgResources;
-
- private MenuDescriptor menuOptions;
-
- public SocialNetworkPresenter(final I18nTranslationService i18n, final StateManager stateManager,
- final AccessRightsClientManager rightsManager, final Session session,
- final Provider<SocialNetworkServiceAsync> snServiceProvider, final GroupActionRegistry groupActionRegistry,
- final Provider<FileDownloadUtils> downloadProvider, final IconResources imgResources) {
- this.i18n = i18n;
- this.stateManager = stateManager;
- this.rightsManager = rightsManager;
- this.session = session;
- this.snServiceProvider = snServiceProvider;
- this.downloadProvider = downloadProvider;
- this.imgResources = imgResources;
- createButtons();
- createMenuActions();
- otherOperationsUsers = new MenuItemCollection<GroupDTO>();
- otherLoggedOperationsUsers = new MenuItemCollection<GroupDTO>();
- otherOperations = new MenuItemCollection<GroupDTO>();
- otherLoggedOperations = new MenuItemCollection<GroupDTO>();
- }
-
- public void addGroupOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
- MenuItemCollection<GroupDTO> collection;
- collection = mustBeLogged ? otherLoggedOperations : otherOperations;
- collection.add(operation);
- }
-
- public void addUserOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
- MenuItemCollection<GroupDTO> collection;
- collection = mustBeLogged ? otherLoggedOperationsUsers : otherOperationsUsers;
- collection.add(operation);
- }
-
- public void onDoubleClick(final String groupShortName) {
- stateManager.gotoToken(groupShortName);
- }
-
- public void removeGroupOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
- MenuItemCollection<GroupDTO> collection;
- collection = mustBeLogged ? otherLoggedOperations : otherOperations;
- collection.remove(operation);
- }
-
- public void removeUserOperation(final MenuItem<GroupDTO> operation, final boolean mustBeLogged) {
- MenuItemCollection<GroupDTO> collection;
- collection = mustBeLogged ? otherLoggedOperationsUsers : otherOperationsUsers;
- collection.remove(operation);
- }
-
- protected GridItem<GroupDTO> createGridItem(final GridGroup groupCategory, final GroupDTO group,
- final AccessRights rights, final MenuItem<GroupDTO>... gridMenuItems) {
- final GridItem<GroupDTO> gridItem = createDefMemberMenu(group, groupCategory);
- final CustomMenu<GroupDTO> menu = gridItem.getMenu();
- if (rights.isAdministrable()) {
- for (final MenuItem<GroupDTO> item : gridMenuItems) {
- menu.addMenuItem(item);
- }
- }
- return gridItem;
- }
-
- protected String createTooltipWithLogo(final String shortName, final StateToken token, final boolean hasLogo,
- final boolean isPersonal) {
- return "<table><tr><td>"
- + (hasLogo ? downloadProvider.get().getLogoAvatarHtml(token, hasLogo, isPersonal,
- FileConstants.LOGO_DEF_HEIGHT, 3) : "") + "</td><td>"
- + i18n.t(isPersonal ? "Nickname: [%s]" : "Group short name: [%s]", shortName) + "</td></tr></table>";
- }
-
- private void createButtons() {
- final ParticipateAction participateAction = new ParticipateAction(session, snServiceProvider, stateManager,
- rightsManager, i18n, imgResources);
- final ButtonDescriptor participateBtn = new ButtonDescriptor(participateAction);
- participateBtn.setLocation(MEMBERS_BOTTON);
-
- menuOptions = new MenuDescriptor(i18n.t("Options"));
-
- final UnjoinAction unjoinAction = new UnjoinAction(session, snServiceProvider, stateManager, rightsManager,
- i18n, imgResources) {
- @Override
- public String getGroupName() {
- return session.getContainerState().getGroup().getShortName();
- }
- };
-
- final MenuItemDescriptor unjoinBtn = new MenuItemDescriptor(menuOptions, unjoinAction);
- unjoinBtn.setLocation(MEMBERS_BOTTON);
- }
-
- private GridItem<GroupDTO> createDefMemberMenu(final GroupDTO group, final GridGroup gridGroup) {
- final CustomMenu<GroupDTO> menu = new CustomMenu<GroupDTO>(group);
- final String longName = group.getLongName();
- final boolean hasLogo = group.hasLogo();
- final String toolTip = createTooltipWithLogo(group.getShortName(), group.getStateToken(), hasLogo,
- group.isPersonal());
- final String imageHtml = downloadProvider.get().getLogoAvatarHtml(group.getStateToken(), hasLogo,
- group.isPersonal(), session.getImgIconsize(), 0);
- final GridItem<GroupDTO> gridItem = new GridItem<GroupDTO>(group, gridGroup, group.getShortName(), imageHtml,
- longName, longName, " ", longName, toolTip, menu);
- if (!group.isPersonal()) {
- menu.addMenuItemList(otherOperations);
- }
- if (session.isLogged() && !group.isPersonal()) {
- menu.addMenuItemList(otherLoggedOperations);
- }
- if (group.isPersonal()) {
- menu.addMenuItemList(otherOperationsUsers);
- }
- if (session.isLogged() && group.isPersonal()) {
- menu.addMenuItemList(otherLoggedOperationsUsers);
- }
-
- return gridItem;
- }
-
- private void createMenuActions() {
- gotoGroupMenuItem = new MenuItem<GroupDTO>("images/group-home.gif", i18n.t("Visit this group homepage"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO groupDTO) {
- stateManager.gotoToken(groupDTO.getShortName());
- }
- });
- gotoMemberMenuItem = new MenuItem<GroupDTO>("images/group-home.gif", i18n.t("Visit this member homepage"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO groupDTO) {
- stateManager.gotoToken(groupDTO.getShortName());
- }
- });
-
- unJoinMenuItem = new MenuItem<GroupDTO>("images/del.gif", i18n.t("Do not participate anymore in this group"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO groupDTO) {
- removeMemberAction(groupDTO);
- }
- });
- changeToCollabMenuItem = new MenuItem<GroupDTO>("images/arrow-down-green.gif",
- i18n.t("Change to collaborator"), new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().setAdminAsCollab(session.getUserHash(),
- session.getCurrentState().getStateToken(), group.getShortName(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member type changed"));
- stateManager.setSocialNetwork(result);
- }
- });
- }
- });
- removeMemberMenuItem = new MenuItem<GroupDTO>("images/del.gif", i18n.t("Remove this member"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().deleteMember(session.getUserHash(),
- session.getCurrentState().getStateToken(), group.getShortName(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member removed"));
- stateManager.reload();
- // in the
- // future,
- // only if
- // I cannot
- // be
- // affected:
- // snService.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
- // result);
- }
- });
- }
- });
- changeToAdminMenuItem = new MenuItem<GroupDTO>("images/arrow-up-green.gif", i18n.t("Change to admin"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().setCollabAsAdmin(session.getUserHash(),
- session.getCurrentState().getStateToken(), group.getShortName(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member type changed"));
- stateManager.setSocialNetwork(result);
- }
- });
- }
- });
- acceptJoinGroupMenuItem = new MenuItem<GroupDTO>("images/accept.gif", i18n.t("Accept this member"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().acceptJoinGroup(session.getUserHash(),
- session.getCurrentState().getStateToken(), group.getShortName(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member accepted"));
- stateManager.setSocialNetwork(result);
- }
- });
- }
- });
- denyJoinGroupMenuItem = new MenuItem<GroupDTO>("images/cancel.gif", i18n.t("Reject this member"),
- new Listener<GroupDTO>() {
- @Override
- public void onEvent(final GroupDTO group) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().denyJoinGroup(session.getUserHash(),
- session.getCurrentState().getStateToken(), group.getShortName(),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Member rejected"));
- stateManager.setSocialNetwork(result);
- }
- });
- }
- });
- }
-
- private void removeMemberAction(final GroupDTO groupDTO) {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().unJoinGroup(session.getUserHash(), new StateToken(groupDTO.getShortName()),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- @Override
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Removed as member"));
- stateManager.reload();
- // in the future with user
- // info:
- // services.stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
- // result);
- }
- });
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,82 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-public class UIStatus {
-
- private boolean visible;
- private boolean enabled;
-
- public UIStatus(final boolean visible, final boolean enabled) {
- this.visible = visible;
- this.enabled = enabled;
- }
-
- @Override
- public boolean equals(final Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- final UIStatus other = (UIStatus) obj;
- if (enabled != other.enabled) {
- return false;
- }
- if (visible != other.visible) {
- return false;
- }
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + (enabled ? 1231 : 1237);
- result = prime * result + (visible ? 1231 : 1237);
- return result;
- }
-
- public boolean isEnabled() {
- return enabled;
- }
-
- public boolean isVisible() {
- return visible;
- }
-
- public void setEnabled(final boolean enabled) {
- this.enabled = enabled;
- }
-
- public void setVisible(final boolean visible) {
- this.visible = visible;
- }
-
- @Override
- public String toString() {
- return "(v: " + visible + ", e:" + enabled + ")";
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,79 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionEvent;
-import org.ourproject.kune.platf.client.ui.noti.NotifyUser;
-
-import cc.kune.core.client.resources.icons.IconResources;
-import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
-import cc.kune.core.client.rpcservices.SocialNetworkServiceAsync;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.domain.utils.StateToken;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.core.shared.dto.SocialNetworkDataDTO;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-
-import com.calclab.suco.client.events.Listener0;
-import com.calclab.suco.client.ioc.Provider;
-
-public class UnjoinAction extends RolAction {
- private final Provider<SocialNetworkServiceAsync> snServiceProvider;
- private String groupName;
-
- public UnjoinAction(final Session session, final Provider<SocialNetworkServiceAsync> snServiceProvider,
- final StateManager stateManager, final AccessRightsClientManager rightsManager,
- final I18nTranslationService i18n, final IconResources imgResources) {
- super(session, stateManager, rightsManager, i18n, AccessRolDTO.Editor, i18n.t("Leave this group"),
- i18n.t("Do not participate anymore in this group"), imgResources.delGreen());
- this.snServiceProvider = snServiceProvider;
- super.setVisible(true, false);
- super.setMustBeAuthenticated(true);
- }
-
- public void actionPerformed(final ActionEvent event) {
- NotifyUser.askConfirmation(i18n.t("Leave this group"), i18n.t("Are you sure?"), new Listener0() {
- public void onEvent() {
- NotifyUser.showProgressProcessing();
- snServiceProvider.get().unJoinGroup(session.getUserHash(), new StateToken(getGroupName()),
- new AsyncCallbackSimple<SocialNetworkDataDTO>() {
- public void onSuccess(final SocialNetworkDataDTO result) {
- NotifyUser.hideProgress();
- NotifyUser.info(i18n.t("Removed as member"));
- stateManager.reload();
- // in the future with user info:
- // stateManager.reloadSocialNetwork((SocialNetworkResultDTO)
- // result);
- }
- });
- }
- });
- }
-
- public String getGroupName() {
- return groupName;
- }
-
- public void setGroupName(final String groupName) {
- this.groupName = groupName;
- }
-}
Deleted: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,33 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package org.ourproject.kune.workspace.client.socialnet;
-
-import org.ourproject.kune.platf.client.actions.ActionRegistry;
-
-import cc.kune.core.shared.dto.UserSimpleDTO;
-
-/**
- * The Class UserActionRegistry.
- *
- * List of actions over a user (initially used for buddies actions)
- *
- */
-public class UserActionRegistry extends ActionRegistry<UserSimpleDTO> {
-}
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -20,8 +20,8 @@
package org.ourproject.kune.workspace.client.themes;
import org.cobogw.gwt.user.client.CSS;
-import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
+import cc.kune.core.client.services.FileDownloadUtils;
import cc.kune.core.shared.domain.utils.StateToken;
import com.calclab.suco.client.events.Listener;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -26,7 +26,7 @@
import org.ourproject.kune.platf.client.actions.ui.ActionExtensibleView;
import org.ourproject.kune.platf.client.actions.ui.CssStyleDescriptor;
import org.ourproject.kune.platf.client.actions.ui.MenuDescriptor;
-import org.ourproject.kune.platf.client.actions.ui.MenuItemDescriptor;
+import org.ourproject.kune.platf.client.actions.ui.OldMenuItemDescriptor;
import cc.kune.core.client.state.Session;
import cc.kune.core.shared.dto.InitDataDTO;
@@ -95,7 +95,7 @@
private void createTheme(final String theme) {
final ThemeAction action = new ThemeAction(theme);
- final MenuItemDescriptor themeItem = new MenuItemDescriptor(menu, action);
+ final OldMenuItemDescriptor themeItem = new OldMenuItemDescriptor(menu, action);
// selectItemInUI.add(new Listener<String>() {
// public void onEvent(final String themeToSelect) {
// if (theme.equals(themeToSelect)) {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -19,8 +19,9 @@
\*/
package org.ourproject.kune.workspace.client.upload;
-import org.ourproject.kune.platf.client.ui.download.FileConstants;
+import cc.kune.core.client.services.FileConstants;
+
import com.gwtext.client.core.UrlParam;
public class AbstractUploader {
Modified: trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/basic.css
===================================================================
--- trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/basic.css 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/basic.css 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,7 +1,38 @@
+html {
+ background-color: #DD8A3D;
+}
-html {background-color: #DD8A3D;}
+body {
+ color: black;
+ font-family: 'Ubuntu', Arial;
+ font-size: 18px,
+}
-.page {width: 60em; height: 30em; margin: 2em auto; padding: 1em; background-color: #fff; overflow: hidden;}
-.page h1 {color: black; letter-spacing:-0.05em; line-height:1em; margin:1em 0 0.5em 4em; }
-.page .menu {float: left; padding: 1em; width: 9em; background-color: #efefef; margin-right: 1em;}
-.page .content {}
\ No newline at end of file
+.page {
+ width: 800px;
+ margin: 2em auto;
+ padding: 1em;
+ background-color: #fff;
+ overflow: hidden;
+}
+
+.page h1 {
+ color: black;
+ letter-spacing: -0.05em;
+ line-height: 1em;
+ margin: 1em 0 0.5em 4em;
+ padding: 20px 20px 20px 50px;
+ font-size: 26px;
+}
+
+.page .menu {
+ float: left;
+ padding: 1em;
+ width: 9em;
+ background-color: #efefef;
+ margin-right: 1em;
+}
+
+.page .content {
+ display: table-cell
+}
\ No newline at end of file
Modified: trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/docs.liquid.html
===================================================================
--- trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/docs.liquid.html 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/main/webapp/WEB-INF/publicspace/public/templates/basic/docs.liquid.html 2011-02-10 03:07:28 UTC (rev 1243)
@@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-"http://www.w3.org/TR/html4/strict.dtd">
+ "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@@ -11,13 +11,27 @@
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="{{ 'basic.css' | asset }}">
<!--[if lt IE 7.]>
- <script defer type="text/javascript" src="js/pngfix.js"></script>
- <![endif]-->
+ <script defer type="text/javascript" src="js/pngfix.js"></script>
+ <![endif]-->
+ <script src="//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
+ <script>
+ WebFont.load({
+ google : {
+ families : [ 'Ubuntu' ]
+ }
+ });
+ </script>
+ <link
+ href='http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold,bolditalic'
+ rel='stylesheet' type='text/css'>
+ <link type="text/css" rel="stylesheet"
+ href="/ws/fontface/ubuntufontface.css">
+ <link type="text/css" rel="stylesheet" href="/ws/ws.css">
</head>
<body>
<div class="page">
<h1>{{ content.title }}</h1>
- <div class="menu">Here the container</div>
+ <div class="menu"> </div>
<div class="content">{{ content.body }}</div>
</div>
</body>
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -30,10 +30,10 @@
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mockito;
-import org.ourproject.kune.platf.client.ui.download.ImageSize;
import org.ourproject.kune.platf.integration.IntegrationTestHelper;
import org.ourproject.kune.platf.server.properties.KuneProperties;
+import cc.kune.core.client.services.ImageSize;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.domain.BasicMimeType;
import cc.kune.domain.Content;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,6 +23,8 @@
import org.junit.Before;
import org.junit.Test;
+import org.ourproject.kune.workspace.client.oldsn.RolAction;
+import org.ourproject.kune.workspace.client.oldsn.UIStatus;
import cc.kune.core.shared.domain.utils.AccessRights;
import cc.kune.core.shared.dto.AccessRolDTO;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-08 16:36:26 UTC (rev 1242)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-10 03:07:28 UTC (rev 1243)
@@ -23,6 +23,7 @@
import static org.junit.Assert.assertTrue;
import org.junit.Test;
+import org.ourproject.kune.workspace.client.oldsn.RolComparator;
import cc.kune.core.shared.domain.utils.AccessRights;
import cc.kune.core.shared.dto.AccessRolDTO;
1
0
r1242 - in trunk/src/main/java: cc/kune/core/client/auth cc/kune/core/client/errors cc/kune/core/client/groups/newgroup cc/kune/core/client/resources cc/kune/core/client/ui cc/kune/core/client/ui/dialogs cc/kune/core/public cc/kune/wave/server org/ourproject/kune/workspace/client
by Vicente J. Ruiz Jurado 08 Feb '11
by Vicente J. Ruiz Jurado 08 Feb '11
08 Feb '11
Author: vjrj_
Date: 2011-02-08 17:36:26 +0100 (Tue, 08 Feb 2011)
New Revision: 1242
Removed:
trunk/src/main/java/org/ourproject/kune/workspace/client/newgroup/
Modified:
trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java
trunk/src/main/java/cc/kune/core/client/errors/AccessViolationException.java
trunk/src/main/java/cc/kune/core/client/errors/AlreadyGroupMemberException.java
trunk/src/main/java/cc/kune/core/client/errors/AlreadyUserMemberException.java
trunk/src/main/java/cc/kune/core/client/errors/ContainerNotPermittedException.java
trunk/src/main/java/cc/kune/core/client/errors/ContentNotFoundException.java
trunk/src/main/java/cc/kune/core/client/errors/ContentNotPermittedException.java
trunk/src/main/java/cc/kune/core/client/errors/DefaultException.java
trunk/src/main/java/cc/kune/core/client/errors/EmailAddressInUseException.java
trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java
trunk/src/main/java/cc/kune/core/client/errors/GroupNameInUseException.java
trunk/src/main/java/cc/kune/core/client/errors/GroupNotFoundException.java
trunk/src/main/java/cc/kune/core/client/errors/I18nNotFoundException.java
trunk/src/main/java/cc/kune/core/client/errors/LastAdminInGroupException.java
trunk/src/main/java/cc/kune/core/client/errors/NameInUseException.java
trunk/src/main/java/cc/kune/core/client/errors/NameNotPermittedException.java
trunk/src/main/java/cc/kune/core/client/errors/NoDefaultContentException.java
trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredException.java
trunk/src/main/java/cc/kune/core/client/errors/ToolNotFoundException.java
trunk/src/main/java/cc/kune/core/client/errors/UnknownPropertyException.java
trunk/src/main/java/cc/kune/core/client/errors/UserAuthException.java
trunk/src/main/java/cc/kune/core/client/errors/UserMustBeLoggedException.java
trunk/src/main/java/cc/kune/core/client/errors/UserNotFoundException.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java
trunk/src/main/java/cc/kune/core/public/ws.css
trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
Log:
New Group refactorized
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -24,9 +24,9 @@
import cc.kune.core.client.resources.CoreMessages;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.ui.KuneUiUtils;
+import cc.kune.core.client.ui.dialogs.MessageToolbar;
import cc.kune.core.shared.i18n.I18nTranslationService;
-import com.extjs.gxt.ui.client.widget.VerticalPanel;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.inject.Inject;
@@ -50,13 +50,12 @@
super(REGISTER_DIALOG, mask, i18n, i18n.t(CoreMessages.REGISTER_TITLE), true, true, true, 400, 420, "",
i18n.t(CoreMessages.REGISTER_TITLE), REGISTER_BUTTON_ID, i18n.tWithNT("Cancel", "used in button"),
CANCEL_BUTTON_ID, images, ERRMSG, 5);
- final VerticalPanel panel = new VerticalPanel();
- // panel.setBorder(false);
registerForm = new RegisterForm(i18n, session);
registerForm.setWidth(370);
- panel.add(registerForm.getFormPanel());
- super.getInnerPanel().add(panel);
- panel.setId(REGISTER_FORM);
+ registerForm.getFormPanel().setId(REGISTER_FORM);
+ messageErrorBar = new MessageToolbar(images, errorLabelId);
+ registerForm.add(messageErrorBar);
+ super.getInnerPanel().add(registerForm.getFormPanel());
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -25,6 +25,7 @@
import cc.kune.core.client.cookies.CookiesManager;
import cc.kune.core.client.errors.EmailAddressInUseException;
import cc.kune.core.client.errors.GroupNameInUseException;
+import cc.kune.core.client.errors.UserRegistrationException;
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.logs.Log;
import cc.kune.core.client.notify.msgs.UserNotifyEvent;
@@ -146,6 +147,9 @@
getView().setErrorMessage(i18n.t(CoreMessages.EMAIL_IN_USE), NotifyLevel.error);
} else if (caught instanceof GroupNameInUseException) {
getView().setErrorMessage(i18n.t(CoreMessages.NAME_IN_USE), NotifyLevel.error);
+ } else if (caught instanceof UserRegistrationException) {
+ getView().setErrorMessage(i18n.t("Error during registration. " + caught.getMessage()),
+ NotifyLevel.error);
} else {
getView().setErrorMessage(i18n.t("Error during registration."), NotifyLevel.error);
throw new UIException("Other kind of exception in user registration", caught);
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -36,11 +36,11 @@
public abstract class SignInAbstractPanel extends ViewImpl {
private final BasicTopDialog dialog;
- private final String errorLabelId;
+ protected final String errorLabelId;
protected final I18nTranslationService i18n;
- private final NotifyLevelImages images;
+ protected final NotifyLevelImages images;
private final MaskWidgetView mask;
- private MessageToolbar messageErrorBar;
+ protected MessageToolbar messageErrorBar;
public SignInAbstractPanel(final String dialogId, final MaskWidgetView mask, final I18nTranslationService i18n,
final String title, final boolean autohide, final boolean modal, final boolean autoscroll, final int width,
@@ -60,14 +60,6 @@
return dialog;
}
- private void createMessageErrorIfNeeded() {
- if (messageErrorBar == null) {
- messageErrorBar = new MessageToolbar(images, errorLabelId);
- messageErrorBar.setHeight("50px");
- dialog.getBottomPanel().add(messageErrorBar);
- }
- }
-
public HasCloseHandlers<PopupPanel> getClose() {
return dialog.getClose();
}
@@ -91,7 +83,6 @@
}
public void hideMessages() {
- createMessageErrorIfNeeded();
messageErrorBar.hideErrorMessage();
}
@@ -104,7 +95,6 @@
}
public void setErrorMessage(final String message, final NotifyLevel level) {
- createMessageErrorIfNeeded();
messageErrorBar.setErrorMessage(message, level);
}
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -23,6 +23,7 @@
import cc.kune.common.client.ui.MaskWidgetView;
import cc.kune.core.client.resources.CoreMessages;
import cc.kune.core.client.ui.KuneUiUtils;
+import cc.kune.core.client.ui.dialogs.MessageToolbar;
import cc.kune.core.shared.i18n.I18nTranslationService;
import com.extjs.gxt.ui.client.widget.VerticalPanel;
@@ -48,12 +49,12 @@
i18n.t(CoreMessages.SIGN_IN_TITLE), SIGN_IN_BUTTON_ID, i18n.tWithNT("Cancel", "used in button"),
CANCEL_BUTTON_ID, images, ERROR_MSG, 102);
- final VerticalPanel panel = new VerticalPanel();
signInForm = new SignInForm(i18n);
signInForm.setWidth(370);
- panel.add(signInForm.getFormPanel());
- panel.add(createNoAccountRegister());
- super.getInnerPanel().add(panel);
+ signInForm.add(createNoAccountRegister());
+ messageErrorBar = new MessageToolbar(images, errorLabelId);
+ signInForm.add(messageErrorBar);
+ super.getInnerPanel().add(signInForm.getFormPanel());
}
private VerticalPanel createNoAccountRegister() {
Modified: trunk/src/main/java/cc/kune/core/client/errors/AccessViolationException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/AccessViolationException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/AccessViolationException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/AlreadyGroupMemberException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/AlreadyGroupMemberException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/AlreadyGroupMemberException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/AlreadyUserMemberException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/AlreadyUserMemberException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/AlreadyUserMemberException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/ContainerNotPermittedException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ContainerNotPermittedException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/ContainerNotPermittedException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/ContentNotFoundException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ContentNotFoundException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/ContentNotFoundException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/ContentNotPermittedException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ContentNotPermittedException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/ContentNotPermittedException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/DefaultException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/DefaultException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/DefaultException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -32,9 +32,10 @@
public DefaultException(final int statusCode, final String message) {
super(statusCode + " " + message);
+
}
public DefaultException(final String message) {
- this(0, message);
+ super(message);
}
}
Modified: trunk/src/main/java/cc/kune/core/client/errors/EmailAddressInUseException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/EmailAddressInUseException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/EmailAddressInUseException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/ErrorHandler.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/GroupNameInUseException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/GroupNameInUseException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/GroupNameInUseException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/GroupNotFoundException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/GroupNotFoundException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/GroupNotFoundException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/I18nNotFoundException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/I18nNotFoundException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/I18nNotFoundException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/LastAdminInGroupException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/LastAdminInGroupException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/LastAdminInGroupException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/NameInUseException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/NameInUseException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/NameInUseException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/NameNotPermittedException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/NameNotPermittedException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/NameNotPermittedException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/NoDefaultContentException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/NoDefaultContentException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/NoDefaultContentException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/ToolNotFoundException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/ToolNotFoundException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/ToolNotFoundException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/UnknownPropertyException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/UnknownPropertyException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/UnknownPropertyException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/UserAuthException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/UserAuthException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/UserAuthException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/UserMustBeLoggedException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/UserMustBeLoggedException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/UserMustBeLoggedException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/errors/UserNotFoundException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/UserNotFoundException.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/errors/UserNotFoundException.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -36,7 +36,9 @@
import com.extjs.gxt.ui.client.widget.form.TextArea;
import com.extjs.gxt.ui.client.widget.form.TextField;
import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.event.logical.shared.HasCloseHandlers;
import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.ViewImpl;
@@ -78,14 +80,14 @@
@Inject
public NewGroupPanel(final I18nTranslationService i18n, final NotifyLevelImages img, final MaskWidgetView mask) {
dialog = new BasicTopDialog(NEWGROUP_WIZARD, CoreMessages.REGISTER_A_NEW_GROUP_TITLE, true, true, true, 450,
- 420, "k-newgroup-icon", i18n.t("Register"), REGISTER_BUTTON, i18n.t("Cancel"), CANCEL_BUTTON, 9);
+ 360, "k-newgroup-icon", i18n.t("Register"), REGISTER_BUTTON, i18n.t("Cancel"), CANCEL_BUTTON, 9);
this.i18n = i18n;
this.mask = mask;
// Field.setMsgTarget("side");
form = createNewGroupInitialDataForm();
messageErrorBar = new MessageToolbar(img, ERROR_MSG_BAR);
- dialog.getBottomPanel().add(messageErrorBar);
+ form.add(messageErrorBar);
dialog.getInnerPanel().add(form);
}
@@ -98,6 +100,7 @@
public void clearData() {
form.reset();
shortNameField.focus();
+ messageErrorBar.hideErrorMessage();
}
private FormPanel createNewGroupInitialDataForm() {
@@ -202,9 +205,12 @@
shortNameField.focus();
}
+ public HasCloseHandlers<PopupPanel> getClose() {
+ return dialog.getClose();
+ }
+
@Override
public HasClickHandlers getFirstBtn() {
-
return dialog.getFirstBtn();
}
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -24,6 +24,7 @@
import cc.kune.common.client.noti.NotifyUser;
import cc.kune.core.client.auth.SignIn;
import cc.kune.core.client.errors.GroupNameInUseException;
+import cc.kune.core.client.logs.Log;
import cc.kune.core.client.resources.CoreMessages;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.rpcservices.GroupServiceAsync;
@@ -39,8 +40,11 @@
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.logical.shared.CloseEvent;
+import com.google.gwt.event.logical.shared.CloseHandler;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.rpc.AsyncCallback;
+import com.google.gwt.user.client.ui.PopupPanel;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.gwtplatform.mvp.client.Presenter;
@@ -122,12 +126,19 @@
}
});
getView().getSecondBtn().addClickHandler(new ClickHandler() {
-
@Override
public void onClick(final ClickEvent event) {
onCancel();
}
});
+ getView().getClose().addCloseHandler(new CloseHandler<PopupPanel>() {
+
+ @Override
+ public void onClose(final CloseEvent<PopupPanel> event) {
+ Log.debug("Closing register presenter");
+ NewGroupPresenter.this.onCancel();
+ }
+ });
}
public void onCancel() {
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -22,6 +22,8 @@
import cc.kune.common.client.noti.NotifyLevel;
import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.event.logical.shared.HasCloseHandlers;
+import com.google.gwt.user.client.ui.PopupPanel;
import com.gwtplatform.mvp.client.View;
public interface NewGroupView extends View {
@@ -30,6 +32,8 @@
void focusOnShorName();
+ HasCloseHandlers<PopupPanel> getClose();
+
HasClickHandlers getFirstBtn();
String getLongName();
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -24,7 +24,7 @@
public final static String EMAIL_IN_USE = "This email address is being used by another user. Please, try with another one";
public final static String ENT_LOGO_SELECTOR_NORMAL_TITLE = "Logo";
public final static String ENT_LOGO_SELECTOR_PERSON_TITLE = "Avatar";
- public final static String FIELD_MUST_BE_BETWEEN_3_AND_15 = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers";
+ public final static String FIELD_MUST_BE_BETWEEN_3_AND_15 = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters and numbers";
public final static String GROUP_OPTIONS_DIALOG_TITLE = "Group options";
public final static String INCORRECT_NICKNAME_EMAIL_OR_PASSWORD = "The nickname/email/password is incorrect";
public final static String MEMBERS_NOT_PUBLIC = "The members of this group are not public";
Modified: trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -32,6 +32,7 @@
import com.extjs.gxt.ui.client.widget.form.FieldSet;
import com.extjs.gxt.ui.client.widget.form.FormPanel;
import com.extjs.gxt.ui.client.widget.form.FormPanel.LabelAlign;
+import com.google.gwt.user.client.ui.Widget;
public class DefaultForm {
@@ -79,6 +80,10 @@
form.add(label);
}
+ public void add(final Widget widget) {
+ form.add(widget);
+ }
+
public void addButton(final Button button) {
form.addButton(button);
}
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -26,18 +26,18 @@
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Image;
-import com.google.gwt.user.client.ui.InlineLabel;
+import com.google.gwt.user.client.ui.Label;
public class MessageToolbar extends Composite {
private final Image errorIcon;
- private final InlineLabel errorLabel;
+ private final Label errorLabel;
private final NotifyLevelImages images;
private final FlowPanel toolbar;
public MessageToolbar(final NotifyLevelImages images, final String errorLabelId) {
this.images = images;
toolbar = new FlowPanel();
- errorLabel = new InlineLabel("");
+ errorLabel = new Label("");
errorLabel.setWordWrap(true);
errorLabel.ensureDebugId(errorLabelId);
errorIcon = new Image();
Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-08 16:36:26 UTC (rev 1242)
@@ -694,17 +694,17 @@
.k-error-tb {
background: #FFB380 none repeat scroll 0% 50%;
/* color: #250; */
- margin: 0 20px 0 10px;
+ padding: 10px;
}
.k-error-tb img {
- margin: 15px 5px 5px 15px;
+ margin: 0 10px;
+ float: left;
}
-.k-error-tb span {
- position: relative;
- top: -7px;
- left: 9px;
+.k-error-tb div {
+ font-size: 14px;
+ display: table-cell;
}
.k-mask {
Modified: trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java 2011-02-08 14:17:50 UTC (rev 1241)
+++ trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java 2011-02-08 16:36:26 UTC (rev 1242)
@@ -129,7 +129,7 @@
try {
if (accountStore.getAccount(id) != null) {
- return "Account already exists";
+ return "An account with this name already exists";
}
} catch (final PersistenceException e) {
LOG.severe("Failed to retreive account data for " + id, e);
1
0
08 Feb '11
Author: vjrj_
Date: 2011-02-08 15:17:50 +0100 (Tue, 08 Feb 2011)
New Revision: 1241
Added:
trunk/src/main/java/cc/kune/wave/client/WaveClientTester.java
trunk/src/main/java/cc/kune/wave/server/CustomWaveClientServlet.java
Modified:
trunk/TODO
trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java
trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java
trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java
trunk/src/main/java/cc/kune/core/public/ws.css
trunk/src/main/java/cc/kune/core/public/ws.html
trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
trunk/src/main/java/org/ourproject/kune/app/server/AbstractExtendedModule.java
trunk/src/main/java/org/ourproject/kune/app/server/KuneApplicationListener.java
trunk/src/main/java/org/ourproject/kune/app/server/KuneContainerListener.java
trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java
trunk/src/main/java/org/ourproject/kune/app/server/NotInObject.java
trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
trunk/src/main/webapp/WEB-INF/web.xml
Log:
WIAB integration updated
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/TODO 2011-02-08 14:17:50 UTC (rev 1241)
@@ -11,6 +11,8 @@
Use org-mode in emacs to easy manage this file
* SHORT-TERM (URGENT)
+** TODO WIAB under proxies
+https://groups.google.com/group/wave-protocol/browse_thread/thread/202dee4bfdbdeee6
** TODO StateManager #signin while already signed in NPE
** TODO Testing Presenters via juckito:
https://code.google.com/p/gwt-platform/wiki/UnitTesting
@@ -255,6 +257,9 @@
** vjrj <v> IconHyperlink.java and IconLabel.java to gwt1.5
* MID-TERM
+** TODO start/stop init scripts
+https://groups.google.com/group/wave-protocol/browse_thread/thread/d9cdcea0d5393eda
+./platforms/ubuntu/server-wrapper.sh
** TODO registration/general mask
** TODO sigin forms to uibinder (intro sing-in)
** TODO Use google-guice guicepersist (in 3.0) instead of warp-persist
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -36,6 +36,7 @@
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.UserDTO;
import cc.kune.core.shared.dto.UserInfoDTO;
+import cc.kune.wave.client.WaveClientTester;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
@@ -59,18 +60,20 @@
private final Provider<Register> registerProvider;
private final TimerWrapper timer;
private final UserServiceAsync userService;
+ private final WaveClientTester waveClientTester;
@Inject
public SignInPresenter(final EventBus eventBus, final SignInView view, final SignInProxy proxy,
final Session session, final StateManager stateManager, final I18nUITranslationService i18n,
final UserServiceAsync userService, final Provider<Register> registerProvider,
final CookiesManager cookiesManager, final UserPassAutocompleteManager autocomplete,
- final TimerWrapper timeWrapper) {
+ final TimerWrapper timeWrapper, final WaveClientTester waveClientTester) {
super(eventBus, view, proxy, session, stateManager, i18n, cookiesManager, autocomplete);
this.eventBus = eventBus;
this.userService = userService;
this.registerProvider = registerProvider;
this.timer = timeWrapper;
+ this.waveClientTester = waveClientTester;
}
@Override
@@ -175,8 +178,10 @@
public void onSuccess(final UserInfoDTO userInfoDTO) {
onSignIn(userInfoDTO);
stateManager.restorePreviousToken();
+ // waveClientTester.doLogin(nickOrEmail, passwd);
getView().hide();
getView().unMask();
+
}
};
userService.login(user.getShortName(), user.getPassword(), callback);
Modified: trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -41,7 +41,7 @@
@Override
public String getNickOrEmail() {
- return getElementValue("username");
+ return getElementValue("address");
}
@Override
@@ -51,7 +51,7 @@
@Override
public void setNickOrEmail(final String username) {
- DOM.getElementById("username").setAttribute(VALUE, username);
+ DOM.getElementById("address").setAttribute(VALUE, username);
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -77,8 +77,8 @@
@Inject
public NewGroupPanel(final I18nTranslationService i18n, final NotifyLevelImages img, final MaskWidgetView mask) {
- dialog = new BasicTopDialog(NEWGROUP_WIZARD, CoreMessages.REGISTER_A_NEW_GROUP_TITLE, true, true, false, 450,
- 430, "k-newgroup-icon", i18n.t("Register"), REGISTER_BUTTON, i18n.t("Cancel"), CANCEL_BUTTON, 9);
+ dialog = new BasicTopDialog(NEWGROUP_WIZARD, CoreMessages.REGISTER_A_NEW_GROUP_TITLE, true, true, true, 450,
+ 420, "k-newgroup-icon", i18n.t("Register"), REGISTER_BUTTON, i18n.t("Cancel"), CANCEL_BUTTON, 9);
this.i18n = i18n;
this.mask = mask;
// Field.setMsgTarget("side");
@@ -91,7 +91,6 @@
@Override
public Widget asWidget() {
- // TODO Auto-generated method stub
return null;
}
@@ -106,14 +105,15 @@
form.setFrame(true);
form.setPadding(10);
form.setBorders(false);
- form.setWidth(420);
+ form.setWidth(360);
form.setLabelWidth(LABEL_WIDTH);
form.setLabelAlign(LabelAlign.RIGHT);
form.setButtonAlign(HorizontalAlignment.RIGHT);
+ form.setHeaderVisible(false);
final Label intro = new Label();
- intro.setText(i18n.t("Please fill this form to register a new group:")); // +
- // DefaultFormUtils.brbr());
+ intro.setText(i18n.t("Please fill this form to register a new group:"));
+ intro.setStyleName("k-form-intro");
form.add(intro);
shortNameField = new TextField<String>();
@@ -167,11 +167,9 @@
final FieldSet groupTypeFieldSet = new FieldSet();
groupTypeFieldSet.setHeading(i18n.t("Group type"));
- groupTypeFieldSet.setCollapsible(false);
- groupTypeFieldSet.setStyleName(MARGIN_LEFT_105PX);
- groupTypeFieldSet.setWidth(BIG_FIELD_WIDTH);
- // groupTypeFieldSet.setFrame(false);
- groupTypeFieldSet.setCollapsible(false);
+ groupTypeFieldSet.addStyleName("k-form-fieldset");
+ groupTypeFieldSet.setCollapsible(true);
+ groupTypeFieldSet.setWidth("210px");
groupTypeFieldSet.setAutoHeight(true);
form.add(groupTypeFieldSet);
@@ -200,6 +198,11 @@
}
@Override
+ public void focusOnShorName() {
+ shortNameField.focus();
+ }
+
+ @Override
public HasClickHandlers getFirstBtn() {
return dialog.getFirstBtn();
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -91,6 +91,7 @@
if (session.isLogged()) {
NotifyUser.showProgressProcessing();
getView().show();
+ getView().focusOnShorName();
NotifyUser.hideProgress();
} else {
// stateManager.restorePreviousToken();
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -28,6 +28,8 @@
void clearData();
+ void focusOnShorName();
+
HasClickHandlers getFirstBtn();
String getLongName();
Modified: trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/ui/DefaultForm.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,7 @@
private final FormPanel form;
public DefaultForm() {
- this(HorizontalAlignment.RIGHT);
+ this(HorizontalAlignment.LEFT);
}
public DefaultForm(final HorizontalAlignment buttonAlign) {
@@ -53,13 +53,13 @@
form.setPadding(10);
form.setBorders(false);
form.setLabelWidth(DEF_FIELD_LABEL_WITH);
- form.setLabelAlign(LabelAlign.RIGHT);
+ form.setLabelAlign(LabelAlign.LEFT);
form.setButtonAlign(buttonAlign);
form.setHeaderVisible(false);
}
public DefaultForm(final String title) {
- this(title, HorizontalAlignment.RIGHT);
+ this(title, HorizontalAlignment.LEFT);
}
public DefaultForm(final String title, final HorizontalAlignment buttonAlign) {
Modified: trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -35,6 +35,7 @@
if (radioTip != null) {
radio.setTitle(radioTip);
+ radio.setBoxLabel(radioLabel);
// radio.setBoxLabel(KuneUiUtils.genQuickTipLabel(radioLabel, null,
// radioTip));
// ToolTip tooltip = new ToolTip();
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessageToolbar.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/public/ws.css 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,726 +1,741 @@
@CHARSET "UTF-8";
body {
- background-color: white;
- color: black;
- font-family: 'Ubuntu', Arial;
- font-size: small;
- margin: 5px;
- overflow: hidden;
+ background-color: white;
+ color: black;
+ font-family: 'Ubuntu', Arial;
+ font-size: small;
+ margin: 5px;
+ overflow: hidden;
}
* {
- font-family: 'Ubuntu', Arial;
+ font-family: 'Ubuntu', Arial;
}
body.fontface {
- font: 'Ubuntu', Arial;
+ font: 'Ubuntu', Arial;
}
a {
- color: darkblue;
+ color: darkblue;
}
a:visited {
- color: darkblue;
+ color: darkblue;
}
.gwt-DialogBox {
- border: 2px solid #AAAAAA;
- background-color: white;
+ border: 2px solid #AAAAAA;
+ background-color: white;
}
.gwt-DialogBox .Caption {
- background-image: url(gray_gradient.gif);
- background-repeat: repeat-x;
- padding: 4px;
- padding-bottom: 8px;
- font-weight: bold;
- cursor: default;
+ background-image: url(gray_gradient.gif);
+ background-repeat: repeat-x;
+ padding: 4px;
+ padding-bottom: 8px;
+ font-weight: bold;
+ cursor: default;
}
.gwt-MenuBar {
- background-color: #C3D9FF;
- cursor: default;
+ background-color: #C3D9FF;
+ cursor: default;
}
.gwt-MenuItem {
- font-size: 80%;
- margin: 1px;
- cursor: default;
+ font-size: 80%;
+ margin: 1px;
+ cursor: default;
}
.gwt-MenuItem-selected {
- background-color: #E8EEF7;
+ background-color: #E8EEF7;
}
.gwt-Tree {
-
+
}
.gwt-Tree .gwt-TreeItem {
- font-size: 80%;
- cursor: default;
+ font-size: 80%;
+ cursor: default;
}
.gwt-Tree .gwt-TreeItem-selected {
- background-color: #C3D9FF;
+ background-color: #C3D9FF;
}
.gwt-StackPanel {
- background-color: white;
- border: 1px solid #AAAAAA;
- width: 15em;
+ background-color: white;
+ border: 1px solid #AAAAAA;
+ width: 15em;
}
.gwt-StackPanel .gwt-StackPanelItem {
- background-image: url(blue_gradient.gif);
- background-repeat: repeat-x;
- background-color: #EEEEEE;
- cursor: pointer;
- cursor: hand;
+ background-image: url(blue_gradient.gif);
+ background-repeat: repeat-x;
+ background-color: #EEEEEE;
+ cursor: pointer;
+ cursor: hand;
}
.gwt-StackPanel .gwt-StackPanelItem-selected {
-
+
}
.gwt-TabPanel {
-
+
}
.gwt-TabPanelBottom {
- border-left: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- border-bottom: 1px solid #87b3ff;
+ border-left: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ border-bottom: 1px solid #87b3ff;
}
.gwt-TabBar {
- font-size: smaller;
+ font-size: smaller;
}
.gwt-TabBar .gwt-TabBarFirst {
- height: 100%;
- border-bottom: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- padding-left: 3px;
+ height: 100%;
+ border-bottom: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ padding-left: 3px;
}
.gwt-TabBar .gwt-TabBarRest {
- border-bottom: 1px solid #87b3ff;
- padding-right: 3px;
+ border-bottom: 1px solid #87b3ff;
+ padding-right: 3px;
}
.gwt-TabBar .gwt-TabBarItem {
- border-top: 1px solid #87b3ff;
- border-bottom: 1px solid #87b3ff;
- padding: 2px;
- cursor: hand;
- white-space: nowrap;
- border-right: 1px solid #87b3ff;
+ border-top: 1px solid #87b3ff;
+ border-bottom: 1px solid #87b3ff;
+ padding: 2px;
+ cursor: hand;
+ white-space: nowrap;
+ border-right: 1px solid #87b3ff;
}
.gwt-TabBar .gwt-TabBarItem-selected {
- font-weight: bold;
- background-color: #e8eef7;
- border-top: 1px solid #87b3ff;
- border-right: 1px solid #87b3ff;
- border-bottom: 1px solid #e8eef7;
- padding: 2px;
- cursor: default;
- white-space: nowrap;
+ font-weight: bold;
+ background-color: #e8eef7;
+ border-top: 1px solid #87b3ff;
+ border-right: 1px solid #87b3ff;
+ border-bottom: 1px solid #e8eef7;
+ padding: 2px;
+ cursor: default;
+ white-space: nowrap;
}
.gwt-PushButton-up {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-up-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-down {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-PushButton-down-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-up {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-up-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- border: 2px solid transparent;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ border: 2px solid transparent;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-down {
- background-color: #C3D9FF;
- padding: 2px;
- background-color: #E8F1FF;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ background-color: #E8F1FF;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-ToggleButton-down-hovering {
- background-color: #C3D9FF;
- padding: 2px;
- background-color: #E8F1FF;
- border: 2px solid transparent;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
- cursor: pointer;
- cursor: hand;
+ background-color: #C3D9FF;
+ padding: 2px;
+ background-color: #E8F1FF;
+ border: 2px solid transparent;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
+ cursor: pointer;
+ cursor: hand;
}
.gwt-RichTextArea {
- border: 1px solid black;
- background-color: white;
+ border: 1px solid black;
+ background-color: white;
}
.gwt-RichTextToolbar {
- background-color: #C3D9FF;
- padding: 2px;
+ background-color: #C3D9FF;
+ padding: 2px;
}
.gwt-RichTextToolbar .gwt-PushButton-up {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
}
.gwt-RichTextToolbar .gwt-PushButton-up-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
}
.gwt-RichTextToolbar .gwt-PushButton-down {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-PushButton-down-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-ToggleButton-up {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
}
.gwt-RichTextToolbar .gwt-ToggleButton-up-hovering {
- margin-right: 2px;
- border: 1px solid #C3D9FF;
- border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
- rgb(232, 241, 255);
+ margin-right: 2px;
+ border: 1px solid #C3D9FF;
+ border-color: #E8F1FF rgb(157, 174, 205) rgb(157, 174, 205)
+ rgb(232, 241, 255);
}
.gwt-RichTextToolbar .gwt-ToggleButton-down {
- margin-right: 2px;
- background-color: #E8F1FF;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ background-color: #E8F1FF;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-RichTextToolbar .gwt-ToggleButton-down-hovering {
- margin-right: 2px;
- background-color: #E8F1FF;
- border: 1px solid #C3D9FF;
- border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
- rgb(157, 174, 205);
+ margin-right: 2px;
+ background-color: #E8F1FF;
+ border: 1px solid #C3D9FF;
+ border-color: #9DAECD rgb(232, 241, 255) rgb(232, 241, 255)
+ rgb(157, 174, 205);
}
.gwt-HorizontalSplitPanel {
- border: 8px solid #C3D9FF;
+ border: 8px solid #C3D9FF;
}
.gwt-HorizontalSplitPanel .splitter {
- background-color: #C3D9FF;
- cursor: move;
+ background-color: #C3D9FF;
+ cursor: move;
}
.gwt-HorizontalSplitPanel .left {
- background-color: #E8EEF7;
+ background-color: #E8EEF7;
}
.gwt-VerticalSplitPanel {
- border: 8px solid #C3D9FF;
+ border: 8px solid #C3D9FF;
}
.gwt-VerticalSplitPanel .splitter {
- background-color: #C3D9FF;
- height: 8px;
- cursor: move;
+ background-color: #C3D9FF;
+ height: 8px;
+ cursor: move;
}
.gwt-SuggestBoxPopup {
- border: 2px solid #C3D9FF;
+ border: 2px solid #C3D9FF;
}
.gwt-SuggestBoxPopup .item {
- padding: 2px;
+ padding: 2px;
}
.gwt-SuggestBoxPopup .item-selected {
- background-color: #C3D9FF;
- padding: 2px;
+ background-color: #C3D9FF;
+ padding: 2px;
}
.gwt-DisclosurePanel {
- border: 2px solid #C3D9FF;
+ border: 2px solid #C3D9FF;
}
.gwt-DisclosurePanel .header {
- background-color: #e8eef7;
- cursor: hand;
+ background-color: #e8eef7;
+ cursor: hand;
}
.gwt-SplitLayoutPanel {
-
+
}
.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-HDragger {
- background-color: white;
- background: none;
- cursor: col-resize;
+ background-color: white;
+ background: none;
+ cursor: col-resize;
}
.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-VDragger {
- background-color: white;
- background: none;
- cursor: row-resize;
+ background-color: white;
+ background: none;
+ cursor: row-resize;
}
.kLoadingPanel {
- background-color: #FF9999;
- -webkit-border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px;
- border-bottom-right-radius: 4px;
- padding: 0 1px 0 3px;
- border-collapse: separate;
- border-spacing: 2px;
+ background-color: #FF9999;
+ -webkit-border-bottom-right-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ border-bottom-right-radius: 4px;
+ padding: 0 1px 0 3px;
+ border-collapse: separate;
+ border-spacing: 2px;
}
.kLoadingLabel {
- font-size: 14px;
- color: white;
- font-weight: bold;
- padding: 0 5px 0 5px;
+ font-size: 14px;
+ color: white;
+ font-weight: bold;
+ padding: 0 5px 0 5px;
}
.k-space-sel {
- margin-right: 10px;
- background-color: #F2F2F2;
+ margin-right: 10px;
+ background-color: #F2F2F2;
}
.k-space-sel-btn {
- padding: 0 1px 0 1px;
- margin: 0 0 -2px;
+ padding: 0 1px 0 1px;
+ margin: 0 0 -2px;
}
.k-sitebar-logo {
- margin-top: 2px;
+ margin-top: 2px;
}
.x-btn button {
- font: 18px/27px 'Ubuntu', arial;
+ font: 18px/27px 'Ubuntu', arial;
}
-.k-btn-sitebar, .k-btn-sitebar button {
- font: 13px 'Ubuntu', arial;
- color: #B3B3B3;
- cursor: pointer;
- text-decoration: underline;
- white-space: nowrap;
+.k-btn-sitebar,.k-btn-sitebar button {
+ font: 13px 'Ubuntu', arial;
+ color: #B3B3B3;
+ cursor: pointer;
+ text-decoration: underline;
+ white-space: nowrap;
}
.k-btn-sitebar button {
- margin-top: -5px;
+ margin-top: -5px;
}
.k-sitebar { /* margin-top: -30px; */
-
+
}
.k-link {
- text-decoration: underline;
- color: green;
- cursor: pointer;
+ text-decoration: underline;
+ color: green;
+ cursor: pointer;
}
/* Margins */
.kune-Margin-40-trbl {
- margin: 40px;
+ margin: 40px;
}
.kune-Margin-40-lr {
- margin-left: 40px;
- margin-right: 40px;
+ margin-left: 40px;
+ margin-right: 40px;
}
.kune-Margin-40-tl {
- margin-top: 40px;
- margin-left: 40px;
+ margin-top: 40px;
+ margin-left: 40px;
}
.kune-Margin-40-tb {
- margin-top: 40px;
- margin-bottom: 40px;
+ margin-top: 40px;
+ margin-bottom: 40px;
}
.kune-Margin-40-t {
- margin-top: 40px;
+ margin-top: 40px;
}
.kune-Margin-40-r {
- margin-right: 40px;
+ margin-right: 40px;
}
.kune-Margin-40-l {
- margin-left: 40px;
+ margin-left: 40px;
}
.kune-Margin-20-trbl {
- margin: 20px;
+ margin: 20px;
}
.kune-Margin-20-lr {
- margin-left: 20px;
- margin-right: 20px;
+ margin-left: 20px;
+ margin-right: 20px;
}
.kune-Margin-20-tl {
- margin-top: 20px;
- margin-left: 20px;
+ margin-top: 20px;
+ margin-left: 20px;
}
.kune-Margin-20-tb {
- margin-top: 20px;
- margin-bottom: 20px;
+ margin-top: 20px;
+ margin-bottom: 20px;
}
.kune-Margin-20-t {
- margin-top: 20px;
+ margin-top: 20px;
}
.kune-Margin-20-r {
- margin-right: 20px;
+ margin-right: 20px;
}
.kune-Margin-20-l {
- margin-left: 20px;
+ margin-left: 20px;
}
.kune-Margin-Large-trbl {
- margin: 10px;
+ margin: 10px;
}
.kune-Margin-Large-lr {
- margin-left: 10px;
- margin-right: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
}
.kune-Margin-Large-tl {
- margin-top: 10px;
- margin-left: 10px;
+ margin-top: 10px;
+ margin-left: 10px;
}
.kune-Margin-Large-tb {
- margin-top: 10px;
- margin-bottom: 10px;
+ margin-top: 10px;
+ margin-bottom: 10px;
}
.kune-Margin-Large-t {
- margin-top: 10px;
+ margin-top: 10px;
}
.kune-Margin-Large-r {
- margin-right: 10px;
+ margin-right: 10px;
}
.kune-Margin-Large-l {
- margin-left: 10px;
+ margin-left: 10px;
}
.kune-Margin-7-trbl {
- margin: 7px;
+ margin: 7px;
}
.kune-Margin-7-lr {
- margin-left: 7px;
- margin-right: 7px;
+ margin-left: 7px;
+ margin-right: 7px;
}
.kune-Margin-7-tl {
- margin-top: 7px;
- margin-left: 7px;
+ margin-top: 7px;
+ margin-left: 7px;
}
.kune-Margin-7-tb {
- margin-top: 7px;
- margin-bottom: 7px;
+ margin-top: 7px;
+ margin-bottom: 7px;
}
.kune-Margin-7-t {
- margin-top: 7px;
+ margin-top: 7px;
}
.kune-Margin-7-r {
- margin-right: 7px;
+ margin-right: 7px;
}
.kune-Margin-7-b {
- margin-bottom: 7px;
+ margin-bottom: 7px;
}
.kune-Margin-7-l {
- margin-left: 7px;
+ margin-left: 7px;
}
.kune-Margin-Medium-trbl {
- margin: 5px;
+ margin: 5px;
}
.kune-Margin-Medium-lr {
- margin-left: 5px;
- margin-right: 5px;
+ margin-left: 5px;
+ margin-right: 5px;
}
.kune-Margin-Medium-tl {
- margin-top: 5px;
- margin-left: 5px;
+ margin-top: 5px;
+ margin-left: 5px;
}
.kune-Margin-Medium-tb {
- margin-top: 5px;
- margin-bottom: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
}
.kune-Margin-Medium-t {
- margin-top: 5px;
+ margin-top: 5px;
}
.kune-Margin-Medium-r {
- margin-right: 5px;
+ margin-right: 5px;
}
.kune-Margin-Medium-b {
- margin-bottom: 5px;
+ margin-bottom: 5px;
}
.kune-Margin-Medium-l {
- margin-left: 5px;
+ margin-left: 5px;
}
.kune-Margin-Small-trbl {
- margin: 3px;
+ margin: 3px;
}
.kune-Margin-Small-lr {
- margin-left: 3px;
- margin-right: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
}
.kune-Margin-Small-tl {
- margin-top: 3px;
- margin-left: 3px;
+ margin-top: 3px;
+ margin-left: 3px;
}
.kune-Margin-Small-tb {
- margin-top: 3px;
- margin-bottom: 3px;
+ margin-top: 3px;
+ margin-bottom: 3px;
}
.kune-Margin-Small-t {
- margin-top: 3px;
+ margin-top: 3px;
}
.kune-Margin-Small-l {
- margin-left: 3px;
+ margin-left: 3px;
}
.kune-Margin-Small-r {
- margin-right: 3px;
+ margin-right: 3px;
}
.kune-Margin-Small-b {
- margin-bottom: 3px;
+ margin-bottom: 3px;
}
.kune-Margin-Mini-trbl {
- margin: 1px;
+ margin: 1px;
}
.kune-Margin-Mini-lr {
- margin-left: 1px;
- margin-right: 1px;
+ margin-left: 1px;
+ margin-right: 1px;
}
.kune-Margin-Mini-tl {
- margin-top: 1px;
- margin-left: 1px;
+ margin-top: 1px;
+ margin-left: 1px;
}
.kune-Margin-Mini-tb {
- margin-top: 1px;
- margin-bottom: 1px;
+ margin-top: 1px;
+ margin-bottom: 1px;
}
.kune-Margin-Mini-t {
- margin-top: 1px;
+ margin-top: 1px;
}
.kune-Margin-Mini-r {
- margin-right: 1px;
+ margin-right: 1px;
}
.kune-Margin-Mini-b {
- margin-bottom: 1px;
+ margin-bottom: 1px;
}
.kune-Margin-Mini-l {
- margin-left: 1px;
+ margin-left: 1px;
}
.k-publicspace-msg {
- background-color: #E0E0E0;
+ background-color: #E0E0E0;
}
.k-publicspace-mask { /* background-color: #fff !important;
- kfilter: alpha(opacity = 68) !important;
- -moz-opacity: 0.68 !important;
- -khtml-opacity: 0.68 !important;
- opacity: 0.68 !important;*/
-
+ kfilter: alpha(opacity = 68) !important;
+ -moz-opacity: 0.68 !important;
+ -khtml-opacity: 0.68 !important;
+ opacity: 0.68 !important;*/
+
}
.k-publicspace-panel {
- margin: 5px;
- display: table-row;
+ margin: 5px;
+ display: table-row;
}
.k-publicspace-icon {
- margin: 3px 3px 3px 0;
- float: left;
+ margin: 3px 3px 3px 0;
+ float: left;
}
.k-publicspace-title {
- font-weight: bold;
- display: block;
- margin-bottom: 5px;
- font-size: 16px;
- display: table-caption;
+ font-weight: bold;
+ display: block;
+ margin-bottom: 5px;
+ font-size: 16px;
+ display: table-caption;
}
.k-publicspace-description {
- font-size: 14px;
- display: table-cell;
+ font-size: 14px;
+ display: table-cell;
}
.k-publicspace-actions {
- display: inline;
+ display: inline;
}
.k-message-panel {
- margin: 5px;
- display: table-row;
+ margin: 5px;
+ display: table-row;
}
.k-message-icon {
- margin: 3px 3px 3px 0;
- float: left;
+ margin: 3px 3px 3px 0;
+ float: left;
}
.k-message-title {
- font-weight: bold;
- display: block;
- margin-bottom: 5px;
- font-size: 16px;
- display: table-caption;
+ font-weight: bold;
+ display: block;
+ margin-bottom: 5px;
+ font-size: 16px;
+ display: table-caption;
}
.k-message-description {
- font-size: 14px;
- display: table-cell;
+ font-size: 14px;
+ display: table-cell;
}
.k-error-tb {
- background: #FFB380 none repeat scroll 0% 50%;
- /* color: #250; */
- margin: 0 20px 0 10px;
+ background: #FFB380 none repeat scroll 0% 50%;
+ /* color: #250; */
+ margin: 0 20px 0 10px;
}
.k-error-tb img {
- margin: 15px 5px 5px 15px;
+ margin: 15px 5px 5px 15px;
}
.k-error-tb span {
- position: relative;
- top: -7px;
- left: 9px;
+ position: relative;
+ top: -7px;
+ left: 9px;
}
.k-mask {
- background-color: #F2F2F2 !important;
- /* kfilter: alpha(opacity = 78) !important; */
- -moz-opacity: 0.78 !important;
- -khtml-opacity: 0.78 !important;
- opacity: 0.78 !important;
+ background-color: #F2F2F2 !important;
+ /* kfilter: alpha(opacity = 78) !important; */
+ -moz-opacity: 0.78 !important;
+ -khtml-opacity: 0.78 !important;
+ opacity: 0.78 !important;
}
.x-form-item-label {
- font-size: 16px;
- font-weight: bold;
+ font-size: 14px;
+ font-weight: bold;
+ color: brown;
}
.x-form-text {
- font-size: 14px;
+ font-size: 14px;
}
-
\ No newline at end of file
+
+.x-fieldset-header-text,.x-form-group-label,.x-form-cb-label {
+ font-size: 14px;
+ font-family: 'Ubuntu', Arial;
+}
+
+.k-form-intro {
+ font-size: 14px;
+ margin-bottom: 10px;
+}
+
+.k-form-fieldset {
+ font-size: 16px;
+ margin-left: 105px;
+}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/public/ws.html
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.html 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/core/public/ws.html 2011-02-08 14:17:50 UTC (rev 1241)
@@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Kune</title>
<script type="text/javascript" language="javascript"
- src="/ws/ws.nocache.js"></script>
+ src="/ws/ws.nocache.js"></script>
<meta name="emite.httpBase" content="/http-bind/" />
<meta name="emite.host" content="localhost" />
<meta name="emite.searchHost" content="search.localhost" />
@@ -25,52 +25,52 @@
<meta name="hablar.height" content="300px" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css"
- href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset-min.css">
+ href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset-min.css">
<!-- FIXME: make something local -->
<script src="//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
<script>
- WebFont.load({
- google : {
- families : [ 'Ubuntu' ]
- }
- });
+ WebFont.load({
+ google : {
+ families : [ 'Ubuntu' ]
+ }
+ });
</script>
<!-- Only for wave testing -->
<script type="text/javascript" language="javascript">
- var __session = {
- "id" : "TK8O7UyqvT",
- "address" : "vjrj(a)kune.beta.iepala.es",
- "domain" : "kune.beta.iepala.es"
- };
- var __client_flags = {};
- var __useSocketIO = true;
+ var __session = {
+ "id" : "TK8O7UyqvT",
+ "address" : "vjrj(a)kune.beta.iepala.es",
+ "domain" : "kune.beta.iepala.es"
+ };
+ var __client_flags = {};
+ var __useSocketIO = true;
</script>
<link
- href='http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold,bolditalic'
- rel='stylesheet' type='text/css'>
+ href='http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold,bolditalic'
+ rel='stylesheet' type='text/css'>
<!-- <link href='http://fonts.googleapis.com/css?family=Inconsolata'
- rel='stylesheet' type='text/css'> -->
+ rel='stylesheet' type='text/css'> -->
<link type="text/css" rel="stylesheet" href="gxt/css/gxt-all.css">
<link type="text/css" rel="stylesheet" href="gxt/css/gxt-gray.css">
<link type="text/css" rel="stylesheet" href="kune-hablar.css">
<link type="text/css" rel="stylesheet" href="kune-chat.css">
<link type="text/css" rel="stylesheet" href="kune-common.css">
<link type="text/css" rel="stylesheet"
- href="fontface/ubuntufontface.css">
+ href="fontface/ubuntufontface.css">
<link type="text/css" rel="stylesheet" href="kune-message.css">
<link type="text/css" rel="stylesheet" href="ws.css">
<style type="text/css">
body {
- background-color: white;
- color: black;
- font-family: 'Ubuntu', Arial;
- font-size: small;
- margin: 5px;
- overflow: hidden;
+ background-color: white;
+ color: black;
+ font-family: 'Ubuntu', Arial;
+ font-size: small;
+ margin: 5px;
+ overflow: hidden;
}
.banner {
- margin: 30px;
+ margin: 30px;
}
</style>
<!--[if IE 6]>
@@ -82,13 +82,15 @@
<div class="banner" id="banner"></div>
<!-- Autocomplete user/pass -->
<form method="post" action="javascript:void(0)" style="display: none">
-<input type="text" id="username" name="username" value="" /> <input
- type="password" id="password" name="password" value="" /> <input
- type="submit" value="Login" id="login" /></form>
+<input type="text" id="address" name="address" value="" /> <input
+ type="password" id="password" name="password" value="" /> <input
+ type="submit" value="Login" id="login" />
+ <input type="submit" class="wiab le button" name="signIn" id="signIn" value="Sign in">
+ </form>
<!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
<noscript>
<div
- style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
+ style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
Your web browser must have JavaScript enabled in order for this
application to display correctly.</div>
</noscript>
Added: trunk/src/main/java/cc/kune/wave/client/WaveClientTester.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/client/WaveClientTester.java (rev 0)
+++ trunk/src/main/java/cc/kune/wave/client/WaveClientTester.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -0,0 +1,43 @@
+package cc.kune.wave.client;
+
+import cc.kune.common.client.noti.NotifyUser;
+
+import com.google.gwt.http.client.Request;
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.RequestCallback;
+import com.google.gwt.http.client.RequestException;
+import com.google.gwt.http.client.Response;
+import com.google.gwt.http.client.URL;
+
+public class WaveClientTester {
+
+ public WaveClientTester() {
+ }
+
+ public void doLogin(final String userWithoutDomain, final String passwd) {
+ final RequestBuilder request = new RequestBuilder(RequestBuilder.POST, "/auth/signin/");
+ final StringBuffer params = new StringBuffer();
+ params.append("address=");
+ params.append(URL.encodeQueryString(userWithoutDomain));
+ params.append("&password=");
+ params.append(URL.encodeQueryString(passwd));
+ params.append("&signIn=");
+ params.append(URL.encodeQueryString("Sign in"));
+ try {
+ request.setHeader("Content-Type", "application/x-www-form-urlencoded");
+ request.sendRequest(params.toString(), new RequestCallback() {
+ @Override
+ public void onError(final Request request, final Throwable exception) {
+ NotifyUser.error(exception.getStackTrace().toString(), true);
+ }
+
+ @Override
+ public void onResponseReceived(final Request request, final Response response) {
+ NotifyUser.info(response.getText());
+ }
+ });
+ } catch (final RequestException e) {
+ NotifyUser.error(e.getStackTrace().toString(), true);
+ }
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/wave/client/WaveClientTester.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/wave/server/CustomWaveClientServlet.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/CustomWaveClientServlet.java (rev 0)
+++ trunk/src/main/java/cc/kune/wave/server/CustomWaveClientServlet.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -0,0 +1,188 @@
+/**
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package cc.kune.wave.server;
+
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.util.Enumeration;
+import java.util.HashMap;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+import org.waveprotocol.box.common.SessionConstants;
+import org.waveprotocol.box.server.CoreSettings;
+import org.waveprotocol.box.server.authentication.SessionManager;
+import org.waveprotocol.box.server.gxp.TopBar;
+import org.waveprotocol.box.server.gxp.WaveClientPage;
+import org.waveprotocol.box.server.rpc.BaseUrlHelper;
+import org.waveprotocol.box.server.util.RandomBase64Generator;
+import org.waveprotocol.wave.client.util.ClientFlagsBase;
+import org.waveprotocol.wave.common.bootstrap.FlagConstants;
+import org.waveprotocol.wave.model.wave.ParticipantId;
+import org.waveprotocol.wave.util.logging.Log;
+
+import com.google.common.collect.Maps;
+import com.google.gxp.base.GxpContext;
+import com.google.inject.Inject;
+import com.google.inject.name.Named;
+
+/**
+ * The HTTP servlet for serving a wave client along with content generated on
+ * the server.
+ *
+ * @author kalman(a)google.com (Benjamin Kalman)
+ */
+public class CustomWaveClientServlet extends HttpServlet {
+
+ private static final HashMap<String, String> FLAG_MAP = Maps.newHashMap();
+
+ private static final Log LOG = Log.get(CustomWaveClientServlet.class);
+ static {
+ // __NAME_MAPPING__ is a map of name to obfuscated id
+ for (int i = 0; i < FlagConstants.__NAME_MAPPING__.length; i += 2) {
+ FLAG_MAP.put(FlagConstants.__NAME_MAPPING__[i], FlagConstants.__NAME_MAPPING__[i + 1]);
+ }
+ }
+
+ private final String baseUrl;
+ private final String domain;
+ private final SessionManager sessionManager;
+ private final Boolean useSocketIO;
+
+ /**
+ * Creates a servlet for the wave client.
+ */
+ @Inject
+ public CustomWaveClientServlet((a)Named(CoreSettings.WAVE_SERVER_DOMAIN) final String domain,
+ @Named(CoreSettings.USE_SOCKETIO) final Boolean useSocketIO,
+ @Named(CoreSettings.HTTP_BASE_URL) final String baseUrl, final SessionManager sessionManager) {
+ this.domain = domain;
+ this.useSocketIO = useSocketIO;
+ this.baseUrl = BaseUrlHelper.removeLastSlash(baseUrl);
+ this.sessionManager = sessionManager;
+ }
+
+ @Override
+ protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
+ final ParticipantId id = sessionManager.getLoggedInUser(request.getSession(false));
+
+ // Eventually, it would be nice to show users who aren't logged in the
+ // public waves.
+ // However, public waves aren't implemented yet. For now, we'll just
+ // redirect users
+ // who haven't signed in to the sign in page.
+ // COMMENTED (vjrj)
+ if (id == null) {
+ response.sendRedirect(baseUrl + sessionManager.getLoginUrl(baseUrl + "/"));
+ return;
+ }
+
+ String username = null;
+ String userDomain = null;
+ if (id != null) {
+ final String[] parts = id.getAddress().split("@");
+ username = parts[0];
+ userDomain = id.getDomain();
+ }
+
+ try {
+ WaveClientPage.write(response.getWriter(), new GxpContext(request.getLocale()),
+ getSessionJson(request.getSession(false)), getClientFlags(request),
+ TopBar.getGxpClosure(username, userDomain, baseUrl), useSocketIO, baseUrl);
+ } catch (final IOException e) {
+ LOG.warning("Failed to write GXP for request " + request, e);
+ response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
+ return;
+ }
+
+ response.setContentType("text/html");
+ response.setStatus(HttpServletResponse.SC_OK);
+ }
+
+ private JSONObject getClientFlags(final HttpServletRequest request) {
+ try {
+ final JSONObject ret = new JSONObject();
+
+ final Enumeration<?> iter = request.getParameterNames();
+ while (iter.hasMoreElements()) {
+ final String name = (String) iter.nextElement();
+ final String value = request.getParameter(name);
+
+ if (FLAG_MAP.containsKey(name)) {
+ // Set using the correct type of data in the json using
+ // reflection
+ try {
+ final Method getter = ClientFlagsBase.class.getMethod(name);
+ final Class<?> retType = getter.getReturnType();
+
+ if (retType.equals(String.class)) {
+ ret.put(FLAG_MAP.get(name), value);
+ } else if (retType.equals(Integer.class)) {
+ ret.put(FLAG_MAP.get(name), Integer.parseInt(value));
+ } else if (retType.equals(Boolean.class)) {
+ ret.put(FLAG_MAP.get(name), Boolean.parseBoolean(value));
+ } else if (retType.equals(Float.class)) {
+ ret.put(FLAG_MAP.get(name), Float.parseFloat(value));
+ } else if (retType.equals(Double.class)) {
+ ret.put(FLAG_MAP.get(name), Double.parseDouble(value));
+ } else {
+ // Flag exists, but its type is unknown, so it can
+ // not be
+ // properly encoded in JSON.
+ LOG.warning("Ignoring flag [" + name + "] with unknown return type: " + retType);
+ }
+
+ // Ignore the flag on any exception
+ } catch (final SecurityException ex) {
+ } catch (final NoSuchMethodException ex) {
+ LOG.warning("Failed to find the flag [" + name + "] in ClientFlagsBase.");
+ } catch (final NumberFormatException ex) {
+ }
+ }
+ }
+
+ return ret;
+ } catch (final JSONException ex) {
+ LOG.severe("Failed to create flags JSON");
+ return new JSONObject();
+ }
+ }
+
+ private JSONObject getSessionJson(final HttpSession session) {
+ try {
+ final ParticipantId user = sessionManager.getLoggedInUser(session);
+ final String address = (user != null) ? user.getAddress() : null;
+
+ // TODO(zdwang): Figure out a proper session id rather than
+ // generating a
+ // random number
+ final String sessionId = (new RandomBase64Generator()).next(10);
+
+ return new JSONObject().put(SessionConstants.DOMAIN, domain).putOpt(SessionConstants.ADDRESS, address).putOpt(
+ SessionConstants.ID_SEED, sessionId);
+ } catch (final JSONException e) {
+ LOG.severe("Failed to create session JSON");
+ return new JSONObject();
+ }
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/wave/server/CustomWaveClientServlet.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -45,7 +45,6 @@
import org.waveprotocol.box.server.rpc.FetchServlet;
import org.waveprotocol.box.server.rpc.ServerRpcProvider;
import org.waveprotocol.box.server.rpc.SignOutServlet;
-import org.waveprotocol.box.server.rpc.WaveClientServlet;
import org.waveprotocol.box.server.waveserver.WaveBus;
import org.waveprotocol.box.server.waveserver.WaveServerException;
import org.waveprotocol.box.server.waveserver.WaveletProvider;
@@ -140,7 +139,7 @@
final ServletHolder proxyServletHolder = server.addServlet("/gadgets/*", proxyServlet);
proxyServletHolder.setInitParameter("HostHeader", gadgetServerHostname);
- server.addServlet("/", injector.getInstance(WaveClientServlet.class));
+ server.addServlet("/", injector.getInstance(CustomWaveClientServlet.class));
}
public WaveStarter() {
Modified: trunk/src/main/java/org/ourproject/kune/app/server/AbstractExtendedModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/AbstractExtendedModule.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/app/server/AbstractExtendedModule.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/app/server/KuneApplicationListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/KuneApplicationListener.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/app/server/KuneApplicationListener.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/app/server/KuneContainerListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/KuneContainerListener.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/app/server/KuneContainerListener.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -99,12 +99,8 @@
builder.exclude("/javascripts/.*");
builder.exclude("/templates/.*");
- /* Wave with context '/wiab/' */
- // builder.exclude("/wiab.*");
- // builder.exclude("/socket.*");
-
/* Wave with context '/' */
- builder.exclude("/");
+ // builder.exclude("/*");
builder.exclude("/attachment/.*");
builder.exclude("/auth/signin");
builder.exclude("/auth/signout");
Modified: trunk/src/main/java/org/ourproject/kune/app/server/NotInObject.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/NotInObject.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/app/server/NotInObject.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-08 14:17:50 UTC (rev 1241)
@@ -90,7 +90,6 @@
throws IOException, ServletException {
final String relative = RackHelper.getRelativeURL(request);
- LOG.debug("REQUEST: " + relative);
for (final RequestMatcher matcher : excludes) {
if (matcher.matches(relative)) {
LOG.info("Excluded (from Guice): " + relative);
@@ -98,7 +97,7 @@
return;
}
}
-
+ LOG.debug("REQUEST: " + relative);
final FilterChain newChain = new DockChain(docks.iterator());
newChain.doFilter(request, response);
}
Modified: trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/src/main/webapp/WEB-INF/web.xml 2011-02-07 21:14:53 UTC (rev 1240)
+++ trunk/src/main/webapp/WEB-INF/web.xml 2011-02-08 14:17:50 UTC (rev 1241)
@@ -18,7 +18,6 @@
<welcome-file-list>
<welcome-file>ws.html</welcome-file>
</welcome-file-list>
-
<!-- Wave proxies ========================================================================================= -->
<filter>
<filter-name>JettyContinuationFilter</filter-name>
@@ -26,6 +25,23 @@
</filter>
<filter-mapping>
<filter-name>JettyContinuationFilter</filter-name>
+ <servlet-name>Wiab</servlet-name>
+ <!-- <url-pattern>/*</url-pattern> -->
+ </filter-mapping>
+ <servlet>
+ <servlet-name>Wiab</servlet-name>
+ <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
+ <init-param>
+ <param-name>ProxyTo</param-name>
+ <param-value>http://127.0.0.1:9898/</param-value>
+ </init-param>
+ <init-param>
+ <param-name>Prefix</param-name>
+ <param-value>/</param-value>
+ </init-param>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Wiab</servlet-name>
<url-pattern>/attachment/*</url-pattern>
<url-pattern>/auth/signin</url-pattern>
<url-pattern>/auth/signout</url-pattern>
@@ -43,8 +59,8 @@
<url-pattern>/static/*</url-pattern>
<url-pattern>/webclient/*</url-pattern>
<!-- <url-pattern>/*</url-pattern> -->
- </filter-mapping>
-
+ <!-- <load-on-startup>1</load-on-startup> -->
+ </servlet-mapping>
<!-- JRuby servlets ======================================================================================= -->
<!-- Note: this gives problems depending on the version of jetty or tomcat -->
<context-param>
@@ -84,7 +100,6 @@
<listener>
<listener-class>org.jruby.rack.rails.RailsServletContextListener</listener-class>
</listener>
-
<!-- Emite xmpp proxy ======================================================================================= -->
<!-- <servlet> -->
<!-- <servlet-name>HttpBind</servlet-name> -->
@@ -123,278 +138,6 @@
<url-pattern>/http-bind/
</url-pattern>
</servlet-mapping>
- <!-- Wave proxies with context / ====================================================================== -->
- <servlet>
- <servlet-name>WiabAttachs</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabAttachs</servlet-name>
- <url-pattern>/attachment/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabSignIn</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabSignIn</servlet-name>
- <url-pattern>/auth/signin</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabSignOut</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabSignOut</servlet-name>
- <url-pattern>/auth/signout</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRegister</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRegister</servlet-name>
- <url-pattern>/auth/register</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabFetch</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabFetch</servlet-name>
- <url-pattern>/fetch/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRobotDataApi</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRobotDataApi</servlet-name>
- <url-pattern>/robot/dataapi</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRobotDataApiOauth</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRobotDataApiOauth</servlet-name>
- <url-pattern>/robot/dataapi/oauth/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRobotDataApiRpc</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRobotDataApiRpc</servlet-name>
- <url-pattern>/robot/dataapi/rpc</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRobotRegister</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRobotRegister</servlet-name>
- <url-pattern>/robot/register/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabRobotRpc</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabRobotRpc</servlet-name>
- <url-pattern>/robot/rpc</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabGadgets</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabGadgets</servlet-name>
- <url-pattern>/gadgets</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabGadgetsAst</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabGadgetsAst</servlet-name>
- <url-pattern>/gadgets/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabSocketIO</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabSocketIO</servlet-name>
- <url-pattern>/socket.io/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabSocket</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabSocket</servlet-name>
- <url-pattern>/socket</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabStatic</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabStatic</servlet-name>
- <url-pattern>/static/*</url-pattern>
- </servlet-mapping>
- <!-- ==================== -->
- <servlet>
- <servlet-name>WiabWebClient</servlet-name>
- <servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
- <init-param>
- <param-name>ProxyTo</param-name>
- <param-value>http://127.0.0.1:9898/</param-value>
- </init-param>
- <init-param>
- <param-name>Prefix</param-name>
- <param-value>/</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>WiabWebClient</servlet-name>
- <url-pattern>/webclient/*</url-pattern>
- </servlet-mapping>
<!-- Kune normal guice configuration ======================================================================== -->
<filter>
<filter-name>rack</filter-name>
1
0
r1240 - in trunk: . src/main/java/cc/kune/core/client/errors src/main/java/cc/kune/wave/client src/main/java/cc/kune/wave/server src/main/java/org/ourproject/kune/platf/server/manager/impl src/main/java/org/ourproject/kune/rack src/main/resources src/main/webapp/WEB-INF
by Vicente J. Ruiz Jurado 07 Feb '11
by Vicente J. Ruiz Jurado 07 Feb '11
07 Feb '11
Author: vjrj_
Date: 2011-02-07 22:14:53 +0100 (Mon, 07 Feb 2011)
New Revision: 1240
Added:
trunk/src/main/java/cc/kune/core/client/errors/UserRegistrationException.java
Modified:
trunk/.classpath
trunk/pom.xml
trunk/src/main/java/cc/kune/wave/client/WebClient.java
trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
trunk/src/main/resources/wave-server.properties
trunk/src/main/webapp/WEB-INF/web.xml
Log:
WIAB integration updated
Modified: trunk/.classpath
===================================================================
--- trunk/.classpath 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/.classpath 2011-02-07 21:14:53 UTC (rev 1240)
@@ -6,7 +6,7 @@
<classpathentry kind="var" path="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" sourcepath="M2_REPO/javax/inject/javax.inject/1/javax.inject-1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.1/jta-1.1.jar" sourcepath="M2_REPO/javax/transaction/jta/1.1/jta-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-sdk/1.3.1/appengine-api-1.0-sdk-1.3.1.jar"/>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/pom.xml 2011-02-07 21:14:53 UTC (rev 1240)
@@ -71,7 +71,7 @@
<id>cobogw</id>
<name>Cobogw repository at googlecode</name>
<url>http://cobogw.googlecode.com/svn/maven2</url>
- </repository>
+ </repository>
<repository>
<id>gwt-repo</id>
<url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven/</url>
@@ -164,7 +164,7 @@
</snapshots>
</pluginRepository>
<!-- cc -->
- <!-- <pluginRepository> <id>gwt-maven</id> <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo</url>
+ <!-- <pluginRepository> <id>gwt-maven</id> <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo</url>
</pluginRepository> -->
<pluginRepository>
<id>Codehaus Snapshots</id>
@@ -248,7 +248,7 @@
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</exclusion>
- </exclusions>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.adamtacy</groupId>
@@ -297,7 +297,7 @@
<artifactId>dozer</artifactId>
<version>4.0</version>
</dependency>
- <!-- <dependency> <groupId>com.calclab</groupId> <artifactId>suco</artifactId>
+ <!-- <dependency> <groupId>com.calclab</groupId> <artifactId>suco</artifactId>
<version>0.6.5</version> </dependency> -->
<dependency>
<groupId>jmagick</groupId>
@@ -394,16 +394,16 @@
<artifactId>hibernate-tools</artifactId>
<version>3.2.3.GA</version>
</dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-c3p0</artifactId>
- <version>3.3.1.GA</version>
- </dependency>
- <!-- <dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ <version>3.3.1.GA</version>
+ </dependency>
+ <!-- <dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
- </dependency> -->
+ </dependency> -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
@@ -501,7 +501,7 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
- <version>2.4</version>
+ <version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- testing dependencies -->
@@ -732,7 +732,7 @@
<configuration>
<source>1.6</source>
<target>1.6</target>
- <!-- Uncomment and run mvn with -X -e if we have same compile problems
+ <!-- Uncomment and run mvn with -X -e if we have same compile problems
<compilerArgument>-verbose</compilerArgument> <fork>true</fork> <verbose>true</verbose> -->
</configuration>
</plugin>
@@ -755,7 +755,7 @@
<exclude>**/*_Roo_*</exclude>
</excludes>
<forkMode>pertest</forkMode>
- <!-- Skip the normal tests, we'll run them in the integration-test
+ <!-- Skip the normal tests, we'll run them in the integration-test
phase -->
<skip>true</skip>
</configuration>
@@ -846,11 +846,11 @@
<!-- gwtp & GenEvent need this plugin -->
<!-- maybe test: http://mojo.codehaus.org/apt-maven-plugin/index.html -->
<!-- instead of this: https://code.google.com/p/maven-annotation-plugin/ -->
- <!-- <plugin> <groupId>org.bsc.maven</groupId> <artifactId>maven-processor-plugin</artifactId>
- <version>1.3.7</version> <executions> <execution> <id>process</id> <goals>
- <goal>process</goal> </goals> <phase>generate-sources</phase> </execution>
- </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>apt-maven-plugin</artifactId>
- <version>1.0-alpha-4</version> <executions> <execution> <goals> <goal>process</goal>
+ <!-- <plugin> <groupId>org.bsc.maven</groupId> <artifactId>maven-processor-plugin</artifactId>
+ <version>1.3.7</version> <executions> <execution> <id>process</id> <goals>
+ <goal>process</goal> </goals> <phase>generate-sources</phase> </execution>
+ </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>apt-maven-plugin</artifactId>
+ <version>1.0-alpha-4</version> <executions> <execution> <goals> <goal>process</goal>
<goal>test-process</goal> </goals> </execution> </executions> </plugin> -->
<!-- BETTER user: http://code.google.com/p/acris/wiki/AnnotationProcessing -->
<plugin>
@@ -882,11 +882,11 @@
</execution>
</executions>
</plugin>
- <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>deb-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version> <configuration> <description>kune free/open/libre
- collaboration platform</description> <maintainer>Kune Development Team <kune-devel(a)lists.ourproject.org></maintainer>
- <section>web</section> <priority>optional</priority> <architecture>all</architecture>
- </configuration> <executions> <execution> <goals> <goal>deb</goal> </goals>
+ <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>deb-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version> <configuration> <description>kune free/open/libre
+ collaboration platform</description> <maintainer>Kune Development Team <kune-devel(a)lists.ourproject.org></maintainer>
+ <section>web</section> <priority>optional</priority> <architecture>all</architecture>
+ </configuration> <executions> <execution> <goals> <goal>deb</goal> </goals>
</execution> </executions> </plugin> -->
<plugin>
<groupId>org.liquibase</groupId>
@@ -904,7 +904,7 @@
<password>db4kune</password>
<verbose>true</verbose>
</configuration>
- <!-- <configuration> <verbose>true</verbose> <propertiesFile>
+ <!-- <configuration> <verbose>true</verbose> <propertiesFile>
src/main/resources/db/liquibase.properties </propertiesFile> </configuration> -->
<goals>
<goal>update</goal>
@@ -983,9 +983,9 @@
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->
- <!-- <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.2</version>
- <configuration> <filesets> <fileset> <directory>src/main/webapp/gwt/</directory>
- <includes> <include>**/org.ourproject.kune.app.Kune*</include> <followSymlinks>false</followSymlinks>
+ <!-- <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.2</version>
+ <configuration> <filesets> <fileset> <directory>src/main/webapp/gwt/</directory>
+ <includes> <include>**/org.ourproject.kune.app.Kune*</include> <followSymlinks>false</followSymlinks>
</includes> </fileset> </filesets> </configuration> </plugin> -->
</plugins>
<!-- <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> -->
Added: trunk/src/main/java/cc/kune/core/client/errors/UserRegistrationException.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/UserRegistrationException.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/errors/UserRegistrationException.java 2011-02-07 21:14:53 UTC (rev 1240)
@@ -0,0 +1,32 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.errors;
+
+public class UserRegistrationException extends DefaultException {
+ private static final long serialVersionUID = -4530874249465164135L;
+
+ public UserRegistrationException() {
+ super();
+ }
+
+ public UserRegistrationException(final String msg) {
+ super(msg);
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/errors/UserRegistrationException.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/wave/client/WebClient.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/client/WebClient.java 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/java/cc/kune/wave/client/WebClient.java 2011-02-07 21:14:53 UTC (rev 1240)
@@ -279,7 +279,7 @@
HistorySupport.init();
- websocket = new WaveWebSocketClient(useSocketIO(), getWebSocketBaseUrl(GWT.getModuleBaseURL() + "/wiab/"));
+ websocket = new WaveWebSocketClient(useSocketIO(), getWebSocketBaseUrl(GWT.getModuleBaseURL()));
websocket.connect();
if (Session.get().isLoggedIn()) {
Modified: trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 21:14:53 UTC (rev 1240)
@@ -45,7 +45,6 @@
import org.waveprotocol.box.server.rpc.FetchServlet;
import org.waveprotocol.box.server.rpc.ServerRpcProvider;
import org.waveprotocol.box.server.rpc.SignOutServlet;
-import org.waveprotocol.box.server.rpc.UserRegistrationServlet;
import org.waveprotocol.box.server.rpc.WaveClientServlet;
import org.waveprotocol.box.server.waveserver.WaveBus;
import org.waveprotocol.box.server.waveserver.WaveServerException;
@@ -58,6 +57,7 @@
import org.waveprotocol.wave.model.version.HashedVersionFactory;
import org.waveprotocol.wave.util.settings.SettingsBinder;
+import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.Module;
@@ -121,7 +121,7 @@
server.addServlet(SessionManager.SIGN_IN_URL, injector.getInstance(AuthenticationServlet.class));
server.addServlet("/auth/signout", injector.getInstance(SignOutServlet.class));
- server.addServlet("/auth/register", injector.getInstance(UserRegistrationServlet.class));
+ server.addServlet("/auth/register", injector.getInstance(CustomUserRegistrationServlet.class));
server.addServlet("/fetch/*", injector.getInstance(FetchServlet.class));
@@ -146,10 +146,9 @@
public WaveStarter() {
}
- public Injector run(final Module coreSettings, final Injector parentInjector) throws PersistenceException,
- ConfigurationException, WaveServerException {
- // Injector settingsInjector = Guice.createInjector(coreSettings);
- Injector settingsInjector = parentInjector.createChildInjector(coreSettings);
+ public Injector run(final Module coreSettings) throws PersistenceException, ConfigurationException,
+ WaveServerException {
+ Injector settingsInjector = Guice.createInjector(coreSettings);
final boolean enableFederation = settingsInjector.getInstance(Key.get(Boolean.class,
Names.named(CoreSettings.ENABLE_FEDERATION)));
@@ -179,10 +178,10 @@
return injector;
}
- public Injector runMain(final Injector settingsInjector) {
+ public Injector runMain() {
try {
final Module coreSettings = CustomSettingsBinder.bindSettings(PROPERTIES_FILE_KEY, CoreSettings.class);
- return run(coreSettings, settingsInjector);
+ return run(coreSettings);
} catch (final PersistenceException e) {
LOG.error("PersistenceException when running server:", e);
} catch (final ConfigurationException e) {
@@ -190,6 +189,6 @@
} catch (final WaveServerException e) {
LOG.error("WaveServerException when running server:", e);
}
- return settingsInjector;
+ return null;
}
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-07 21:14:53 UTC (rev 1240)
@@ -41,6 +41,7 @@
import org.waveprotocol.box.server.authentication.PasswordDigest;
import cc.kune.core.client.errors.I18nNotFoundException;
+import cc.kune.core.client.errors.UserRegistrationException;
import cc.kune.core.shared.i18n.I18nTranslationService;
import cc.kune.domain.I18nCountry;
import cc.kune.domain.I18nLanguage;
@@ -93,7 +94,10 @@
}
final PasswordDigest passwdDigest = new PasswordDigest(passwd.toCharArray());
- waveUserRegister.tryCreateUser(shortName, passwdDigest);
+ final String msg = waveUserRegister.tryCreateUser(shortName, passwdDigest);
+ if (msg != null) {
+ throw new UserRegistrationException(msg);
+ }
// if (userPropGroup == null) {
// userPropGroup = propGroupManager.find(User.PROPS_ID);
// }
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-07 21:14:53 UTC (rev 1240)
@@ -38,7 +38,6 @@
import cc.kune.wave.server.WaveStarter;
-import com.google.inject.Guice;
import com.google.inject.Injector;
public class RackServletFilter implements Filter {
@@ -130,9 +129,8 @@
final RackBuilder builder = new RackBuilder();
module.configure(builder);
final Rack rack = builder.getRack();
- final Injector parentInjector = Guice.createInjector();
final WaveStarter waveStarter = new WaveStarter();
- final Injector waveChildInjector = waveStarter.runMain(parentInjector);
+ final Injector waveChildInjector = waveStarter.runMain();
final Injector kuneChildInjector = installInjector(filterConfig, rack, waveChildInjector);
startContainerListeners(rack.getListeners(), kuneChildInjector);
docks = rack.getDocks();
Modified: trunk/src/main/resources/wave-server.properties
===================================================================
--- trunk/src/main/resources/wave-server.properties 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/resources/wave-server.properties 2011-02-07 21:14:53 UTC (rev 1240)
@@ -9,7 +9,7 @@
http_frontend_public_address = localhost:9898
http_frontend_addresses = ${http_frontend_public_address}
http_baseurl = /
-resource_base = ./target/kune-0.0.7/
+resource_base = ../kune-0.0.7/
### Server-specific variables
###
Modified: trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/src/main/webapp/WEB-INF/web.xml 2011-02-07 17:33:32 UTC (rev 1239)
+++ trunk/src/main/webapp/WEB-INF/web.xml 2011-02-07 21:14:53 UTC (rev 1240)
@@ -18,6 +18,33 @@
<welcome-file-list>
<welcome-file>ws.html</welcome-file>
</welcome-file-list>
+
+ <!-- Wave proxies ========================================================================================= -->
+ <filter>
+ <filter-name>JettyContinuationFilter</filter-name>
+ <filter-class>org.eclipse.jetty.continuation.ContinuationFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>JettyContinuationFilter</filter-name>
+ <url-pattern>/attachment/*</url-pattern>
+ <url-pattern>/auth/signin</url-pattern>
+ <url-pattern>/auth/signout</url-pattern>
+ <url-pattern>/auth/register</url-pattern>
+ <url-pattern>/fetch/*</url-pattern>
+ <url-pattern>/robot/dataapi</url-pattern>
+ <url-pattern>/robot/dataapi/oauth/*</url-pattern>
+ <url-pattern>/robot/dataapi/rpc</url-pattern>
+ <url-pattern>/robot/register/*</url-pattern>
+ <url-pattern>/robot/rpc</url-pattern>
+ <url-pattern>/gadgets</url-pattern>
+ <url-pattern>/gadgets/*</url-pattern>
+ <url-pattern>/socket.io/*</url-pattern>
+ <url-pattern>/socket</url-pattern>
+ <url-pattern>/static/*</url-pattern>
+ <url-pattern>/webclient/*</url-pattern>
+ <!-- <url-pattern>/*</url-pattern> -->
+ </filter-mapping>
+
<!-- JRuby servlets ======================================================================================= -->
<!-- Note: this gives problems depending on the version of jetty or tomcat -->
<context-param>
1
0
Author: vjrj_
Date: 2011-02-07 18:33:32 +0100 (Mon, 07 Feb 2011)
New Revision: 1239
Added:
trunk/src/main/resources/wave-server-testing.properties
trunk/src/test/java/org/ourproject/kune/platf/server/TestConstants.java
Modified:
trunk/
trunk/.classpath
trunk/COPYRIGHT
trunk/pom.xml
trunk/src/main/java/cc/kune/core/shared/dto/AccessRolDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/BasicMimeTypeDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/CommentDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/ContainerDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/ContainerSimpleDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/ContentSimpleDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/GroupListDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/GroupType.java
trunk/src/main/java/cc/kune/core/shared/dto/I18nCountryDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageSimpleDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/I18nTranslationDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/LicenseDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/LinkDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/ParticipationDataDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/RoomDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/SearchResultDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDataDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkRequestResult.java
trunk/src/main/java/cc/kune/core/shared/dto/StateAbstractDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/StateContainerDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/StateContentDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/StateNoContentDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/TagDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/TimeZoneDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/ToolSimpleDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/UserBuddiesDataDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/UserDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/UserInfoDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java
trunk/src/main/java/cc/kune/domain/User.java
trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java
trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java
trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java
trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java
trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java
trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java
Log:
WIAB integration updated
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- pmd-eclipse.log
.pmd
www-test
screenlog.0
bin
client
public
target
target-local
Main-compile
bin
.settings
.gwt-cache
repository
derby.log
star-yellow-grey.png
run.sh
tomcat
gwt-out
synccss.sh
.externalToolBuilders
.wtpmodules
www
testRepository
kune-OLD-jcr
KuneApp.launch
KuneApp NOSERVER.launch
old_src
org.ourproject.kune.app.Kune
org.ourproject.kune.iml
org.ourproject.kune.ipr
org.ourproject.kune.iws
nbproject
hibernate.reveng.xml
.gwt-tmp
target-eclipse
.checkstyle
.classpath-bien
pom.xml.*
.gwt
.jdee_sources
.jdee_classpath
prj.el
.factorypath
.apt_generated
target.old
+ pmd-eclipse.log
.pmd
www-test
screenlog.0
bin
client
public
target
target-local
Main-compile
bin
.settings
.gwt-cache
repository
derby.log
star-yellow-grey.png
run.sh
tomcat
gwt-out
synccss.sh
.externalToolBuilders
.wtpmodules
www
testRepository
kune-OLD-jcr
KuneApp.launch
KuneApp NOSERVER.launch
old_src
org.ourproject.kune.app.Kune
org.ourproject.kune.iml
org.ourproject.kune.ipr
org.ourproject.kune.iws
nbproject
hibernate.reveng.xml
.gwt-tmp
target-eclipse
.checkstyle
.classpath-bien
pom.xml.*
.gwt
.jdee_sources
.jdee_classpath
prj.el
.factorypath
.apt_generated
target.old
_accounts
Modified: trunk/.classpath
===================================================================
--- trunk/.classpath 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/.classpath 2011-02-07 17:33:32 UTC (rev 1239)
@@ -3,11 +3,13 @@
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
<classpathentry kind="output" path="target/kune-0.0.7/WEB-INF/classes"/>
+ <classpathentry kind="var" path="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" sourcepath="M2_REPO/javax/inject/javax.inject/1/javax.inject-1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.1/jta-1.1.jar" sourcepath="M2_REPO/javax/transaction/jta/1.1/jta-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/appengine/appengine-api-1.0-sdk/1.3.1/appengine-api-1.0-sdk-1.3.1.jar"/>
<classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar"/>
<classpathentry kind="var" path="M2_REPO/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
<classpathentry kind="var" path="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1.jar" sourcepath="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1-sources.jar"/>
@@ -21,6 +23,7 @@
<classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.2/commons-io-1.2.jar" sourcepath="M2_REPO/commons-io/commons-io/1.2/commons-io-1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.5/commons-lang-2.5.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.5/commons-lang-2.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/crawl_htmlunit/r5662-gae/crawl_htmlunit-r5662-gae.jar"/>
<classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/net/sf/dozer/dozer/4.0/dozer-4.0.jar" sourcepath="M2_REPO/net/sf/dozer/dozer/4.0/dozer-4.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar" sourcepath="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA-sources.jar"/>
@@ -36,6 +39,7 @@
<classpathentry kind="var" path="M2_REPO/com/google/code/guice/guice-servlet/2.0.1/guice-servlet-2.0.1.jar"/>
<classpathentry kind="var" path="M2_REPO/com/jhickman/web/gwt/gwt-customuibinder/0.1/gwt-customuibinder-0.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/adamtacy/gwt-fx/r464/gwt-fx-r464.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-gin/1.0-r137/gwt-gin-1.0-r137.jar"/>
<classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/log/gwt-log/gwt-log/3.0.1/gwt-log-3.0.1.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-servlet/2.1.1/gwt-servlet-2.1.1.jar" sourcepath="M2_REPO/com/google/gwt/gwt-servlet/2.1.1/gwt-servlet-2.1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-user/2.1.1/gwt-user-2.1.1.jar" sourcepath="M2_REPO/com/google/gwt/gwt-user/2.1.1/gwt-user-2.1.1-sources.jar"/>
@@ -43,7 +47,15 @@
<classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/voices/gwt-voices/gwt-voices/1.6.0/gwt-voices-1.6.0.jar"/>
<classpathentry kind="var" path="M2_REPO/com/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar"/>
<classpathentry kind="var" path="M2_REPO/com/gwtextux/gwtextux/0.4.0.924/gwtextux-0.4.0.924.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp/0.5-SNAPSHOT/gwtp-0.5-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-all/0.5/gwtp-all-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-all/0.5/gwtp-all-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-clients-common/0.5/gwtp-clients-common-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-clients-common/0.5/gwtp-clients-common-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/extjs/gxt/2.2.1/gxt-2.2.1.jar"/>
<classpathentry kind="var" path="M2_REPO/com/jhickman/web/gwt/gxt-uibinder/0.6/gxt-uibinder-0.6.jar"/>
<classpathentry kind="var" path="M2_REPO/com/h2database/h2/1.0.20070617/h2-1.0.20070617.jar"/>
Modified: trunk/COPYRIGHT
===================================================================
--- trunk/COPYRIGHT 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/COPYRIGHT 2011-02-07 17:33:32 UTC (rev 1239)
@@ -80,35 +80,51 @@
others
--------------------------------------------------------------------------------
-suco
- http://suco.googlecode.com
- Copyright: under GNU Lesser General Public License
- http://www.gnu.org/licenses/lgpl.html
+wave / wave in a box
+ http://www.waveprotocol.org
+ http://www.apache.org/licenses/LICENSE-2.0
+ http://www.waveprotocol.org/patent-license
+
emite
http://emite.googlecode.com
Copyright: under GNU Lesser General Public License
http://www.gnu.org/licenses/lgpl.html
+suco
+ http://suco.googlecode.com
+ Copyright: under GNU Lesser General Public License
+ http://www.gnu.org/licenses/lgpl.html
+
fonts-min.css and reset.css
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
-emoticons from Adium and Kopete theme
- kopete adium theme by robotangel and original "Adiumicons" by Oscar Gruno
- under GNU GPL license
+ext-gwt gxt library:
+ http://www.sencha.com/products/extgwt/
+ Copyright: under GNU General Public License
+ http://www.gnu.org/copyleft/gpl.html
-extjs
- http://extjs.com/
- Copyright: under GNU Lesser General Public License
- http://www.gnu.org/licenses/lgpl.html
-
-ext-gwt library:
+gwt-ext (deprecated) library:
http://code.google.com/p/gwt-ext/
Copyright: under GNU Lesser General Public License
http://www.gnu.org/licenses/lgpl.html
+google-gin library:
+ https://code.google.com/p/google-gin/
+ Copyright: under Apache License 2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+gwt-platform library:
+ https://code.google.com/p/gwt-platform/
+ Copyright: under Apache License 2.0
+ http://www.apache.org/licenses/LICENSE-2.0
+
+emoticons from Adium and Kopete theme
+ kopete adium theme by robotangel and original "Adiumicons" by Oscar Gruno
+ under GNU GPL license
+
dom region library:
XWiki Platform
http://www.xwiki.org/
@@ -133,8 +149,3 @@
from GNU Classpath
Copyright: under GNU General Public License
http://www.gnu.org/licenses/gpl.html
-
-qtip:
- http://craigsworks.com/projects/qtip/docs/support/
- Under MIT license:
- http://creativecommons.org/licenses/MIT/
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/pom.xml 2011-02-07 17:33:32 UTC (rev 1239)
@@ -71,13 +71,8 @@
<id>cobogw</id>
<name>Cobogw repository at googlecode</name>
<url>http://cobogw.googlecode.com/svn/maven2</url>
- </repository>
+ </repository>
<repository>
- <id>gwtp</id>
- <name>gwtp repo</name>
- <url>http://maven.gwt-platform.googlecode.com/hg/</url>
- </repository>
- <repository>
<id>gwt-repo</id>
<url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven/</url>
<name>Google Web Toolkit Repository</name>
@@ -232,12 +227,30 @@
<artifactId>cobogw</artifactId>
<version>1.3.1</version>
</dependency>
+<dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-all</artifactId>
+ <version>0.5</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ </exclusions>
+</dependency>
<dependency>
- <groupId>com.gwtplatform</groupId>
- <artifactId>gwtp</artifactId>
- <version>0.5-SNAPSHOT</version>
- </dependency>
- <dependency>
<groupId>org.adamtacy</groupId>
<artifactId>gwt-fx</artifactId>
<version>r464</version>
Modified: trunk/src/main/java/cc/kune/core/shared/dto/AccessRolDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/AccessRolDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/AccessRolDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/BasicMimeTypeDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/BasicMimeTypeDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/BasicMimeTypeDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/CommentDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/CommentDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/CommentDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ContainerDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ContainerDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ContainerDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ContainerSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ContainerSimpleDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ContainerSimpleDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ContentSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ContentSimpleDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ContentSimpleDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/GroupListDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/GroupListDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/GroupListDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/GroupType.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/GroupType.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/GroupType.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/I18nCountryDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/I18nCountryDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/I18nCountryDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageSimpleDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/I18nLanguageSimpleDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/I18nTranslationDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/I18nTranslationDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/I18nTranslationDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/LicenseDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/LicenseDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/LicenseDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/LinkDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/LinkDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/LinkDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ParticipationDataDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ParticipationDataDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ParticipationDataDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/RoomDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/RoomDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/RoomDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/SearchResultDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/SearchResultDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/SearchResultDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDataDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDataDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkDataDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkRequestResult.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkRequestResult.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/SocialNetworkRequestResult.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/StateAbstractDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateAbstractDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateAbstractDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/StateContainerDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateContainerDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateContainerDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/StateContentDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateContentDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateContentDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/StateNoContentDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateNoContentDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateNoContentDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/TagDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/TagDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/TagDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/TimeZoneDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/TimeZoneDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/TimeZoneDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ToolSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ToolSimpleDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ToolSimpleDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/UserBuddiesDataDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/UserBuddiesDataDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/UserBuddiesDataDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/UserDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/UserDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/UserDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/shared/dto/UserInfoDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/UserInfoDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/UserInfoDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -24,21 +24,22 @@
import com.google.gwt.user.client.rpc.IsSerializable;
public class UserInfoDTO implements IsSerializable {
- private UserSimpleDTO user;
private String chatName;
private String chatPassword;
- private String homePage;
- private String userHash;
+ private List<String> enabledTools;
private List<GroupDTO> groupsIsAdmin;
private List<GroupDTO> groupsIsCollab;
+ private String homePage;
private boolean showDeletedContent;
- private List<String> enabledTools;
+ private UserSimpleDTO user;
private GroupDTO userGroup;
+ private String userHash;
public String getChatName() {
return chatName;
}
+ @Deprecated
public String getChatPassword() {
return chatPassword;
}
@@ -95,6 +96,7 @@
this.chatName = chatName;
}
+ @Deprecated
public void setChatPassword(final String password) {
this.chatPassword = password;
Modified: trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/User.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/User.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/domain/User.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -28,6 +28,7 @@
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
+import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@@ -76,6 +77,11 @@
// @OneToOne(cascade = CascadeType.REMOVE)
// private final CustomProperties customProperties;
+ @Basic
+ @Lob
+ @Column(nullable = false)
+ private byte[] diggest;
+
@Column(unique = true, nullable = false)
@Email
@Length(min = 1)
@@ -102,6 +108,11 @@
@Length(min = 6, max = 40)
private String password;
+ @Basic
+ @Lob
+ @Column(nullable = false)
+ private byte[] salt;
+
@Field(index = Index.UN_TOKENIZED, store = Store.NO)
@Column(unique = true)
// http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-def…
@@ -120,7 +131,7 @@
// private Properties properties;
public User() {
- this(null, null, null, null, null, null, null);
+ this(null, null, null, null, null, null, null, null, null);
}
//
@@ -133,11 +144,14 @@
// }
public User(final String shortName, final String longName, final String email, final String passwd,
- final I18nLanguage language, final I18nCountry country, final TimeZone timezone) {
+ final byte[] diggets, final byte[] salt, final I18nLanguage language, final I18nCountry country,
+ final TimeZone timezone) {
this.shortName = shortName;
this.name = longName;
this.email = email;
this.password = passwd;
+ this.diggest = diggets;
+ this.salt = salt;
this.userGroup = null;
this.language = language;
this.country = country;
@@ -180,6 +194,10 @@
// return customProperties;
// }
+ public byte[] getDiggest() {
+ return diggest;
+ }
+
public String getEmail() {
return email;
}
@@ -205,13 +223,17 @@
return name;
}
+ // public Properties getProperties() {
+ // return properties;
+ // }
+
public String getPassword() {
return password;
}
- // public Properties getProperties() {
- // return properties;
- // }
+ public byte[] getSalt() {
+ return salt;
+ }
public String getShortName() {
return shortName;
@@ -243,6 +265,10 @@
this.country = country;
}
+ public void setDiggest(final byte[] diggest) {
+ this.diggest = diggest;
+ }
+
public void setEmail(final String email) {
this.email = email;
}
@@ -266,13 +292,11 @@
public void setPassword(final String password) {
this.password = password;
- // http://www.dynamic.net.au/christos/crypt/
- // Use UnixCrypt (jetty)
}
- // public void setProperties(final Properties properties) {
- // this.properties = properties;
- // }
+ public void setSalt(final byte[] salt) {
+ this.salt = salt;
+ }
public void setShortName(final String shortName) {
this.shortName = shortName;
Modified: trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -71,8 +71,15 @@
@Override
protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
req.setCharacterEncoding("UTF-8");
- String message = tryCreateUser(req.getParameter(HttpRequestBasedCallbackHandler.ADDRESS_FIELD),
- req.getParameter(HttpRequestBasedCallbackHandler.PASSWORD_FIELD));
+
+ final String username = req.getParameter(HttpRequestBasedCallbackHandler.ADDRESS_FIELD);
+ String passwd = req.getParameter(HttpRequestBasedCallbackHandler.PASSWORD_FIELD);
+ if (passwd == null) {
+ // Register the user with an empty password.
+ passwd = "";
+ }
+ final PasswordDigest passwordDigest = new PasswordDigest(passwd.toCharArray());
+ String message = tryCreateUser(username, passwordDigest);
String responseType = AuthenticationServlet.RESPONSE_STATUS_SUCCESS;
if (message != null) {
@@ -90,10 +97,9 @@
* Try to create a user with the provided username and password. On error,
* returns a string containing an error message. On success, returns null.
*/
- public String tryCreateUser(final String username, final String password) {
+ public String tryCreateUser(final String username, final PasswordDigest passwordDigest) {
String lusername = username;
- String lpassword = password;
- final String message = null;
+ // final String message = null;
ParticipantId id = null;
try {
@@ -130,12 +136,7 @@
return "An unexpected error occured while trying to retrieve account status";
}
- if (lpassword == null) {
- // Register the user with an empty password.
- lpassword = "";
- }
-
- final HumanAccountDataImpl account = new HumanAccountDataImpl(id, new PasswordDigest(lpassword.toCharArray()));
+ final HumanAccountDataImpl account = new HumanAccountDataImpl(id, passwordDigest);
try {
accountStore.putAccount(account);
} catch (final PersistenceException e) {
Modified: trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -66,7 +66,7 @@
public class WaveStarter {
private static final Log LOG = LogFactory.getLog(WaveStarter.class);
- private static final String PROPERTIES_FILE_KEY = "wave-server.properties";
+ public static final String PROPERTIES_FILE_KEY = "wave-server.properties";
private static Module buildFederationModule(final Injector settingsInjector, final boolean enableFederation)
throws ConfigurationException {
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/init/DatabaseInitializer.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -12,6 +12,7 @@
import org.ourproject.kune.platf.server.manager.LicenseManager;
import org.ourproject.kune.platf.server.manager.UserManager;
import org.ourproject.kune.platf.server.properties.DatabaseProperties;
+import org.waveprotocol.box.server.authentication.PasswordDigest;
import cc.kune.core.client.errors.UserMustBeLoggedException;
import cc.kune.core.shared.domain.ContentStatus;
@@ -59,11 +60,15 @@
final String adminEmail = properties.getAdminEmail();
final String adminPassword = properties.getAdminPassword();
// FIXME:
- final User user = new User(adminShortName, adminName, adminEmail, adminPassword,
- languageManager.findByCode("en"), countryManager.findByCode("GB"), TimeZone.getDefault());
+
+ final PasswordDigest passwdDigest = new PasswordDigest(adminPassword.toCharArray());
+ final User user = new User(adminShortName, adminName, adminEmail, adminPassword, passwdDigest.getDigest(),
+ passwdDigest.getSalt(), languageManager.findByCode("en"), countryManager.findByCode("GB"),
+ TimeZone.getDefault());
groupManager.createUserGroup(user, false);
final User dummyUser = new User("dummy", "dummy user", "example(a)example.com", adminPassword,
- languageManager.findByCode("en"), countryManager.findByCode("GB"), TimeZone.getDefault());
+ passwdDigest.getDigest(), passwdDigest.getSalt(), languageManager.findByCode("en"),
+ countryManager.findByCode("GB"), TimeZone.getDefault());
groupManager.createUserGroup(dummyUser, false);
final String siteName = properties.getDefaultSiteName();
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -205,6 +205,8 @@
throws GroupNameInUseException {
try {
persist(group);
+ } catch (final IllegalStateException e) {
+ e.printStackTrace();
} catch (final PersistenceException e) {
if (e.getCause() instanceof ConstraintViolationException) {
throw new GroupNameInUseException();
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -38,6 +38,7 @@
import org.ourproject.kune.platf.server.manager.I18nLanguageManager;
import org.ourproject.kune.platf.server.manager.UserManager;
import org.ourproject.kune.platf.server.properties.ChatProperties;
+import org.waveprotocol.box.server.authentication.PasswordDigest;
import cc.kune.core.client.errors.I18nNotFoundException;
import cc.kune.core.shared.i18n.I18nTranslationService;
@@ -90,13 +91,16 @@
} catch (final NoResultException e) {
throw new I18nNotFoundException();
}
- waveUserRegister.tryCreateUser(shortName, passwd);
+ final PasswordDigest passwdDigest = new PasswordDigest(passwd.toCharArray());
+
+ waveUserRegister.tryCreateUser(shortName, passwdDigest);
// if (userPropGroup == null) {
// userPropGroup = propGroupManager.find(User.PROPS_ID);
// }
// final Properties userProp = new Properties(userPropGroup);
// propManager.persist(userProp);
- final User user = new User(shortName, longName, email, passwd, language, country, tz);
+ final User user = new User(shortName, longName, email, passwd, passwdDigest.getDigest(),
+ passwdDigest.getSalt(), language, country, tz);
return user;
}
@@ -120,6 +124,7 @@
}
@Override
+ @Deprecated
public UserBuddiesData getUserBuddies(final String shortName) {
// XEP-133 get roster by admin part is not implemented in openfire
// also access to the openfire db is not easy with hibernate (the use of
@@ -128,6 +133,7 @@
// In the future cache this.
final String domain = "@" + properties.getDomain();
final UserBuddiesData buddiesData = new UserBuddiesData();
+
final User user = finder.getByShortName(shortName);
final ChatConnection connection = xmppManager.login(user.getShortName() + domain, user.getPassword(), "kserver");
final Collection<RosterEntry> roster = xmppManager.getRoster(connection);
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -23,8 +23,6 @@
import javax.persistence.NoResultException;
-import org.ourproject.kune.chat.server.ChatServerTool;
-import org.ourproject.kune.chat.server.managers.ChatConnection;
import org.ourproject.kune.chat.server.managers.XmppManager;
import org.ourproject.kune.platf.server.UserSession;
import org.ourproject.kune.platf.server.access.AccessRightsService;
@@ -48,7 +46,6 @@
import cc.kune.core.client.errors.AccessViolationException;
import cc.kune.core.client.errors.ContentNotFoundException;
import cc.kune.core.client.errors.DefaultException;
-import cc.kune.core.client.errors.GroupNotFoundException;
import cc.kune.core.client.errors.NoDefaultContentException;
import cc.kune.core.client.errors.ToolNotFoundException;
import cc.kune.core.client.rpcservices.ContentService;
@@ -80,19 +77,19 @@
@Singleton
public class ContentRPC implements ContentService, RPC {
+ private final AccessService accessService;
+ private final CommentManager commentManager;
+ private final ContainerManager containerManager;
+ private final ContentManager contentManager;
+ private final CreationService creationService;
+ private final FinderService finderService;
+ private final GroupManager groupManager;
+ private final Mapper mapper;
+ private final AccessRightsService rightsService;
private final StateService stateService;
+ private final TagUserContentManager tagManager;
private final Provider<UserSession> userSessionProvider;
- private final Mapper mapper;
- private final GroupManager groupManager;
- private final AccessService accessService;
- private final CreationService creationService;
private final XmppManager xmppManager;
- private final ContentManager contentManager;
- private final ContainerManager containerManager;
- private final TagUserContentManager tagManager;
- private final CommentManager commentManager;
- private final AccessRightsService rightsService;
- private final FinderService finderService;
@Inject
public ContentRPC(final FinderService finderService, final Provider<UserSession> userSessionProvider,
@@ -179,26 +176,30 @@
@Transactional(type = TransactionType.READ_WRITE)
public StateContainerDTO addRoom(final String userHash, final StateToken parentToken, final String roomName)
throws DefaultException {
- final String groupShortName = parentToken.getGroup();
- final User user = getCurrentUser();
- final String userShortName = user.getShortName();
- final ChatConnection connection = xmppManager.login(userShortName, user.getPassword(), userHash);
- xmppManager.createRoom(connection, roomName, userShortName + userHash);
- xmppManager.disconnect(connection);
- try {
- final Container container = createFolder(groupShortName, ContentUtils.parseId(parentToken.getFolder()),
- roomName, ChatServerTool.TYPE_ROOM);
- return getState(user, container);
- } catch (final ContentNotFoundException e) {
- xmppManager.destroyRoom(connection, roomName);
- throw new ContentNotFoundException();
- } catch (final AccessViolationException e) {
- xmppManager.destroyRoom(connection, roomName);
- throw new AccessViolationException();
- } catch (final GroupNotFoundException e) {
- xmppManager.destroyRoom(connection, roomName);
- throw new GroupNotFoundException();
- }
+ // final String groupShortName = parentToken.getGroup();
+ // final User user = getCurrentUser();
+ // final String userShortName = user.getShortName();
+ // final ChatConnection connection = xmppManager.login(userShortName,
+ // user.getPassword(), userHash);
+ // xmppManager.createRoom(connection, roomName, userShortName +
+ // userHash);
+ // xmppManager.disconnect(connection);
+ // try {
+ // final Container container = createFolder(groupShortName,
+ // ContentUtils.parseId(parentToken.getFolder()),
+ // roomName, ChatServerTool.TYPE_ROOM);
+ // return getState(user, container);
+ // } catch (final ContentNotFoundException e) {
+ // xmppManager.destroyRoom(connection, roomName);
+ // throw new ContentNotFoundException();
+ // } catch (final AccessViolationException e) {
+ // xmppManager.destroyRoom(connection, roomName);
+ // throw new AccessViolationException();
+ // } catch (final GroupNotFoundException e) {
+ // xmppManager.destroyRoom(connection, roomName);
+ // throw new GroupNotFoundException();
+ // }
+ return null;
}
@Override
@@ -210,6 +211,24 @@
return createContent(parentToken, "Wave embeded test", typeId, waveId);
}
+ private StateContentDTO createContent(final StateToken parentToken, final String title, final String typeId,
+ final String body) {
+ final User user = getCurrentUser();
+ final Container container = accessService.accessToContainer(ContentUtils.parseId(parentToken.getFolder()),
+ user, AccessRol.Editor);
+ final Content addedContent = creationService.createContent(title, body, user, container, typeId);
+ return getState(user, addedContent);
+ }
+
+ private Container createFolder(final String groupShortName, final Long parentFolderId, final String title,
+ final String typeId) throws DefaultException {
+ final User user = getCurrentUser();
+ final Group group = groupManager.findByShortName(groupShortName);
+ final Container container = creationService.createFolder(group, parentFolderId, title, user.getLanguage(),
+ typeId);
+ return container;
+ }
+
@Override
@Authenticated
@Authorizated(accessRolRequired = AccessRol.Administrator)
@@ -246,6 +265,40 @@
}
}
+ @Authenticated(mandatory = false)
+ @Authorizated(accessRolRequired = AccessRol.Viewer)
+ private StateAbstractDTO getContentOrDefContent(final String userHash, final StateToken stateToken,
+ final User user, final Content content) {
+ final Long id = content.getId();
+ if (id != null) {
+ // Content
+ return mapState(stateService.create(user, content), user);
+ } else {
+ // Container
+ final Container container = content.getContainer();
+ return mapState(stateService.create(user, container), user);
+ }
+ }
+
+ private User getCurrentUser() {
+ return getUserSession().getUser();
+ }
+
+ private StateContainerDTO getState(final User user, final Container container) {
+ final StateContainer state = stateService.create(user, container);
+ return mapState(state, user);
+ }
+
+ private StateContentDTO getState(final User user, final Content content) {
+ final StateContent state = stateService.create(user, content);
+ return mapState(state, user);
+ }
+
+ private TagCloudResult getSummaryTags(final Group group) {
+ final TagCloudResult result = tagManager.getTagCloudResultByGroup(group);
+ return result;
+ }
+
@Override
@Authenticated(mandatory = false)
@Authorizated(accessRolRequired = AccessRol.Viewer)
@@ -255,6 +308,45 @@
return getSummaryTags(group);
}
+ private UserSession getUserSession() {
+ return userSessionProvider.get();
+ }
+
+ private boolean isUserLoggedIn() {
+ return getUserSession().isUserLoggedIn();
+ }
+
+ private void mapContentRightsInstate(final User user, final AccessLists groupAccessList,
+ final ContentSimpleDTO siblingDTO) {
+ final Content sibling = contentManager.find(siblingDTO.getId());
+ final AccessLists lists = sibling.hasAccessList() ? sibling.getAccessLists() : groupAccessList;
+ siblingDTO.setRights(mapper.map(rightsService.get(user, lists), AccessRights.class));
+ }
+
+ private StateContainerDTO mapState(final StateContainer state, final User user) {
+ final StateContainerDTO stateDTO = mapper.map(state, StateContainerDTO.class);
+ final AccessLists groupAccessList = state.getGroup().getSocialNetwork().getAccessLists();
+ for (final ContentSimpleDTO siblingDTO : stateDTO.getRootContainer().getContents()) {
+ mapContentRightsInstate(user, groupAccessList, siblingDTO);
+ }
+ for (final ContentSimpleDTO siblingDTO : stateDTO.getContainer().getContents()) {
+ mapContentRightsInstate(user, groupAccessList, siblingDTO);
+ }
+ return stateDTO;
+ }
+
+ private StateContentDTO mapState(final StateContent state, final User user) {
+ final StateContentDTO stateDTO = mapper.map(state, StateContentDTO.class);
+ final AccessLists groupAccessList = state.getGroup().getSocialNetwork().getAccessLists();
+ for (final ContentSimpleDTO siblingDTO : stateDTO.getRootContainer().getContents()) {
+ mapContentRightsInstate(user, groupAccessList, siblingDTO);
+ }
+ for (final ContentSimpleDTO siblingDTO : stateDTO.getContainer().getContents()) {
+ mapContentRightsInstate(user, groupAccessList, siblingDTO);
+ }
+ return stateDTO;
+ }
+
@Override
@Authenticated
@Authorizated(accessRolRequired = AccessRol.Viewer)
@@ -320,6 +412,21 @@
return getContent(userHash, token);
}
+ private Content renameContent(final String documentId, final String newName) throws ContentNotFoundException,
+ DefaultException {
+ final Long contentId = ContentUtils.parseId(documentId);
+ final User user = getCurrentUser();
+ return contentManager.renameContent(user, contentId, newName);
+ }
+
+ private Container renameFolder(final String groupShortName, final Long folderId, final String newName)
+ throws DefaultException {
+ final Group group = groupManager.findByShortName(groupShortName);
+ final User user = getCurrentUser();
+ final Container container = accessService.accessToContainer(folderId, user, AccessRol.Editor);
+ return containerManager.renameFolder(group, container, newName);
+ }
+
@Override
@Authenticated
@Authorizated(accessRolRequired = AccessRol.Editor, mustCheckMembership = false)
@@ -413,110 +520,4 @@
return mapper.map(comment, CommentDTO.class);
}
- private StateContentDTO createContent(final StateToken parentToken, final String title, final String typeId,
- final String body) {
- final User user = getCurrentUser();
- final Container container = accessService.accessToContainer(ContentUtils.parseId(parentToken.getFolder()),
- user, AccessRol.Editor);
- final Content addedContent = creationService.createContent(title, body, user, container, typeId);
- return getState(user, addedContent);
- }
-
- private Container createFolder(final String groupShortName, final Long parentFolderId, final String title,
- final String typeId) throws DefaultException {
- final User user = getCurrentUser();
- final Group group = groupManager.findByShortName(groupShortName);
- final Container container = creationService.createFolder(group, parentFolderId, title, user.getLanguage(),
- typeId);
- return container;
- }
-
- @Authenticated(mandatory = false)
- @Authorizated(accessRolRequired = AccessRol.Viewer)
- private StateAbstractDTO getContentOrDefContent(final String userHash, final StateToken stateToken,
- final User user, final Content content) {
- final Long id = content.getId();
- if (id != null) {
- // Content
- return mapState(stateService.create(user, content), user);
- } else {
- // Container
- final Container container = content.getContainer();
- return mapState(stateService.create(user, container), user);
- }
- }
-
- private User getCurrentUser() {
- return getUserSession().getUser();
- }
-
- private StateContainerDTO getState(final User user, final Container container) {
- final StateContainer state = stateService.create(user, container);
- return mapState(state, user);
- }
-
- private StateContentDTO getState(final User user, final Content content) {
- final StateContent state = stateService.create(user, content);
- return mapState(state, user);
- }
-
- private TagCloudResult getSummaryTags(final Group group) {
- final TagCloudResult result = tagManager.getTagCloudResultByGroup(group);
- return result;
- }
-
- private UserSession getUserSession() {
- return userSessionProvider.get();
- }
-
- private boolean isUserLoggedIn() {
- return getUserSession().isUserLoggedIn();
- }
-
- private void mapContentRightsInstate(final User user, final AccessLists groupAccessList,
- final ContentSimpleDTO siblingDTO) {
- final Content sibling = contentManager.find(siblingDTO.getId());
- final AccessLists lists = sibling.hasAccessList() ? sibling.getAccessLists() : groupAccessList;
- siblingDTO.setRights(mapper.map(rightsService.get(user, lists), AccessRights.class));
- }
-
- private StateContainerDTO mapState(final StateContainer state, final User user) {
- final StateContainerDTO stateDTO = mapper.map(state, StateContainerDTO.class);
- final AccessLists groupAccessList = state.getGroup().getSocialNetwork().getAccessLists();
- for (final ContentSimpleDTO siblingDTO : stateDTO.getRootContainer().getContents()) {
- mapContentRightsInstate(user, groupAccessList, siblingDTO);
- }
- for (final ContentSimpleDTO siblingDTO : stateDTO.getContainer().getContents()) {
- mapContentRightsInstate(user, groupAccessList, siblingDTO);
- }
- return stateDTO;
- }
-
- private StateContentDTO mapState(final StateContent state, final User user) {
- final StateContentDTO stateDTO = mapper.map(state, StateContentDTO.class);
- final AccessLists groupAccessList = state.getGroup().getSocialNetwork().getAccessLists();
- for (final ContentSimpleDTO siblingDTO : stateDTO.getRootContainer().getContents()) {
- mapContentRightsInstate(user, groupAccessList, siblingDTO);
- }
- for (final ContentSimpleDTO siblingDTO : stateDTO.getContainer().getContents()) {
- mapContentRightsInstate(user, groupAccessList, siblingDTO);
- }
- return stateDTO;
- }
-
- private Content renameContent(final String documentId, final String newName) throws ContentNotFoundException,
- DefaultException {
- final Long contentId = ContentUtils.parseId(documentId);
- final User user = getCurrentUser();
- return contentManager.renameContent(user, contentId, newName);
- }
-
- private Container renameFolder(final String groupShortName, final Long folderId, final String newName)
- throws DefaultException {
- final Group group = groupManager.findByShortName(groupShortName);
- final User user = getCurrentUser();
- final Container container = accessService.accessToContainer(folderId, user, AccessRol.Editor);
- return containerManager.renameFolder(group, container, newName);
- }
-
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -27,16 +27,16 @@
import cc.kune.domain.User;
public class UserInfo {
- private User user;
private String chatName;
private String chatPassword;
- private String homePage;
+ private List<String> enabledTools;
private List<Group> groupsIsAdmin;
private List<Group> groupsIsCollab;
- private String userHash;
+ private String homePage;
private boolean showDeletedContent;
- private List<String> enabledTools;
+ private User user;
private Group userGroup;
+ private String userHash;
public String getChatName() {
return chatName;
@@ -98,6 +98,7 @@
this.chatName = chatName;
}
+ @Deprecated
public void setChatPassword(final String chatPassword) {
this.chatPassword = chatPassword;
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -34,8 +34,8 @@
@Singleton
public class UserInfoServiceDefault implements UserInfoService {
+ private final GroupManager groupManager;
private final SocialNetworkManager socialNetworkManager;
- private final GroupManager groupManager;
@Inject
public UserInfoServiceDefault(final SocialNetworkManager socialNetwork, final GroupManager groupManager) {
@@ -43,6 +43,7 @@
this.groupManager = groupManager;
}
+ @Override
public UserInfo buildInfo(final User user, final String userHash) throws DefaultException {
UserInfo userInfo = null;
if (User.isKnownUser(user)) {
Added: trunk/src/main/resources/wave-server-testing.properties
===================================================================
--- trunk/src/main/resources/wave-server-testing.properties (rev 0)
+++ trunk/src/main/resources/wave-server-testing.properties 2011-02-07 17:33:32 UTC (rev 1239)
@@ -0,0 +1,63 @@
+# Core Configuration for the Wave in a Box server
+#
+
+# Domain name of the wave server
+wave_server_domain = localhost
+
+# A comma separated list of address on which to listen for connections.
+# Each address is a comma separated host:port pair.
+http_frontend_public_address = localhost:9898
+http_frontend_addresses = ${http_frontend_public_address}
+http_baseurl = /
+resource_base = ./target/kune-0.0.7/
+
+### Server-specific variables
+###
+
+# Settings for the different persistence stores. Currently supported: file, file, mongodb
+signer_info_store_type = memory
+
+# The location where signer info certificate data is stored on disk. This should be changed.
+# Note: This is only used when using the file signer info store. It is ignored
+# for other data store types.
+signer_info_store_directory = _certificates
+
+# Currently supported attachment types: mongodb, disk
+attachment_store_type = disk
+
+# The location where attachments are stored on disk. This should be changed.
+# Note: This is only used when using the disk attachment store. It is ignored
+# for other data store types.
+attachment_store_directory = _attachments
+
+# Currently supported account store types: fake, memory, file, mongodb
+account_store_type = memory
+
+# The location where accounts are stored on disk. This should be changed.
+# Note: This is only used when using the file account store. It is ignored
+# for other data store types.
+account_store_directory = _accounts
+
+# Currently supported delta store types: memory, file
+delta_store_type = memory
+
+# The location where deltas are stored on disk. This should be changed.
+# Note: This is only used when using the file delta store. It is ignored
+# for other data store types.
+delta_store_directory = _deltas
+
+# Set true to use Socket.IO instead of raw WebSockets in the webclient.
+use_socketio = true
+
+# To enable federation, edit the server.federation.config file and uncomment the line below
+#include = server.federation.config
+
+# These two parameters MUST appear in this file AFTER the above include of the
+# federation config file. This is necesary so that the federation config file
+# can override these two values.
+
+# Set true to disable the verification of signed deltas
+waveserver_disable_verification = true
+
+# Set true to disable the verification of signers (certificates)
+waveserver_disable_signer_verification = true
Property changes on: trunk/src/main/resources/wave-server-testing.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -28,6 +28,7 @@
import com.google.inject.Inject;
public abstract class IntegrationTest {
+
@Inject
DatabaseProperties properties;
@Inject
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -21,13 +21,19 @@
import javax.servlet.http.HttpServletRequest;
+import org.apache.commons.configuration.ConfigurationException;
import org.ourproject.kune.chat.server.ChatServerModule;
import org.ourproject.kune.docs.server.DocumentServerModule;
import org.ourproject.kune.platf.server.KunePersistenceService;
import org.ourproject.kune.platf.server.PlatformServerModule;
+import org.ourproject.kune.platf.server.TestConstants;
import org.ourproject.kune.platf.server.properties.PropertiesFileName;
import org.ourproject.kune.wiki.server.WikiServerModule;
+import org.waveprotocol.box.server.CoreSettings;
+import org.waveprotocol.box.server.persistence.PersistenceModule;
+import cc.kune.wave.server.CustomSettingsBinder;
+
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
@@ -39,22 +45,32 @@
public class IntegrationTestHelper {
public static Injector createInjector() {
- final Injector injector = Guice.createInjector(new PlatformServerModule(), new DocumentServerModule(),
- new ChatServerModule(), new WikiServerModule(), new AbstractModule() {
- @Override
- protected void configure() {
- bindScope(SessionScoped.class, Scopes.SINGLETON);
- bindScope(RequestScoped.class, Scopes.SINGLETON);
- // test: use
- // memory
- // test_db: use
- // mysql
- bindConstant().annotatedWith(JpaUnit.class).to("test");
- bindConstant().annotatedWith(PropertiesFileName.class).to("kune.properties");
- bind(HttpServletRequest.class).to(HttpServletRequestMocked.class);
- }
- });
- return injector;
+ Injector injector;
+ try {
+ injector = Guice.createInjector(CustomSettingsBinder.bindSettings(TestConstants.WAVE_TEST_PROPFILE,
+ CoreSettings.class));
+ final PersistenceModule persistenceModule = injector.getInstance(PersistenceModule.class);
+
+ final Injector childInjector = injector.createChildInjector(persistenceModule, new PlatformServerModule(),
+ new DocumentServerModule(), new ChatServerModule(), new WikiServerModule(), new AbstractModule() {
+ @Override
+ protected void configure() {
+ bindScope(SessionScoped.class, Scopes.SINGLETON);
+ bindScope(RequestScoped.class, Scopes.SINGLETON);
+ // test: use
+ // memory
+ // test_db: use
+ // mysql
+ bindConstant().annotatedWith(JpaUnit.class).to(TestConstants.PERSISTENCE_UNIT);
+ bindConstant().annotatedWith(PropertiesFileName.class).to("kune.properties");
+ bind(HttpServletRequest.class).to(HttpServletRequestMocked.class);
+ }
+ });
+ return childInjector;
+ } catch (final ConfigurationException e) {
+ e.printStackTrace();
+ }
+ return null;
}
public IntegrationTestHelper(final Object... tests) {
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -19,7 +19,9 @@
*/
package org.ourproject.kune.platf.integration.site;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
import java.util.List;
@@ -49,20 +51,34 @@
import com.google.inject.Inject;
public class UserServiceTest extends IntegrationTest {
+ private I18nCountryDTO country;
@Inject
+ I18nLanguageManager i18nLangManager;
+ private I18nLanguageDTO lang;
+ @Inject
+ Mapper mapper;
+ @Inject
DatabaseProperties properties;
+ private TimeZoneDTO timezone;
@Inject
- UserService userService;
- @Inject
UserInfoService userInfoService;
@Inject
- Mapper mapper;
- @Inject
- I18nLanguageManager i18nLangManager;
- private I18nLanguageDTO lang;
- private I18nCountryDTO country;
- private TimeZoneDTO timezone;
+ UserService userService;
+ private void assertEqualGroupLists(final List<GroupDTO> listDTO, final List<Group> list) {
+ assertEquals(listDTO.size(), list.size());
+ for (int i = 0; i < listDTO.size(); i++) {
+ final Object object = listDTO.get(i);
+ assertEquals(GroupDTO.class, object.getClass());
+ final GroupDTO d = (GroupDTO) object;
+ final Group l = list.get(i);
+ assertNotNull(d);
+ assertNotNull(l);
+ final GroupDTO map = mapper.map(l, GroupDTO.class);
+ assertEquals(map.getShortName(), d.getShortName());
+ }
+ }
+
@Test(expected = EmailAddressInUseException.class)
public void createUserExistingEmailFails() throws Exception {
assertNull(session.getUser().getId());
@@ -118,24 +134,9 @@
final UserInfoDTO userInfoDTO = mapper.map(userInfo, UserInfoDTO.class);
assertEquals(userInfo.getName(), userInfoDTO.getName());
assertEquals(userInfo.getChatName(), userInfoDTO.getChatName());
- assertEquals(userInfo.getChatPassword(), userInfoDTO.getChatPassword());
final List<Group> adminsGroup = userInfo.getGroupsIsAdmin();
final List<GroupDTO> adminsGroupDTO = userInfoDTO.getGroupsIsAdmin();
assertEqualGroupLists(adminsGroupDTO, adminsGroup);
}
- private void assertEqualGroupLists(final List<GroupDTO> listDTO, final List<Group> list) {
- assertEquals(listDTO.size(), list.size());
- for (int i = 0; i < listDTO.size(); i++) {
- final Object object = listDTO.get(i);
- assertEquals(GroupDTO.class, object.getClass());
- final GroupDTO d = (GroupDTO) object;
- final Group l = list.get(i);
- assertNotNull(d);
- assertNotNull(l);
- final GroupDTO map = mapper.map(l, GroupDTO.class);
- assertEquals(map.getShortName(), d.getShortName());
- }
- }
-
}
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -48,7 +48,7 @@
protected static final String USER_EMAIL = "useremail(a)example.com";
protected static final String USER_LONG_NAME = "the user long name";
protected static final String USER_PASSWORD = "userPassword";
- protected static final String USER_SHORT_NAME = "user-shortname";
+ protected static final String USER_SHORT_NAME = "usershortname";
protected Container container;
@Inject
@@ -81,9 +81,6 @@
protected UserManager userManager;
public PersistencePreLoadedDataTest() {
- // test: use memory
- // test_db: use mysql
- // super("test_db", "kune.properties");
}
@After
Added: trunk/src/test/java/org/ourproject/kune/platf/server/TestConstants.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/TestConstants.java (rev 0)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/TestConstants.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -0,0 +1,11 @@
+package org.ourproject.kune.platf.server;
+
+public final class TestConstants {
+ // test: use memory
+ // test_db: use mysql
+ public static final String PERSISTENCE_UNIT = "test_db";
+ public static final String WAVE_TEST_PROPFILE = "wave-server-testing.properties";
+
+ private TestConstants() {
+ }
+}
Property changes on: trunk/src/test/java/org/ourproject/kune/platf/server/TestConstants.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -21,7 +21,6 @@
import java.util.TimeZone;
-
import cc.kune.core.shared.domain.AdmissionType;
import cc.kune.domain.AccessLists;
import cc.kune.domain.Container;
@@ -35,7 +34,7 @@
public static AccessLists createAccessLists(final Group groupAdmin, final Group groupEditor, final Group groupViewer) {
- AccessLists lists = new AccessLists();
+ final AccessLists lists = new AccessLists();
if (groupAdmin != null) {
lists.addAdmin(groupAdmin);
}
@@ -49,7 +48,7 @@
}
public static String createBigText() {
- String text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce leo felis, cursus eget, scelerisque adipiscing, fringilla vel, sem. Vestibulum semper tristique sem. Etiam quam neque, consectetuer at, fermentum id, vulputate non, leo. Ut condimentum, mauris et sollicitudin faucibus, lectus arcu facilisis mi, eu pretium arcu tortor quis sem. Pellentesque sit amet nulla ut tellus dapibus blandit. Donec eu dolor vitae mi scelerisque pretium. Donec sit amet nunc ut risus laoreet porta. Integer dictum mi at mauris. Vivamus vulputate, dolor quis pharetra interdum, augue nisi congue eros, a consectetuer libero mi ut quam. Fusce commodo sem blandit massa. Phasellus vehicula varius felis.\n"
+ final String text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce leo felis, cursus eget, scelerisque adipiscing, fringilla vel, sem. Vestibulum semper tristique sem. Etiam quam neque, consectetuer at, fermentum id, vulputate non, leo. Ut condimentum, mauris et sollicitudin faucibus, lectus arcu facilisis mi, eu pretium arcu tortor quis sem. Pellentesque sit amet nulla ut tellus dapibus blandit. Donec eu dolor vitae mi scelerisque pretium. Donec sit amet nunc ut risus laoreet porta. Integer dictum mi at mauris. Vivamus vulputate, dolor quis pharetra interdum, augue nisi congue eros, a consectetuer libero mi ut quam. Fusce commodo sem blandit massa. Phasellus vehicula varius felis.\n"
+ "\n"
+ "Aenean tempus. Ut vel elit a nisl adipiscing commodo. Suspendisse nibh. Praesent pellentesque. Curabitur fringilla tempor justo. Suspendisse bibendum faucibus ipsum. Aenean porta elementum pede. Sed vel odio et metus egestas ultrices. Nulla facilisi. Sed blandit fermentum purus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam adipiscing. Suspendisse dapibus, est porta vehicula auctor, diam orci scelerisque risus, eu condimentum enim pede ut turpis. Nullam turpis. Aliquam erat volutpat. Integer vitae magna. Mauris sit amet turpis.\n"
+ "\n"
@@ -198,9 +197,9 @@
}
public static Content createDescriptor(final long id, final String title, final String content) {
- Content descriptor = new Content();
+ final Content descriptor = new Content();
descriptor.setId(id);
- Revision rev = new Revision(descriptor);
+ final Revision rev = new Revision(descriptor);
descriptor.addRevision(rev);
rev.setTitle(title);
rev.setBody(content);
@@ -208,15 +207,15 @@
}
public static Container createFolderWithId(final long id) {
- Container container = new Container();
+ final Container container = new Container();
container.setId(id);
return container;
}
public static Container createFolderWithIdAndGroupAndTool(final int i, final String groupShortName,
final String toolName) {
- Container container = createFolderWithIdAndToolName(i, toolName);
- Group owner = new Group();
+ final Container container = createFolderWithIdAndToolName(i, toolName);
+ final Group owner = new Group();
owner.setShortName(groupShortName);
container.setOwner(owner);
return container;
@@ -224,13 +223,13 @@
}
public static Container createFolderWithIdAndToolName(final int i, final String toolName) {
- Container container = createFolderWithId(i);
+ final Container container = createFolderWithId(i);
container.setToolName(toolName);
return container;
}
public static Group createGroup(final int number) {
- Group group = new Group("ysei" + number, "Yellow Submarine Environmental Initiative" + number);
+ final Group group = new Group("ysei" + number, "Yellow Submarine Environmental Initiative" + number);
group.setId(Long.valueOf(number));
return group;
}
@@ -238,7 +237,7 @@
public static SocialNetwork createSocialNetwork(final Group groupInAdmins, final Group groupInCollab,
final Group groupInViewer, final Group groupInPendings) {
- SocialNetwork socialNetwork = new SocialNetwork();
+ final SocialNetwork socialNetwork = new SocialNetwork();
socialNetwork.addAdmin(groupInAdmins);
socialNetwork.addCollaborator(groupInCollab);
socialNetwork.addViewer(groupInViewer);
@@ -247,11 +246,11 @@
}
public static User createUser(final int number) {
- String shortName = "shortname" + number;
- String longName = "name" + number;
- User user = new User(shortName, longName, "email@domain" + number, "password" + number, null, null,
- TimeZone.getDefault());
- Group userGroup = new Group(shortName, longName);
+ final String shortName = "shortname" + number;
+ final String longName = "name" + number;
+ final User user = new User(shortName, longName, "email@domain" + number, ("password" + number),
+ "diggest".getBytes(), "salt".getBytes(), null, null, TimeZone.getDefault());
+ final Group userGroup = new Group(shortName, longName);
userGroup.setAdmissionType(AdmissionType.Closed);
userGroup.setSocialNetwork(createSocialNetwork(userGroup, userGroup, userGroup, null));
user.setUserGroup(userGroup);
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -21,38 +21,64 @@
import javax.servlet.http.HttpServletRequest;
+import org.apache.commons.configuration.ConfigurationException;
import org.ourproject.kune.platf.integration.HttpServletRequestMocked;
import org.ourproject.kune.platf.server.properties.PropertiesFileName;
+import org.waveprotocol.box.server.CoreSettings;
+import org.waveprotocol.box.server.authentication.AccountStoreHolder;
+import org.waveprotocol.box.server.persistence.AccountStore;
+import org.waveprotocol.box.server.persistence.PersistenceException;
+import org.waveprotocol.box.server.persistence.PersistenceModule;
+import cc.kune.wave.server.CustomSettingsBinder;
+
import com.google.inject.Binder;
import com.google.inject.Guice;
import com.google.inject.Injector;
+import com.google.inject.Key;
import com.google.inject.Module;
import com.google.inject.Scopes;
+import com.google.inject.name.Names;
import com.google.inject.servlet.RequestScoped;
import com.google.inject.servlet.SessionScoped;
import com.wideplay.warp.jpa.JpaUnit;
public abstract class TestHelper {
public static Injector create(final Module module, final String persistenceUnit, final String propetiesFileName) {
- final Injector injector = Guice.createInjector(module, new Module() {
- @Override
- public void configure(final Binder binder) {
- binder.bindScope(SessionScoped.class, Scopes.SINGLETON);
- binder.bindScope(RequestScoped.class, Scopes.SINGLETON);
- binder.bindConstant().annotatedWith(JpaUnit.class).to(persistenceUnit);
- binder.bindConstant().annotatedWith(PropertiesFileName.class).to(propetiesFileName);
- binder.bind(HttpServletRequest.class).to(HttpServletRequestMocked.class);
- }
- });
- return injector;
+ try {
+ final Injector injector = Guice.createInjector(CustomSettingsBinder.bindSettings(
+ TestConstants.WAVE_TEST_PROPFILE, CoreSettings.class));
+ final PersistenceModule persistenceModule = injector.getInstance(PersistenceModule.class);
+ final Injector childInjector = injector.createChildInjector(persistenceModule, module, new Module() {
+ @Override
+ public void configure(final Binder binder) {
+ binder.bindScope(SessionScoped.class, Scopes.SINGLETON);
+ binder.bindScope(RequestScoped.class, Scopes.SINGLETON);
+ binder.bindConstant().annotatedWith(JpaUnit.class).to(persistenceUnit);
+ binder.bindConstant().annotatedWith(PropertiesFileName.class).to(propetiesFileName);
+ binder.bind(HttpServletRequest.class).to(HttpServletRequestMocked.class);
+ }
+ });
+ final AccountStore accountStore = childInjector.getInstance(AccountStore.class);
+ accountStore.initializeAccountStore();
+ AccountStoreHolder.resetForTesting();
+ AccountStoreHolder.init(accountStore,
+ childInjector.getInstance(Key.get(String.class, Names.named(CoreSettings.WAVE_SERVER_DOMAIN))));
+ return childInjector;
+ } catch (final ConfigurationException e) {
+ e.printStackTrace();
+ } catch (final PersistenceException e) {
+ e.printStackTrace();
+ }
+ return null;
}
public static void inject(final Object target) {
// test: use memory
// test_db: use mysql
// Also configurable ein PersistenceTest
- TestHelper.create(new PlatformServerModule(), "test_db", "kune.properties").injectMembers(target);
+ TestHelper.create(new PlatformServerModule(), TestConstants.PERSISTENCE_UNIT, "kune.properties").injectMembers(
+ target);
}
}
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -17,42 +17,44 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-package org.ourproject.kune.platf.server.finders;
-
-import static junit.framework.Assert.assertEquals;
-import static junit.framework.Assert.assertNotNull;
-
-import java.util.List;
-import java.util.TimeZone;
-
-import org.junit.Before;
-import org.junit.Test;
-import org.ourproject.kune.platf.server.PersistencePreLoadedDataTest;
-
-import cc.kune.domain.User;
-
-import com.google.inject.Inject;
-
-public class UserFinderTest extends PersistencePreLoadedDataTest {
- @Inject
- User finder;
-
- @Test
- public void findAll() {
- List<User> all = finder.getAll();
- assertEquals(3, all.size());
- }
-
- @Test
- public void findByEmail() {
- User user = finder.getByEmail("one(a)here.com");
- assertNotNull(user);
- }
-
- @Before
- public void initData() {
- persist(new User("shortname1", "the name1", "one(a)here.com", "password1", english, gb, TimeZone.getDefault()));
- persist(new User("shortname2", "the name2", "two(a)here.com", "password1", english, gb, TimeZone.getDefault()));
- }
-
-}
+package org.ourproject.kune.platf.server.finders;
+
+import static junit.framework.Assert.assertEquals;
+import static junit.framework.Assert.assertNotNull;
+
+import java.util.List;
+import java.util.TimeZone;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.ourproject.kune.platf.server.PersistencePreLoadedDataTest;
+
+import cc.kune.domain.User;
+
+import com.google.inject.Inject;
+
+public class UserFinderTest extends PersistencePreLoadedDataTest {
+ @Inject
+ User finder;
+
+ @Test
+ public void findAll() {
+ final List<User> all = finder.getAll();
+ assertEquals(3, all.size());
+ }
+
+ @Test
+ public void findByEmail() {
+ final User user = finder.getByEmail("one(a)here.com");
+ assertNotNull(user);
+ }
+
+ @Before
+ public void initData() {
+ persist(new User("shortname1", "the name1", "one(a)here.com", "password1", "diggest".getBytes(),
+ "salt".getBytes(), english, gb, TimeZone.getDefault()));
+ persist(new User("shortname2", "the name2", "two(a)here.com", "password1", "somediggest".getBytes(),
+ "salt".getBytes(), english, gb, TimeZone.getDefault()));
+ }
+
+}
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -45,19 +45,22 @@
@Test
public void emailCorrect() {
- user = new User("test1", "test1 name", "test(a)example.com", "some passwd", english, gb, getTimeZone());
+ user = new User("test1", "test1 name", "test(a)example.com", "some passwd", "somediggest".getBytes(),
+ "some salt".getBytes(), english, gb, getTimeZone());
persist(user);
}
@Test(expected = PersistenceException.class)
public void emailEmpty() {
- user = new User("test1", "test1 name", null, "some passwd", english, gb, getTimeZone());
+ user = new User("test1", "test1 name", null, "some passwd", "somediggest".getBytes(), "some salt".getBytes(),
+ english, gb, getTimeZone());
persist(user);
}
@Test(expected = InvalidStateException.class)
public void emailIncorrect() {
- user = new User("test1", "test1 name", "falseEmail@", "some passwd", english, gb, getTimeZone());
+ user = new User("test1", "test1 name", "falseEmail@", "some passwd", "somediggest".getBytes(),
+ "some salt".getBytes(), english, gb, getTimeZone());
persist(user);
}
@@ -85,7 +88,8 @@
@Test(expected = InvalidStateException.class)
public void passwdLengthIncorrect() {
- user = new User("test1", "test1 name", "test(a)example.com", "pass", english, gb, getTimeZone());
+ user = new User("test1", "test1 name", "test(a)example.com", "pass", "diggest".getBytes(), "salt".getBytes(),
+ english, gb, getTimeZone());
persist(user);
}
@@ -105,7 +109,8 @@
@Test(expected = InvalidStateException.class)
public void userNameLengthIncorrect() {
- user = new User("test1", "te", "test(a)example.com", "some passwd", english, gb, getTimeZone());
+ user = new User("test1", "te", "test(a)example.com", "some passwd", "diggest".getBytes(), "salt".getBytes(),
+ english, gb, getTimeZone());
persist(user);
}
@@ -120,7 +125,8 @@
@Test(expected = InvalidStateException.class)
public void userShortNameIncorrect() {
- user = new User("test1A", "test1 name", "test(a)example.com", "some passwd", english, gb, getTimeZone());
+ user = new User("test1A", "test1 name", "test(a)example.com", "some passwd", "diggest".getBytes(),
+ "salt".getBytes(), english, gb, getTimeZone());
persist(user);
}
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -19,7 +19,10 @@
*/
package org.ourproject.kune.platf.server.mapper;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
@@ -63,13 +66,67 @@
import com.google.inject.Inject;
public class MapperTest {
+ private static final String TESTGROUPSHORTNAME = "grouptest";
private static final String TESTTOOL = "docs";
- private static final String TESTGROUPSHORTNAME = "grouptest";
@Inject
+ GroupManager groupManager;
+ @Inject
Mapper mapper;
- @Inject
- GroupManager groupManager;
+ private void assertMapping(final GroupListMode mode, final String modeName) {
+ final GroupList list = new GroupList();
+ list.setMode(mode);
+ final GroupListDTO dto = mapper.map(list, GroupListDTO.class);
+ assertEquals(modeName, dto.getMode());
+ final GroupList listBack = mapper.map(dto, GroupList.class);
+ assertEquals(mode, listBack.getMode());
+ }
+
+ private void assertValidAccessListsMapping(final GroupList groupList, final GroupListDTO groupListDTO) {
+ final List<Group> listOrig = groupList.getList();
+ final List<GroupDTO> listDto = groupListDTO.getList();
+ assertEquals(listDto.size(), listOrig.size());
+ for (int i = 0; i < listDto.size(); i++) {
+ final Object object = listDto.get(i);
+ assertEquals(GroupDTO.class, object.getClass());
+ final GroupDTO d = (GroupDTO) object;
+ final Group g = listOrig.get(i);
+ assertNotNull(d);
+ assertNotNull(g);
+ final GroupDTO map = mapper.map(g, GroupDTO.class);
+ assertEquals(map, d);
+ }
+ }
+
+ private Container createDefContainer() {
+ return createDefContainer(createDeGroup());
+ }
+
+ private Container createDefContainer(final Group group) {
+ final Container container = new Container();
+ container.setId(1L);
+ container.setToolName(TESTTOOL);
+ container.setOwner(group);
+ container.setName("folder");
+ return container;
+ }
+
+ private Content createDefContent() {
+ final Container container = createDefContainer(createDeGroup());
+ final Content d = new Content();
+ d.setId(1L);
+ final Revision revision = new Revision(d);
+ revision.setTitle("title");
+ d.addRevision(revision);
+ d.setContainer(container);
+ return d;
+ }
+
+ private Group createDeGroup() {
+ final Group group = new Group(TESTGROUPSHORTNAME, "This is a group Test");
+ return group;
+ }
+
@Test
public void groupHasLogo() {
final Group group = new Group("test", "this is a test");
@@ -296,63 +353,9 @@
@Test
public void testUserToLinkMappping() {
- final User user = new User("shortName", "longName", "", "", null, null, null);
+ final User user = new User("shortName", "longName", "", "", "".getBytes(), "".getBytes(), null, null, null);
final LinkDTO dto = mapper.map(user, LinkDTO.class);
assertEquals("shortName", dto.getShortName());
assertEquals("longName", dto.getLongName());
}
-
- private void assertMapping(final GroupListMode mode, final String modeName) {
- final GroupList list = new GroupList();
- list.setMode(mode);
- final GroupListDTO dto = mapper.map(list, GroupListDTO.class);
- assertEquals(modeName, dto.getMode());
- final GroupList listBack = mapper.map(dto, GroupList.class);
- assertEquals(mode, listBack.getMode());
- }
-
- private void assertValidAccessListsMapping(final GroupList groupList, final GroupListDTO groupListDTO) {
- final List<Group> listOrig = groupList.getList();
- final List<GroupDTO> listDto = groupListDTO.getList();
- assertEquals(listDto.size(), listOrig.size());
- for (int i = 0; i < listDto.size(); i++) {
- final Object object = listDto.get(i);
- assertEquals(GroupDTO.class, object.getClass());
- final GroupDTO d = (GroupDTO) object;
- final Group g = listOrig.get(i);
- assertNotNull(d);
- assertNotNull(g);
- final GroupDTO map = mapper.map(g, GroupDTO.class);
- assertEquals(map, d);
- }
- }
-
- private Container createDefContainer() {
- return createDefContainer(createDeGroup());
- }
-
- private Container createDefContainer(final Group group) {
- final Container container = new Container();
- container.setId(1L);
- container.setToolName(TESTTOOL);
- container.setOwner(group);
- container.setName("folder");
- return container;
- }
-
- private Content createDefContent() {
- final Container container = createDefContainer(createDeGroup());
- final Content d = new Content();
- d.setId(1L);
- final Revision revision = new Revision(d);
- revision.setTitle("title");
- d.addRevision(revision);
- d.setContainer(container);
- return d;
- }
-
- private Group createDeGroup() {
- final Group group = new Group(TESTGROUPSHORTNAME, "This is a group Test");
- return group;
- }
}
Modified: trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java 2011-02-07 03:17:47 UTC (rev 1238)
+++ trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java 2011-02-07 17:33:32 UTC (rev 1239)
@@ -22,7 +22,6 @@
import java.util.HashMap;
import java.util.TimeZone;
-
import cc.kune.core.shared.dto.GroupType;
import cc.kune.domain.AccessLists;
import cc.kune.domain.Group;
@@ -32,8 +31,8 @@
import cc.kune.domain.User;
public class DomainContext {
- private final HashMap<String, User> users;
private final HashMap<String, Group> groups;
+ private final HashMap<String, User> users;
public DomainContext() {
this.users = new HashMap<String, User>();
@@ -42,7 +41,7 @@
public void createGroups(final String... groupNames) {
Group group;
- for (String name : groupNames) {
+ for (final String name : groupNames) {
group = new Group("name", "Some group: " + name);
groups.put(name, group);
}
@@ -50,7 +49,7 @@
public void createOrphanGroup(final String... groupNames) {
Group group;
- for (String name : groupNames) {
+ for (final String name : groupNames) {
group = new Group("name", "Some group: " + name);
group.setGroupType(GroupType.ORPHANED_PROJECT);
groups.put(name, group);
@@ -59,9 +58,9 @@
public void createUsers(final String... userNames) {
User user;
- for (String name : userNames) {
- user = new User(name, "long" + name, name + "@email.com", "password" + name, new I18nLanguage(),
- new I18nCountry(), TimeZone.getDefault());
+ for (final String name : userNames) {
+ user = new User(name, "long" + name, name + "@email.com", ("password" + name), "diggest".getBytes(),
+ "salt".getBytes(), new I18nLanguage(), new I18nCountry(), TimeZone.getDefault());
user.setUserGroup(new Group(name, "groupLong" + name));
users.put(name, user);
}
@@ -76,11 +75,17 @@
}
public Group getGroupOf(final String userName) {
- User user = getUser(userName);
- Group userGroup = user.getUserGroup();
+ final User user = getUser(userName);
+ final Group userGroup = user.getUserGroup();
return userGroup;
}
+ private SocialNetwork getSocialNetworkOf(final String userName) {
+ final Group userGroup = getGroupOf(userName);
+ final SocialNetwork socialNetwork = userGroup.getSocialNetwork();
+ return socialNetwork;
+ }
+
public User getUser(final String userName) {
return users.get(userName);
}
@@ -89,10 +94,4 @@
return new SocialNetworkOperator(this, getSocialNetworkOf(userName));
}
- private SocialNetwork getSocialNetworkOf(final String userName) {
- Group userGroup = getGroupOf(userName);
- SocialNetwork socialNetwork = userGroup.getSocialNetwork();
- return socialNetwork;
- }
-
}
1
0
07 Feb '11
Author: vjrj_
Date: 2011-02-07 04:17:47 +0100 (Mon, 07 Feb 2011)
New Revision: 1238
Added:
trunk/src/main/java/cc/kune/core/client/resources/kune-anim-g.gif
Log:
WIAB integration updated
Added: trunk/src/main/java/cc/kune/core/client/resources/kune-anim-g.gif
===================================================================
(Binary files differ)
Property changes on: trunk/src/main/java/cc/kune/core/client/resources/kune-anim-g.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
1
0
Author: vjrj_
Date: 2011-02-07 04:12:50 +0100 (Mon, 07 Feb 2011)
New Revision: 1237
Added:
trunk/src/main/java/cc/kune/core/client/groups/
trunk/src/main/java/cc/kune/core/client/groups/newgroup/
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroup.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java
trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
Removed:
trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java
trunk/src/main/java/cc/kune/core/public/js/jquery-1.3.2.min.js
trunk/src/main/java/cc/kune/core/public/js/jquery.qtip-1.0.0-rc3.min.js
trunk/src/main/java/cc/kune/core/public/js/qtip/
Modified:
trunk/.classpath
trunk/pom.xml
trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java
trunk/src/main/java/cc/kune/client/KuneGinjector.java
trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.ui.xml
trunk/src/main/java/cc/kune/core/Core.gwt.xml
trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
trunk/src/main/java/cc/kune/core/client/auth/Register.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterForm.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterView.java
trunk/src/main/java/cc/kune/core/client/auth/SignIn.java
trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPresenter.java
trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractView.java
trunk/src/main/java/cc/kune/core/client/auth/SignInForm.java
trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java
trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java
trunk/src/main/java/cc/kune/core/client/auth/SignInView.java
trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
trunk/src/main/java/cc/kune/core/public/ws.html
trunk/src/main/java/cc/kune/domain/AccessLists.java
trunk/src/main/java/cc/kune/domain/BasicMimeType.java
trunk/src/main/java/cc/kune/domain/Comment.java
trunk/src/main/java/cc/kune/domain/Container.java
trunk/src/main/java/cc/kune/domain/ContainerTranslation.java
trunk/src/main/java/cc/kune/domain/Content.java
trunk/src/main/java/cc/kune/domain/ContentTranslation.java
trunk/src/main/java/cc/kune/domain/CustomProperties.java
trunk/src/main/java/cc/kune/domain/Group.java
trunk/src/main/java/cc/kune/domain/GroupList.java
trunk/src/main/java/cc/kune/domain/I18nCountry.java
trunk/src/main/java/cc/kune/domain/I18nLanguage.java
trunk/src/main/java/cc/kune/domain/I18nTranslation.java
trunk/src/main/java/cc/kune/domain/License.java
trunk/src/main/java/cc/kune/domain/Rate.java
trunk/src/main/java/cc/kune/domain/Revision.java
trunk/src/main/java/cc/kune/domain/SocialNetwork.java
trunk/src/main/java/cc/kune/domain/Tag.java
trunk/src/main/java/cc/kune/domain/ToolConfiguration.java
trunk/src/main/java/cc/kune/domain/User.java
trunk/src/main/java/cc/kune/domain/utils/DataFieldBridge.java
trunk/src/main/java/cc/kune/domain/utils/HasId.java
trunk/src/main/java/cc/kune/domain/utils/HasStateToken.java
trunk/src/main/java/cc/kune/domain/utils/ParticipationData.java
trunk/src/main/java/cc/kune/domain/utils/SocialNetworkData.java
trunk/src/main/java/cc/kune/domain/utils/UserBuddiesData.java
trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java
trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
trunk/src/main/java/org/ourproject/kune/rack/ContainerListener.java
trunk/src/main/java/org/ourproject/kune/rack/Rack.java
trunk/src/main/java/org/ourproject/kune/rack/RackBuilder.java
trunk/src/main/java/org/ourproject/kune/rack/RackHelper.java
trunk/src/main/java/org/ourproject/kune/rack/RackModule.java
trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
trunk/src/main/java/org/ourproject/kune/rack/dock/AbstractDock.java
trunk/src/main/java/org/ourproject/kune/rack/dock/Dock.java
trunk/src/main/java/org/ourproject/kune/rack/dock/RegexDock.java
trunk/src/main/java/org/ourproject/kune/rack/dock/RegexMatcher.java
trunk/src/main/java/org/ourproject/kune/rack/dock/RequestMatcher.java
trunk/src/main/java/org/ourproject/kune/rack/filters/AbstractInjectedFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/ApplicationListener.java
trunk/src/main/java/org/ourproject/kune/rack/filters/ForwardFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/ListenerFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/LogFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/RedirectFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/DelegatedRemoteServlet.java
trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/GWTServiceFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/DefaultRESTMethodFinder.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/JSONLibRESTSerializer.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/Parameters.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/ParametersAdapter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/REST.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethod.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethodFinder.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTSerializer.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceDefinition.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceFilter.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServicesModule.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/TransactionalServiceExecutor.java
trunk/src/main/java/org/ourproject/kune/rack/filters/rest/XStreamRESTSerializer.java
trunk/src/main/java/org/ourproject/kune/rack/filters/servlet/ServletServiceFilter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceMessages.java
trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentIconsRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContent.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigator.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorItem.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/AccessListsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextBottomToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextTopToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditor.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/FoldableContextPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocal.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityTextLogo.java
trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslator.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelector.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicenseView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseChangeAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizard.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstForm.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstFormView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFlags.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdForm.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdFormView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndForm.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndFormView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdForm.java
trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdFormView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePage.java
trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePageView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicense.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicenseView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogo.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolsConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateIt.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/rate/Star.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearchListener.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcher.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherType.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcher.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcherPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteBottomTrayButton.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcher.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherType.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcher.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessage.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessageView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogo.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgress.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLink.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearch.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLink.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLink.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/AbstractBar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/ActionCntCtxToolbarPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Entity.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
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SiteBar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Toolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/skel/WorkspaceSkeleton.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationSummaryToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationToolbar.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummary.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsTheme.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManager.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitle.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitleView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitle.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitleView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/title/RenameAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/AbstractClientTool.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ClientTool.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/FoldableAbstractClientTool.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelector.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItem.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploader.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderDialog.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderView.java
trunk/src/main/resources/wave-server.properties
trunk/src/main/webapp/WEB-INF/web.xml
trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java
Log:
WIAB integration updated
Modified: trunk/.classpath
===================================================================
--- trunk/.classpath 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/.classpath 2011-02-07 03:12:50 UTC (rev 1237)
@@ -10,7 +10,7 @@
<classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar"/>
<classpathentry kind="var" path="M2_REPO/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
- <classpathentry kind="var" path="M2_REPO/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar" sourcepath="M2_REPO/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1.jar" sourcepath="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
<classpathentry kind="var" path="M2_REPO/org/cobogw/gwt/cobogw/1.3.1/cobogw-1.3.1.jar"/>
<classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/>
@@ -50,6 +50,7 @@
<classpathentry kind="var" path="M2_REPO/com/calclab/emite/hablar/r1694/hablar-r1694.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar" sourcepath="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA-sources.jar"/>
@@ -60,8 +61,8 @@
<classpathentry kind="var" path="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2.jar" sourcepath="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/jmagick/jmagick/6.2.6-0/jmagick-6.2.6-0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jruby/jruby-complete/1.5.1/jruby-complete-1.5.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jruby/rack/jruby-rack/1.0.3/jruby-rack-1.0.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jruby/jruby-complete/1.2.0/jruby-complete-1.2.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jruby/rack/jruby-rack/0.9.4/jruby-rack-0.9.4.jar"/>
<classpathentry kind="var" path="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15.jar" sourcepath="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47.jar" sourcepath="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar"/>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/pom.xml 2011-02-07 03:12:50 UTC (rev 1237)
@@ -364,8 +364,8 @@
</exclusion>
</exclusions>
</dependency>
-<!-- <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> -->
-<!-- <version>3.3.1.GA</version> </dependency> -->
+ <!-- <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> -->
+ <!-- <version>3.3.1.GA</version> </dependency> -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search</artifactId>
@@ -381,11 +381,16 @@
<artifactId>hibernate-tools</artifactId>
<version>3.2.3.GA</version>
</dependency>
- <dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ <version>3.3.1.GA</version>
+ </dependency>
+ <!-- <dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
- </dependency>
+ </dependency> -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
@@ -522,8 +527,8 @@
<dependency>
<groupId>org.jruby.rack</groupId>
<artifactId>jruby-rack</artifactId>
- <version>1.0.3</version>
- <!-- <version>0.9.4</version> -->
+ <!-- <version>1.0.3</version> -->
+ <version>0.9.4</version>
</dependency>
<!-- wave -->
<dependency>
Modified: trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -41,6 +41,7 @@
import cc.kune.core.client.init.AppStopEvent;
import cc.kune.core.client.logs.Log;
import cc.kune.core.client.resources.icons.IconResources;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.sitebar.SitebarActionsPresenter;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.UserSignInEvent;
@@ -55,7 +56,6 @@
import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
import com.calclab.emite.im.client.chat.ChatManager;
import com.calclab.emite.im.client.roster.XmppRoster;
-import com.calclab.emite.reconnect.client.SessionReconnect;
import com.calclab.emite.xep.avatar.client.AvatarManager;
import com.calclab.emite.xep.muc.client.Room;
import com.calclab.emite.xep.muc.client.RoomManager;
@@ -133,7 +133,8 @@
xmppSession = Suco.get(XmppSession.class);
chatManager = Suco.get(ChatManager.class);
roomManager = Suco.get(RoomManager.class);
- Suco.get(SessionReconnect.class);
+ // Suco.get(SessionReconnect.class);
+
eventBus.addHandler(AppStartEvent.getType(), new AppStartEvent.AppStartHandler() {
@Override
public void onAppStart(final AppStartEvent event) {
@@ -142,7 +143,12 @@
chatOptions.roomHost = event.getInitData().getChatRoomHost();
checkChatDomain(chatOptions.domain);
if (session.isLogged()) {
- doLogin(session.getCurrentUserInfo());
+ session.check(new AsyncCallbackSimple<Void>() {
+ @Override
+ public void onSuccess(final Void result) {
+ doLogin(session.getCurrentUserInfo());
+ }
+ });
}
eventBus.addHandler(UserSignInEvent.getType(), new UserSignInHandler() {
@Override
Modified: trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -31,5 +31,6 @@
@Override
protected void configure() {
bind(ChatClient.class).to(ChatClientDefault.class).in(Singleton.class);
+ bind(ChatOptions.class).in(Singleton.class);
}
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/client/KuneGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -30,6 +30,7 @@
import cc.kune.core.client.auth.SignInPresenter;
import cc.kune.core.client.cookies.CookiesManager;
import cc.kune.core.client.errors.ErrorHandler;
+import cc.kune.core.client.groups.newgroup.NewGroupPresenter;
import cc.kune.core.client.logs.EventBusWithLogging;
import cc.kune.core.client.notify.msgs.UserNotifierPresenter;
import cc.kune.core.client.notify.spiner.SpinerPresenter;
@@ -80,6 +81,8 @@
I18nTranslationService getI18n();
+ AsyncProvider<NewGroupPresenter> getNewGroupPresenter();
+
ProxyFailureHandler getProxyFailureHandler();
AsyncProvider<PSpacePresenter> getPSpacePresenter();
Modified: trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.ui.xml 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.ui.xml 2011-02-07 03:12:50 UTC (rev 1237)
@@ -39,7 +39,7 @@
<g:SimplePanel ui:field="mainPanel" styleName='{style.main}'>
<g:FlowPanel ui:field="flow" styleName='{style.flow}'>
<g:Image ui:field="icon" styleName='{style.icon}'
- resource="{img.kuneAnim}" />
+ resource="{img.kuneAnimGray}" />
<g:Label ui:field="label" styleName='{style.label}' />
</g:FlowPanel>
</g:SimplePanel>
Modified: trunk/src/main/java/cc/kune/core/Core.gwt.xml
===================================================================
--- trunk/src/main/java/cc/kune/core/Core.gwt.xml 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/Core.gwt.xml 2011-02-07 03:12:50 UTC (rev 1237)
@@ -8,8 +8,6 @@
excludes="**/*Test.java,**/*Tests.java,**/*MockProvider.java" />
<source path="shared" />
<public path="public" />
- <script src="js/jquery-1.3.2.min.js" />
- <script src="js/jquery.qtip-1.0.0-rc3.min.js" />
<!-- Dependencies ============================================= -->
<inherits name="com.google.gwt.user.User" />
<inherits name="cc.kune.gspace.GSpace" />
Modified: trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -40,6 +40,10 @@
import cc.kune.core.client.cookies.CookiesManager;
import cc.kune.core.client.cookies.CookiesManagerImpl;
import cc.kune.core.client.errors.ErrorHandler;
+import cc.kune.core.client.groups.newgroup.NewGroup;
+import cc.kune.core.client.groups.newgroup.NewGroupPanel;
+import cc.kune.core.client.groups.newgroup.NewGroupPresenter;
+import cc.kune.core.client.groups.newgroup.NewGroupView;
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.init.AppStarter;
import cc.kune.core.client.init.AppStarterDefault;
@@ -69,7 +73,6 @@
import cc.kune.core.client.state.SiteTokenListeners;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.client.state.StateManagerDefault;
-import cc.kune.core.client.ui.QTipsHelper;
import cc.kune.core.client.ws.CorePresenter;
import cc.kune.core.client.ws.CoreViewImpl;
import cc.kune.core.shared.i18n.I18nTranslationService;
@@ -99,7 +102,6 @@
bind(EventBus.class).to(EventBusWithLogging.class).in(Singleton.class);
bind(TokenFormatter.class).to(ParameterTokenFormatter.class).in(Singleton.class);
bind(RootPresenter.class).asEagerSingleton();
- bind(QTipsHelper.class).asEagerSingleton();
bind(ProxyFailureHandler.class).to(DefaultProxyFailureHandler.class).in(Singleton.class);
bind(I18nUITranslationService.class).in(Singleton.class);
bind(I18nTranslationService.class).to(I18nUITranslationService.class).in(Singleton.class);
@@ -118,6 +120,8 @@
SiteLogoPresenter.SiteLogoProxy.class);
bindPresenter(SitebarActionsPresenter.class, SitebarActionsPresenter.SitebarActionsView.class,
SitebarActionsViewImpl.class, SitebarActionsPresenter.SitebarActionsProxy.class);
+ bindPresenter(NewGroupPresenter.class, NewGroupView.class, NewGroupPanel.class,
+ NewGroupPresenter.NewGroupProxy.class);
bind(UserPassAutocompleteManager.class).to(UserPassAutocompleteManagerImpl.class).in(Singleton.class);
bindPresenter(SignInPresenter.class, SignInView.class, SignInPanel.class, SignInPresenter.SignInProxy.class);
@@ -125,6 +129,7 @@
RegisterPresenter.RegisterProxy.class);
bind(SignIn.class).to(SignInPresenter.class).in(Singleton.class);
bind(Register.class).to(RegisterPresenter.class).in(Singleton.class);
+ bind(NewGroup.class).to(NewGroupPresenter.class).in(Singleton.class);
bind(UserMessagesPresenter.class).in(Singleton.class);
bind(UserMessagesPanel.class).in(Singleton.class);
Modified: trunk/src/main/java/cc/kune/core/client/auth/Register.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/Register.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/Register.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterForm.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -58,7 +58,7 @@
shortNameRegField.setAllowBlank(false);
shortNameRegField.setMinLength(3);
shortNameRegField.setMaxLength(15);
- shortNameRegField.setRegex("^[a-z0-9_\\-]+$");
+ shortNameRegField.setRegex("^[a-z0-9]+$");
shortNameRegField.getMessages().setMinLengthText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
shortNameRegField.getMessages().setMaxLengthText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
shortNameRegField.getMessages().setRegexText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignIn.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignIn.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignIn.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -79,8 +79,8 @@
final String userHash = userInfoDTO.getUserHash();
cookiesManager.setCookie(userHash);
getView().reset();
+ session.setCurrentUserInfo(userInfoDTO);
session.setUserHash(userHash);
- session.setCurrentUserInfo(userInfoDTO);
final I18nLanguageDTO language = userInfoDTO.getLanguage();
i18n.changeCurrentLanguage(language.getCode());
session.setCurrentLanguage(language);
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInAbstractView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInForm.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -48,11 +48,6 @@
i18n.t(CoreMessages.SIGN_IN_TITLE), SIGN_IN_BUTTON_ID, i18n.tWithNT("Cancel", "used in button"),
CANCEL_BUTTON_ID, images, ERROR_MSG, 102);
- // @Override
- // public void onShow(final Component component) {
- //
- // }
-
final VerticalPanel panel = new VerticalPanel();
signInForm = new SignInForm(i18n);
signInForm.setWidth(370);
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Added: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroup.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroup.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroup.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,27 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.groups.newgroup;
+
+
+public interface NewGroup {
+
+ void doNewGroup();
+
+}
Added: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,288 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.groups.newgroup;
+
+import cc.kune.common.client.noti.NotifyLevel;
+import cc.kune.common.client.noti.NotifyLevelImages;
+import cc.kune.common.client.ui.MaskWidgetView;
+import cc.kune.core.client.resources.CoreMessages;
+import cc.kune.core.client.ui.DefaultFormUtils;
+import cc.kune.core.client.ui.dialogs.BasicTopDialog;
+import cc.kune.core.client.ui.dialogs.MessageToolbar;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
+import com.extjs.gxt.ui.client.widget.form.FieldSet;
+import com.extjs.gxt.ui.client.widget.form.FormPanel;
+import com.extjs.gxt.ui.client.widget.form.FormPanel.LabelAlign;
+import com.extjs.gxt.ui.client.widget.form.Radio;
+import com.extjs.gxt.ui.client.widget.form.TextArea;
+import com.extjs.gxt.ui.client.widget.form.TextField;
+import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.Widget;
+import com.google.inject.Inject;
+import com.gwtplatform.mvp.client.ViewImpl;
+
+public class NewGroupPanel extends ViewImpl implements NewGroupView {
+ private static final int BIG_FIELD_WIDTH = 280;
+ public static final String CANCEL_BUTTON = "k-ngp-cancel-bt";
+ public static final String COMM_GROUP_TYPE_ID = "k-ngp-type_of_group_comm";
+ public static final String ERROR_MSG_BAR = "k-ngp-error-mb";
+ private static final int LABEL_WIDTH = 100;
+ public static final String LONGNAME_FIELD = "k-ngp-long_name";
+ private static final String MARGIN_LEFT_105PX = "margin-left: 105px";
+ public static final String NEWGROUP_WIZARD = "k-ngp-wiz";
+ public static final String ORG_GROUP_TYPE_ID = "k-ngp-type_of_group_org";
+ public static final String PROJ_GROUP_TYPE_ID = "k-ngp-type_of_group_proj";
+ public static final String PUBLICDESC_FIELD = "k-ngp-public_desc";
+ public static final String REGISTER_BUTTON = "k-ngp-finish-bt";
+ public static final String SHORTNAME_FIELD = "k-ngp-short_name";
+ public static final String TAGS_FIELD = "k-ngp-tags";
+ public static final String TYPEOFGROUP_FIELD = "k-ngp-type_of_group";
+
+ private Radio communityRadio;
+ private final BasicTopDialog dialog;
+ private final FormPanel form;
+
+ private final I18nTranslationService i18n;
+ private TextField<String> longNameField;
+ private final MaskWidgetView mask;
+ private final MessageToolbar messageErrorBar;
+ private Radio orgRadio;
+ private Radio projectRadio;
+ private TextArea publicDescField;
+ private TextField<String> shortNameField;
+
+ private TextField<String> tag1;
+ private TextField<String> tag2;
+ private TextField<String> tag3;
+
+ @Inject
+ public NewGroupPanel(final I18nTranslationService i18n, final NotifyLevelImages img, final MaskWidgetView mask) {
+ dialog = new BasicTopDialog(NEWGROUP_WIZARD, CoreMessages.REGISTER_A_NEW_GROUP_TITLE, true, true, false, 450,
+ 430, "k-newgroup-icon", i18n.t("Register"), REGISTER_BUTTON, i18n.t("Cancel"), CANCEL_BUTTON, 9);
+ this.i18n = i18n;
+ this.mask = mask;
+ // Field.setMsgTarget("side");
+ form = createNewGroupInitialDataForm();
+
+ messageErrorBar = new MessageToolbar(img, ERROR_MSG_BAR);
+ dialog.getBottomPanel().add(messageErrorBar);
+ dialog.getInnerPanel().add(form);
+ }
+
+ @Override
+ public Widget asWidget() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void clearData() {
+ form.reset();
+ shortNameField.focus();
+ }
+
+ private FormPanel createNewGroupInitialDataForm() {
+ final FormPanel form = new FormPanel();
+ form.setFrame(true);
+ form.setPadding(10);
+ form.setBorders(false);
+ form.setWidth(420);
+ form.setLabelWidth(LABEL_WIDTH);
+ form.setLabelAlign(LabelAlign.RIGHT);
+ form.setButtonAlign(HorizontalAlignment.RIGHT);
+
+ final Label intro = new Label();
+ intro.setText(i18n.t("Please fill this form to register a new group:")); // +
+ // DefaultFormUtils.brbr());
+ form.add(intro);
+
+ shortNameField = new TextField<String>();
+ shortNameField.setValidationDelay(1000);
+ shortNameField.setTabIndex(1);
+ shortNameField.setFieldLabel(i18n.t("Short name"));
+ shortNameField.setName(SHORTNAME_FIELD);
+ shortNameField.setWidth(175);
+ shortNameField.setMinLength(3);
+ shortNameField.setMaxLength(15);
+ shortNameField.setAllowBlank(false);
+ shortNameField.setRegex("^[a-z0-9]+$");
+ shortNameField.getMessages().setMinLengthText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
+ shortNameField.getMessages().setMaxLengthText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
+ shortNameField.getMessages().setRegexText(i18n.t(CoreMessages.FIELD_MUST_BE_BETWEEN_3_AND_15));
+ shortNameField.setValidationDelay(1000);
+
+ form.add(shortNameField);
+
+ longNameField = new TextField<String>();
+ longNameField.setTabIndex(2);
+ longNameField.setFieldLabel(i18n.t("Long name"));
+ longNameField.setName(LONGNAME_FIELD);
+ longNameField.setWidth(BIG_FIELD_WIDTH);
+ longNameField.setAllowBlank(false);
+ longNameField.setMinLength(3);
+ longNameField.setMaxLength(50);
+ longNameField.setValidationDelay(1000);
+ form.add(longNameField);
+
+ publicDescField = new TextArea();
+ publicDescField.setTabIndex(3);
+ publicDescField.setFieldLabel(i18n.t("Public description"));
+ publicDescField.setName(PUBLICDESC_FIELD);
+ publicDescField.setWidth(BIG_FIELD_WIDTH);
+ publicDescField.setAllowBlank(false);
+ publicDescField.setMinLength(10);
+ publicDescField.setMaxLength(255);
+ publicDescField.setValidationDelay(1000);
+ form.add(publicDescField);
+
+ tag1 = new TextField<String>();
+ tag1.setTabIndex(4);
+ tag1.setFieldLabel(i18n.t("Group tags"));
+ tag1.setName(TAGS_FIELD);
+ tag1.setWidth(BIG_FIELD_WIDTH);
+ tag1.setAllowBlank(false);
+ tag1.setTitle(i18n.t("type some keyword that define your group"));
+ tag1.setValidationDelay(1000);
+ form.add(tag1);
+
+ final FieldSet groupTypeFieldSet = new FieldSet();
+ groupTypeFieldSet.setHeading(i18n.t("Group type"));
+ groupTypeFieldSet.setCollapsible(false);
+ groupTypeFieldSet.setStyleName(MARGIN_LEFT_105PX);
+ groupTypeFieldSet.setWidth(BIG_FIELD_WIDTH);
+ // groupTypeFieldSet.setFrame(false);
+ groupTypeFieldSet.setCollapsible(false);
+ groupTypeFieldSet.setAutoHeight(true);
+
+ form.add(groupTypeFieldSet);
+
+ projectRadio = DefaultFormUtils.createRadio(groupTypeFieldSet, i18n.t("Project"), TYPEOFGROUP_FIELD,
+ i18n.t("A project is a kind of group in which new members joining "
+ + "is moderated by the project administrators. "
+ + "An administrator is the person who creates the project "
+ + "and other people she/he chooses to be administrator as well."), PROJ_GROUP_TYPE_ID);
+ projectRadio.setTabIndex(6);
+ projectRadio.setValue(true);
+
+ orgRadio = DefaultFormUtils.createRadio(groupTypeFieldSet, i18n.t("Organization"), TYPEOFGROUP_FIELD,
+ i18n.t("An organization works as a project, " + "but organizations must be a legal entity."),
+ ORG_GROUP_TYPE_ID);
+ orgRadio.setTabIndex(7);
+
+ communityRadio = DefaultFormUtils.createRadio(groupTypeFieldSet, i18n.t("Community"), TYPEOFGROUP_FIELD,
+ i18n.t("Communities are social groups of persons "
+ + "with shared interests, which are open to new members "
+ + "(for instance the environmental community or the LGBT community). "
+ + "They rarely are a legal entity."), COMM_GROUP_TYPE_ID);
+ communityRadio.setTabIndex(8);
+
+ return form;
+ }
+
+ @Override
+ public HasClickHandlers getFirstBtn() {
+
+ return dialog.getFirstBtn();
+ }
+
+ @Override
+ public String getLongName() {
+ return longNameField.getValue();
+ }
+
+ @Override
+ public String getPublicDesc() {
+ return publicDescField.getValue();
+ }
+
+ @Override
+ public HasClickHandlers getSecondBtn() {
+ return dialog.getSecondBtn();
+ }
+
+ @Override
+ public String getShortName() {
+ return shortNameField.getValue();
+ }
+
+ @Override
+ public String getTags() {
+ return tag1.getRawValue();
+ }
+
+ @Override
+ public void hide() {
+ dialog.hide();
+
+ }
+
+ @Override
+ public void hideMessage() {
+ messageErrorBar.hideErrorMessage();
+ }
+
+ @Override
+ public boolean isCommunity() {
+ return communityRadio.getValue();
+ }
+
+ @Override
+ public boolean isFormValid() {
+ return form.isValid();
+ }
+
+ @Override
+ public boolean isOrganization() {
+ return orgRadio.getValue();
+ }
+
+ @Override
+ public boolean isProject() {
+ return projectRadio.getValue();
+ }
+
+ public void mask(final String message) {
+ mask.mask(dialog);
+ }
+
+ @Override
+ public void maskProcessing() {
+ mask.mask(dialog, i18n.t("Processing"));
+ }
+
+ @Override
+ public void setMessage(final String message, final NotifyLevel level) {
+ messageErrorBar.setErrorMessage(message, level);
+ }
+
+ @Override
+ public void show() {
+ dialog.show();
+ }
+
+ @Override
+ public void unMask() {
+ mask.unMask();
+ }
+
+}
Added: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,195 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.groups.newgroup;
+
+import cc.kune.common.client.errors.UIException;
+import cc.kune.common.client.noti.NotifyLevel;
+import cc.kune.common.client.noti.NotifyUser;
+import cc.kune.core.client.auth.SignIn;
+import cc.kune.core.client.errors.GroupNameInUseException;
+import cc.kune.core.client.resources.CoreMessages;
+import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
+import cc.kune.core.client.rpcservices.GroupServiceAsync;
+import cc.kune.core.client.state.HistoryTokenCallback;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.SiteCommonTokens;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.GroupDTO;
+import cc.kune.core.shared.dto.GroupType;
+import cc.kune.core.shared.dto.LicenseDTO;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.shared.EventBus;
+import com.google.gwt.user.client.rpc.AsyncCallback;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+import com.gwtplatform.mvp.client.Presenter;
+import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
+import com.gwtplatform.mvp.client.proxy.Proxy;
+import com.gwtplatform.mvp.client.proxy.RevealRootContentEvent;
+
+public class NewGroupPresenter extends Presenter<NewGroupView, NewGroupPresenter.NewGroupProxy> implements NewGroup {
+
+ @ProxyCodeSplit
+ public interface NewGroupProxy extends Proxy<NewGroupPresenter> {
+ }
+
+ private final Provider<GroupServiceAsync> groupService;
+
+ private final I18nTranslationService i18n;
+ private boolean mustGoToPrevious;
+ private final Session session;
+ private final Provider<SignIn> signIn;
+ private final StateManager stateManager;
+
+ @Inject
+ public NewGroupPresenter(final EventBus eventBus, final NewGroupView view, final NewGroupProxy proxy,
+ final I18nTranslationService i18n, final Session session, final StateManager stateManager,
+ final Provider<GroupServiceAsync> groupService, final Provider<SignIn> signIn) {
+ super(eventBus, view, proxy);
+ this.i18n = i18n;
+ this.session = session;
+ this.stateManager = stateManager;
+ this.groupService = groupService;
+ this.signIn = signIn;
+
+ stateManager.addSiteToken(SiteCommonTokens.NEWGROUP, new HistoryTokenCallback() {
+
+ @Override
+ public void onHistoryToken() {
+ doNewGroup();
+ }
+ });
+ mustGoToPrevious = true;
+ }
+
+ @Override
+ public void doNewGroup() {
+ session.check(new AsyncCallbackSimple<Void>() {
+ @Override
+ public void onSuccess(final Void result) {
+ if (session.isLogged()) {
+ NotifyUser.showProgressProcessing();
+ getView().show();
+ NotifyUser.hideProgress();
+ } else {
+ // stateManager.restorePreviousToken();
+ NotifyUser.info(i18n.t(CoreMessages.REGISTER_TO_CREATE_A_GROUP));
+ signIn.get().doSignIn();
+ }
+ }
+ });
+ }
+
+ private GroupType getTypeOfGroup() {
+ if (getView().isProject()) {
+ return GroupType.PROJECT;
+ } else if (getView().isOrganization()) {
+ return GroupType.ORGANIZATION;
+ } else {
+ return GroupType.COMMUNITY;
+ }
+ }
+
+ @Override
+ protected void onBind() {
+ super.onBind();
+ getView().getFirstBtn().addClickHandler(new ClickHandler() {
+ @Override
+ public void onClick(final ClickEvent event) {
+ onRegister();
+ }
+ });
+ getView().getSecondBtn().addClickHandler(new ClickHandler() {
+
+ @Override
+ public void onClick(final ClickEvent event) {
+ onCancel();
+ }
+ });
+ }
+
+ public void onCancel() {
+ getView().hide();
+ reset();
+ stateManager.restorePreviousToken();
+ }
+
+ public void onClose() {
+ if (mustGoToPrevious) {
+ stateManager.restorePreviousToken();
+ }
+ reset();
+ }
+
+ public void onRegister() {
+ if (getView().isFormValid()) {
+ getView().maskProcessing();
+ final String shortName = getView().getShortName();
+ final String longName = getView().getLongName();
+ final String publicDesc = getView().getPublicDesc();
+ final LicenseDTO license = session.getDefLicense();
+ final GroupDTO group = new GroupDTO(shortName, longName, getTypeOfGroup());
+ group.setDefaultLicense(license);
+
+ final AsyncCallback<StateToken> callback = new AsyncCallback<StateToken>() {
+ @Override
+ public void onFailure(final Throwable caught) {
+ if (caught instanceof GroupNameInUseException) {
+ getView().unMask();
+ setMessage(i18n.t(CoreMessages.NAME_IN_ALREADY_IN_USE), NotifyLevel.error);
+ } else {
+ getView().unMask();
+ setMessage(i18n.t("Error creating group"), NotifyLevel.error);
+ throw new UIException("Other kind of exception in group registration", caught);
+ }
+ }
+
+ @Override
+ public void onSuccess(final StateToken token) {
+ mustGoToPrevious = false;
+ getView().hide();
+ stateManager.gotoToken(token);
+ reset();
+ getView().unMask();
+ }
+ };
+ groupService.get().createNewGroup(session.getUserHash(), group, publicDesc, getView().getTags(), null,
+ callback);
+ }
+ }
+
+ private void reset() {
+ getView().clearData();
+ mustGoToPrevious = true;
+ }
+
+ @Override
+ protected void revealInParent() {
+ RevealRootContentEvent.fire(this, this);
+ }
+
+ public void setMessage(final String message, final NotifyLevel level) {
+ getView().setMessage(message, level);
+ }
+}
Added: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,63 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.groups.newgroup;
+
+import cc.kune.common.client.noti.NotifyLevel;
+
+import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.gwtplatform.mvp.client.View;
+
+public interface NewGroupView extends View {
+
+ void clearData();
+
+ HasClickHandlers getFirstBtn();
+
+ String getLongName();
+
+ String getPublicDesc();
+
+ HasClickHandlers getSecondBtn();
+
+ String getShortName();
+
+ String getTags();
+
+ void hide();
+
+ void hideMessage();
+
+ boolean isCommunity();
+
+ boolean isFormValid();
+
+ boolean isOrganization();
+
+ boolean isProject();
+
+ void maskProcessing();
+
+ void setMessage(String message, NotifyLevel level);
+
+ void show();
+
+ void unMask();
+
+}
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -24,7 +24,7 @@
public final static String EMAIL_IN_USE = "This email address is being used by another user. Please, try with another one";
public final static String ENT_LOGO_SELECTOR_NORMAL_TITLE = "Logo";
public final static String ENT_LOGO_SELECTOR_PERSON_TITLE = "Avatar";
- public final static String FIELD_MUST_BE_BETWEEN_3_AND_15 = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers, and dashes";
+ public final static String FIELD_MUST_BE_BETWEEN_3_AND_15 = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers";
public final static String GROUP_OPTIONS_DIALOG_TITLE = "Group options";
public final static String INCORRECT_NICKNAME_EMAIL_OR_PASSWORD = "The nickname/email/password is incorrect";
public final static String MEMBERS_NOT_PUBLIC = "The members of this group are not public";
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -322,6 +322,9 @@
@Source("kune-anim.gif")
ImageResource kuneAnim();
+ @Source("kune-anim-g.gif")
+ ImageResource kuneAnimGray();
+
@Source("kune-close.png")
ImageResource kuneClose();
Modified: trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -21,6 +21,7 @@
import cc.kune.core.client.auth.Register;
import cc.kune.core.client.auth.SignIn;
+import cc.kune.core.client.groups.newgroup.NewGroup;
import cc.kune.core.client.init.AppStartEvent;
import cc.kune.core.client.init.AppStartEvent.AppStartHandler;
@@ -31,16 +32,18 @@
@Singleton
public class SiteTokenListeners {
+ private final Provider<NewGroup> newGroup;
private final Provider<Register> register;
private final Provider<SignIn> signIn;
private final Provider<StateManager> stateManager;
@Inject
public SiteTokenListeners(final EventBus eventBus, final Provider<StateManager> stateManager,
- final Provider<SignIn> signIn, final Provider<Register> register) {
+ final Provider<SignIn> signIn, final Provider<Register> register, final Provider<NewGroup> newGroup) {
this.stateManager = stateManager;
this.signIn = signIn;
this.register = register;
+ this.newGroup = newGroup;
init();
eventBus.addHandler(AppStartEvent.getType(), new AppStartHandler() {
@Override
@@ -63,5 +66,11 @@
register.get().doRegister();
}
});
+ stateManager.get().addSiteToken(SiteCommonTokens.NEWGROUP, new HistoryTokenCallback() {
+ @Override
+ public void onHistoryToken() {
+ newGroup.get().doNewGroup();
+ }
+ });
}
}
Added: trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,49 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.client.ui;
+
+import com.extjs.gxt.ui.client.widget.form.FieldSet;
+import com.extjs.gxt.ui.client.widget.form.Radio;
+
+public class DefaultFormUtils {
+
+ public static Radio createRadio(final FieldSet fieldSet, final String radioLabel, final String radioFieldName,
+ final String radioTip, final String id) {
+ final Radio radio = new Radio();
+ radio.setName(radioFieldName);
+ // radio.setAutoCreate(true);
+ radio.setHideLabel(true);
+ radio.setId(id);
+ fieldSet.add(radio);
+
+ if (radioTip != null) {
+ radio.setTitle(radioTip);
+ // radio.setBoxLabel(KuneUiUtils.genQuickTipLabel(radioLabel, null,
+ // radioTip));
+ // ToolTip tooltip = new ToolTip();
+ // tooltip.setHtml(radioTip);
+ // tooltip.setWidth(250);
+ // tooltip.applyTo(radio);
+ } else {
+ radio.setBoxLabel(radioLabel);
+ }
+ return radio;
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/core/client/ui/DefaultFormUtils.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,52 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.core.client.ui;
-
-/**
- * qtip integration: http://craigsworks.com/projects/qtip/
- *
- */
-public class QTipsHelper {
- public QTipsHelper() {
- init();
- }
-
- private void init() {
- /*-{
- $wnd.jQuery('div[title]').qtip({
- style: {
- name: 'Green', tip: true,
- border: {
- width: 2,
- radius: 4,
- color: '#CF5C43'
- },
- background: '#FFFFBD',
- textAlign: 'left'
- },
- position: { corner: {
- target: 'bottomRight',
- tooltip: 'topLeft'
- } }
- }
- }-*/
- ;
- }
-}
Deleted: trunk/src/main/java/cc/kune/core/public/js/jquery-1.3.2.min.js
===================================================================
--- trunk/src/main/java/cc/kune/core/public/js/jquery-1.3.2.min.js 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/public/js/jquery-1.3.2.min.js 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,19 +0,0 @@
-/*
- * jQuery JavaScript Library v1.3.2
- * http://jquery.com/
- *
- * Copyright (c) 2009 John Resig
- * Dual licensed under the MIT and GPL licenses.
- * http://docs.jquery.com/License
- *
- * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
- * Revision: 6246
- */
-(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
-/*
- * Sizzle CSS Selector Engine - v0.9.3
- * Copyright 2009, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- * More information: http://sizzlejs.com/
- */
-(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();
\ No newline at end of file
Deleted: trunk/src/main/java/cc/kune/core/public/js/jquery.qtip-1.0.0-rc3.min.js
===================================================================
--- trunk/src/main/java/cc/kune/core/public/js/jquery.qtip-1.0.0-rc3.min.js 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/public/js/jquery.qtip-1.0.0-rc3.min.js 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,15 +0,0 @@
-/*
- * jquery.qtip. The jQuery tooltip plugin
- *
- * Copyright (c) 2009 Craig Thompson
- * http://craigsworks.com
- *
- * Licensed under MIT
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Launch : February 2009
- * Version : 1.0.0-rc3
- * Released: Tuesday 12th May, 2009 - 00:00
- * Debug: jquery.qtip.debug.js
- */
-(function(f){f.fn.qtip=function(B,u){var y,t,A,s,x,w,v,z;if(typeof B=="string"){if(typeof f(this).data("qtip")!=="object"){f.fn.qtip.log.error.call(self,1,f.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(B=="api"){return f(this).data("qtip").interfaces[f(this).data("qtip").current]}else{if(B=="interfaces"){return f(this).data("qtip").interfaces}}}else{if(!B){B={}}if(typeof B.content!=="object"||(B.content.jquery&&B.content.length>0)){B.content={text:B.content}}if(typeof B.content.title!=="object"){B.content.title={text:B.content.title}}if(typeof B.position!=="object"){B.position={corner:B.position}}if(typeof B.position.corner!=="object"){B.position.corner={target:B.position.corner,tooltip:B.position.corner}}if(typeof B.show!=="object"){B.show={when:B.show}}if(typeof B.show.when!=="object"){B.show.when={event:B.show.when}}if(typeof B.show.effect!=="object"){B.show.effect={type:B.show.effect}}if(typeof B.hide!=="object"){B.hide={when:B.hide}}if(typeof B.hide.when!=="object"){B.hide.when={event:B.hide.when}}if(typeof B.hide.effect!=="object"){B.hide.effect={type:B.hide.effect}}if(typeof B.style!=="object"){B.style={name:B.style}}B.style=c(B.style);s=f.extend(true,{},f.fn.qtip.defaults,B);s.style=a.call({options:s},s.style);s.user=f.extend(true,{},B)}return f(this).each(function(){if(typeof B=="string"){w=B.toLowerCase();A=f(this).qtip("interfaces");if(typeof A=="object"){if(u===true&&w=="destroy"){while(A.length>0){A[A.length-1].destroy()}}else{if(u!==true){A=[f(this).qtip("api")]}for(y=0;y<A.length;y++){if(w=="destroy"){A[y].destroy()}else{if(A[y].status.rendered===true){if(w=="show"){A[y].show()}else{if(w=="hide"){A[y].hide()}else{if(w=="focus"){A[y].focus()}else{if(w=="disable"){A[y].disable(true)}else{if(w=="enable"){A[y].disable(false)}}}}}}}}}}}else{v=f.extend(true,{},s);v.hide.effect.length=s.hide.effect.length;v.show.effect.length=s.show.effect.length;if(v.position.container===false){v.position.container=f(document.body)}if(v.position.target===false){v.position.target=f(this)}if(v.show.when.target===false){v.show.when.target=f(this)}if(v.hide.when.target===false){v.hide.when.target=f(this)}t=f.fn.qtip.interfaces.length;for(y=0;y<t;y++){if(typeof f.fn.qtip.interfaces[y]=="undefined"){t=y;break}}x=new d(f(this),v,t);f.fn.qtip.interfaces[t]=x;if(typeof f(this).data("qtip")=="object"){if(typeof f(this).attr("qtip")==="undefined"){f(this).data("qtip").current=f(this).data("qtip").interfaces.length}f(this).data("qtip").interfaces.push(x)}else{f(this).data("qtip",{current:0,interfaces:[x]})}if(v.content.prerender===false&&v.show.when.event!==false&&v.show.ready!==true){v.show.when.target.bind(v.show.when.event+".qtip-"+t+"-create",{qtip:t},function(C){z=f.fn.qtip.interfaces[C.data.qtip];z.options.show.when.target.unbind(z.options.show.when.event+".qtip-"+C.data.qtip+"-create");z.cache.mouse={x:C.pageX,y:C.pageY};p.call(z);z.options.show.when.target.trigger(z.options.show.when.event)})}else{x.cache.mouse={x:v.show.when.target.offset().left,y:v.show.when.target.offset().top};p.call(x)}}})};function d(u,t,v){var s=this;s.id=v;s.options=t;s.status={animated:false,rendered:false,disabled:false,focused:false};s.elements={target:u.addClass(s.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};s.cache={mouse:{},position:{},toggle:0};s.timers={};f.extend(s,s.options.api,{show:function(y){var x,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(s.elements.tooltip.css("display")!=="none"){return s}s.elements.tooltip.stop(true,false);x=s.beforeShow.call(s,y);if(x===false){return s}function w(){if(s.options.position.type!=="static"){s.focus()}s.onShow.call(s,y);if(f.browser.msie){s.elements.tooltip.get(0).style.removeAttribute("filter")}}s.cache.toggle=1;if(s.options.position.type!=="static"){s.updatePosition(y,(s.options.show.effect.length>0))}if(typeof s.options.show.solo=="object"){z=f(s.options.show.solo)}else{if(s.options.show.solo===true){z=f("div.qtip").not(s.elements.tooltip)}}if(z){z.each(function(){if(f(this).qtip("api").status.rendered===true){f(this).qtip("api").hide()}})}if(typeof s.options.show.effect.type=="function"){s.options.show.effect.type.call(s.elements.tooltip,s.options.show.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.show.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeIn(s.options.show.effect.length,w);break;case"slide":s.elements.tooltip.slideDown(s.options.show.effect.length,function(){w();if(s.options.position.type!=="static"){s.updatePosition(y,true)}});break;case"grow":s.elements.tooltip.show(s.options.show.effect.length,w);break;default:s.elements.tooltip.show(null,w);break}s.elements.tooltip.addClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(y){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(s.elements.tooltip.css("display")==="none"){return s}}clearTimeout(s.timers.show);s.elements.tooltip.stop(true,false);x=s.beforeHide.call(s,y);if(x===false){return s}function w(){s.onHide.call(s,y)}s.cache.toggle=0;if(typeof s.options.hide.effect.type=="function"){s.options.hide.effect.type.call(s.elements.tooltip,s.options.hide.effect.length);s.elements.tooltip.queue(function(){w();f(this).dequeue()})}else{switch(s.options.hide.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeOut(s.options.hide.effect.length,w);break;case"slide":s.elements.tooltip.slideUp(s.options.hide.effect.length,w);break;case"grow":s.elements.tooltip.hide(s.options.hide.effect.length,w);break;default:s.elements.tooltip.hide(null,w);break}s.elements.tooltip.removeClass(s.options.style.classes.active)}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(w,x){var C,G,L,J,H,E,y,I,B,D,K,A,F,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}G={position:{left:0,top:0},dimensions:{height:0,width:0},corner:s.options.position.corner.target};L={position:s.getPosition(),dimensions:s.getDimensions(),corner:s.options.position.corner.tooltip};if(s.options.position.target!=="mouse"){if(s.options.position.target.get(0).nodeName.toLowerCase()=="area"){J=s.options.position.target.attr("coords").split(",");for(C=0;C<J.length;C++){J[C]=parseInt(J[C])}H=s.options.position.target.parent("map").attr("name");E=f('img[usemap="#'+H+'"]:first').offset();G.position={left:Math.floor(E.left+J[0]),top:Math.floor(E.top+J[1])};switch(s.options.position.target.attr("shape").toLowerCase()){case"rect":G.dimensions={width:Math.ceil(Math.abs(J[2]-J[0])),height:Math.ceil(Math.abs(J[3]-J[1]))};break;case"circle":G.dimensions={width:J[2]+1,height:J[2]+1};break;case"poly":G.dimensions={width:J[0],height:J[1]};for(C=0;C<J.length;C++){if(C%2==0){if(J[C]>G.dimensions.width){G.dimensions.width=J[C]}if(J[C]<J[0]){G.position.left=Math.floor(E.left+J[C])}}else{if(J[C]>G.dimensions.height){G.dimensions.height=J[C]}if(J[C]<J[1]){G.position.top=Math.floor(E.top+J[C])}}}G.dimensions.width=G.dimensions.width-(G.position.left-E.left);G.dimensions.height=G.dimensions.height-(G.position.top-E.top);break;default:return f.fn.qtip.log.error.call(s,4,f.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}G.dimensions.width-=2;G.dimensions.height-=2}else{if(s.options.position.target.add(document.body).length===1){G.position={left:f(document).scrollLeft(),top:f(document).scrollTop()};G.dimensions={height:f(window).height(),width:f(window).width()}}else{if(typeof s.options.position.target.attr("qtip")!=="undefined"){G.position=s.options.position.target.qtip("api").cache.position}else{G.position=s.options.position.target.offset()}G.dimensions={height:s.options.position.target.outerHeight(),width:s.options.position.target.outerWidth()}}}y=f.extend({},G.position);if(G.corner.search(/right/i)!==-1){y.left+=G.dimensions.width}if(G.corner.search(/bottom/i)!==-1){y.top+=G.dimensions.height}if(G.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left+=(G.dimensions.width/2)}if(G.corner.search(/((left|right)Middle)|center/)!==-1){y.top+=(G.dimensions.height/2)}}else{G.position=y={left:s.cache.mouse.x,top:s.cache.mouse.y};G.dimensions={height:1,width:1}}if(L.corner.search(/right/i)!==-1){y.left-=L.dimensions.width}if(L.corner.search(/bottom/i)!==-1){y.top-=L.dimensions.height}if(L.corner.search(/((top|bottom)Middle)|center/)!==-1){y.left-=(L.dimensions.width/2)}if(L.corner.search(/((left|right)Middle)|center/)!==-1){y.top-=(L.dimensions.height/2)}I=(f.browser.msie)?1:0;B=(f.browser.msie&&parseInt(f.browser.version.charAt(0))===6)?1:0;if(s.options.style.border.radius>0){if(L.corner.search(/Left/)!==-1){y.left-=s.options.style.border.radius}else{if(L.corner.search(/Right/)!==-1){y.left+=s.options.style.border.radius}}if(L.corner.search(/Top/)!==-1){y.top-=s.options.style.border.radius}else{if(L.corner.search(/Bottom/)!==-1){y.top+=s.options.style.border.radius}}}if(I){if(L.corner.search(/top/)!==-1){y.top-=I}else{if(L.corner.search(/bottom/)!==-1){y.top+=I}}if(L.corner.search(/left/)!==-1){y.left-=I}else{if(L.corner.search(/right/)!==-1){y.left+=I}}if(L.corner.search(/leftMiddle|rightMiddle/)!==-1){y.top-=1}}if(s.options.position.adjust.screen===true){y=o.call(s,y,G,L)}if(s.options.position.target==="mouse"&&s.options.position.adjust.mouse===true){if(s.options.position.adjust.screen===true&&s.elements.tip){K=s.elements.tip.attr("rel")}else{K=s.options.position.corner.tooltip}y.left+=(K.search(/right/i)!==-1)?-6:6;y.top+=(K.search(/bottom/i)!==-1)?-6:6}if(!s.elements.bgiframe&&f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){f("select, object").each(function(){A=f(this).offset();A.bottom=A.top+f(this).height();A.right=A.left+f(this).width();if(y.top+L.dimensions.height>=A.top&&y.left+L.dimensions.width>=A.left){k.call(s)}})}y.left+=s.options.position.adjust.x;y.top+=s.options.position.adjust.y;F=s.getPosition();if(y.left!=F.left||y.top!=F.top){z=s.beforePositionUpdate.call(s,w);if(z===false){return s}s.cache.position=y;if(x===true){s.status.animated=true;s.elements.tooltip.animate(y,200,"swing",function(){s.status.animated=false})}else{s.elements.tooltip.css(y)}s.onPositionUpdate.call(s,w);if(typeof w!=="undefined"&&w.type&&w.type!=="mousemove"){f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return s},updateWidth:function(w){var x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(w&&typeof w!=="number"){return f.fn.qtip.log.error.call(s,2,"newWidth must be of type number","updateWidth")}}x=s.elements.contentWrapper.siblings().add(s.elements.tip).add(s.elements.button);if(!w){if(typeof s.options.style.width.value=="number"){w=s.options.style.width.value}else{s.elements.tooltip.css({width:"auto"});x.hide();if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"normal"})}w=s.getDimensions().width+1;if(!s.options.style.width.value){if(w>s.options.style.width.max){w=s.options.style.width.max}if(w<s.options.style.width.min){w=s.options.style.width.min}}}}if(w%2!==0){w-=1}s.elements.tooltip.width(w);x.show();if(s.options.style.border.radius){s.elements.tooltip.find(".qtip-betweenCorners").each(function(y){f(this).width(w-(s.options.style.border.radius*2))})}if(f.browser.msie){s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"1"});s.elements.wrapper.width(w);if(s.elements.bgiframe){s.elements.bgiframe.width(w).height(s.getDimensions.height)}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(w){var z,A,x,y,B;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof w!=="string"||!f.fn.qtip.styles[w]){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}s.options.style=a.call(s,f.fn.qtip.styles[w],s.options.user.style);s.elements.content.css(q(s.options.style));if(s.options.content.title.text!==false){s.elements.title.css(q(s.options.style.title,true))}s.elements.contentWrapper.css({borderColor:s.options.style.border.color});if(s.options.style.tip.corner!==false){if(f("<canvas>").get(0).getContext){z=s.elements.tooltip.find(".qtip-tip canvas:first");x=z.get(0).getContext("2d");x.clearRect(0,0,300,300);y=z.parent("div[rel]:first").attr("rel");B=b(y,s.options.style.tip.size.width,s.options.style.tip.size.height);h.call(s,z,B,s.options.style.tip.color||s.options.style.border.color)}else{if(f.browser.msie){z=s.elements.tooltip.find('.qtip-tip [nodeName="shape"]');z.attr("fillcolor",s.options.style.tip.color||s.options.style.border.color)}}}if(s.options.style.border.radius>0){s.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:s.options.style.border.color});if(f("<canvas>").get(0).getContext){A=g(s.options.style.border.radius);s.elements.tooltip.find(".qtip-wrapper canvas").each(function(){x=f(this).get(0).getContext("2d");x.clearRect(0,0,300,300);y=f(this).parent("div[rel]:first").attr("rel");r.call(s,f(this),A[y],s.options.style.border.radius,s.options.style.border.color)})}else{if(f.browser.msie){s.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){f(this).attr("fillcolor",s.options.style.border.color)})}}}return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(A,y){var z,x,w;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!A){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}z=s.beforeContentUpdate.call(s,A);if(typeof z=="string"){A=z}else{if(z===false){return}}if(f.browser.msie){s.elements.contentWrapper.children().css({zoom:"normal"})}if(A.jquery&&A.length>0){A.clone(true).appendTo(s.elements.content).show()}else{s.elements.content.html(A)}x=s.elements.content.find("img[complete=false]");if(x.length>0){w=0;x.each(function(C){f('<img src="'+f(this).attr("src")+'" />').load(function(){if(++w==x.length){B()}})})}else{B()}function B(){s.updateWidth();if(y!==false){if(s.options.position.type!=="static"){s.updatePosition(s.elements.tooltip.is(":visible"),true)}if(s.options.style.tip.corner!==false){n.call(s)}}}s.onContentUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(w,z,A){var y;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}y=s.beforeContentLoad.call(s);if(y===false){return s}if(A=="post"){f.post(w,z,x)}else{f.get(w,z,x)}function x(B){s.onContentLoad.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");s.updateContent(B)}return s},updateTitle:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!w){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=s.beforeTitleUpdate.call(s);if(returned===false){return s}if(s.elements.button){s.elements.button=s.elements.button.clone(true)}s.elements.title.html(w);if(s.elements.button){s.elements.title.prepend(s.elements.button)}s.onTitleUpdate.call(s);return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(A){var y,x,w,z;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(s.options.position.type=="static"){return f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}y=parseInt(s.elements.tooltip.css("z-index"));x=6000+f("div.qtip[qtip]").length-1;if(!s.status.focused&&y!==x){z=s.beforeFocus.call(s,A);if(z===false){return s}f("div.qtip[qtip]").not(s.elements.tooltip).each(function(){if(f(this).qtip("api").status.rendered===true){w=parseInt(f(this).css("z-index"));if(typeof w=="number"&&w>-1){f(this).css({zIndex:parseInt(f(this).css("z-index"))-1})}f(this).qtip("api").status.focused=false}});s.elements.tooltip.css({zIndex:x});s.status.focused=true;s.onFocus.call(s,A);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_FOCUSED,"focus")}return s},disable:function(w){if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(w){if(!s.status.disabled){s.status.disabled=true;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DISABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(s.status.disabled){s.status.disabled=false;f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_ENABLED,"disable")}else{f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return s},destroy:function(){var w,x,y;x=s.beforeDestroy.call(s);if(x===false){return s}if(s.status.rendered){s.options.show.when.target.unbind("mousemove.qtip",s.updatePosition);s.options.show.when.target.unbind("mouseout.qtip",s.hide);s.options.show.when.target.unbind(s.options.show.when.event+".qtip");s.options.hide.when.target.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind(s.options.hide.when.event+".qtip");s.elements.tooltip.unbind("mouseover.qtip",s.focus);s.elements.tooltip.remove()}else{s.options.show.when.target.unbind(s.options.show.when.event+".qtip-create")}if(typeof s.elements.target.data("qtip")=="object"){y=s.elements.target.data("qtip").interfaces;if(typeof y=="object"&&y.length>0){for(w=0;w<y.length-1;w++){if(y[w].id==s.id){y.splice(w,1)}}}}delete f.fn.qtip.interfaces[s.id];if(typeof y=="object"&&y.length>0){s.elements.target.data("qtip").current=y.length-1}else{s.elements.target.removeData("qtip")}s.onDestroy.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_DESTROYED,"destroy");return s.elements.target},getPosition:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}w=(s.elements.tooltip.css("display")!=="none")?false:true;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x=s.elements.tooltip.offset();if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x},getDimensions:function(){var w,x;if(!s.status.rendered){return f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}w=(!s.elements.tooltip.is(":visible"))?true:false;if(w){s.elements.tooltip.css({visiblity:"hidden"}).show()}x={height:s.elements.tooltip.outerHeight(),width:s.elements.tooltip.outerWidth()};if(w){s.elements.tooltip.css({visiblity:"visible"}).hide()}return x}})}function p(){var s,w,u,t,v,y,x;s=this;s.beforeRender.call(s);s.status.rendered=true;s.elements.tooltip='<div qtip="'+s.id+'" class="qtip '+(s.options.style.classes.tooltip||s.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+s.options.position.type+';"> <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;"> <div class="qtip-contentWrapper" style="overflow:hidden;"> <div class="qtip-content '+s.options.style.classes.content+'"></div></div></div></div>';s.elements.tooltip=f(s.elements.tooltip);s.elements.tooltip.appendTo(s.options.position.container);s.elements.tooltip.data("qtip",{current:0,interfaces:[s]});s.elements.wrapper=s.elements.tooltip.children("div:first");s.elements.contentWrapper=s.elements.wrapper.children("div:first").css({background:s.options.style.background});s.elements.content=s.elements.contentWrapper.children("div:first").css(q(s.options.style));if(f.browser.msie){s.elements.wrapper.add(s.elements.content).css({zoom:1})}if(s.options.hide.when.event=="unfocus"){s.elements.tooltip.attr("unfocus",true)}if(typeof s.options.style.width.value=="number"){s.updateWidth()}if(f("<canvas>").get(0).getContext||f.browser.msie){if(s.options.style.border.radius>0){m.call(s)}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color})}if(s.options.style.tip.corner!==false){e.call(s)}}else{s.elements.contentWrapper.css({border:s.options.style.border.width+"px solid "+s.options.style.border.color});s.options.style.border.radius=0;s.options.style.tip.corner=false;f.fn.qtip.log.error.call(s,2,f.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof s.options.content.text=="string"&&s.options.content.text.length>0)||(s.options.content.text.jquery&&s.options.content.text.length>0)){u=s.options.content.text}else{if(typeof s.elements.target.attr("title")=="string"&&s.elements.target.attr("title").length>0){u=s.elements.target.attr("title").replace("\\n","<br />");s.elements.target.attr("title","")}else{if(typeof s.elements.target.attr("alt")=="string"&&s.elements.target.attr("alt").length>0){u=s.elements.target.attr("alt").replace("\\n","<br />");s.elements.target.attr("alt","")}else{u=" ";f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(s.options.content.title.text!==false){j.call(s)}s.updateContent(u);l.call(s);if(s.options.show.ready===true){s.show()}if(s.options.content.url!==false){t=s.options.content.url;v=s.options.content.data;y=s.options.content.method||"get";s.loadContent(t,v,y)}s.onRender.call(s);f.fn.qtip.log.error.call(s,1,f.fn.qtip.constants.EVENT_RENDERED,"render")}function m(){var F,z,t,B,x,E,u,G,D,y,w,C,A,s,v;F=this;F.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();t=F.options.style.border.width;B=F.options.style.border.radius;x=F.options.style.border.color||F.options.style.tip.color;E=g(B);u={};for(z in E){u[z]='<div rel="'+z+'" style="'+((z.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+B+"px; width:"+B+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(f("<canvas>").get(0).getContext){u[z]+='<canvas height="'+B+'" width="'+B+'" style="vertical-align: top"></canvas>'}else{if(f.browser.msie){G=B*2+3;u[z]+='<v:arc stroked="false" fillcolor="'+x+'" startangle="'+E[z][0]+'" endangle="'+E[z][1]+'" style="width:'+G+"px; height:"+G+"px; margin-top:"+((z.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((z.search(/Right/)!==-1)?E[z][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}u[z]+="</div>"}D=F.getDimensions().width-(Math.max(t,B)*2);y='<div class="qtip-betweenCorners" style="height:'+B+"px; width:"+D+"px; overflow:hidden; background-color:"+x+'; line-height:0.1px; font-size:1px;">';w='<div class="qtip-borderTop" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.topLeft+u.topRight+y;F.elements.wrapper.prepend(w);C='<div class="qtip-borderBottom" dir="ltr" style="height:'+B+"px; margin-left:"+B+'px; line-height:0.1px; font-size:1px; padding:0;">'+u.bottomLeft+u.bottomRight+y;F.elements.wrapper.append(C);if(f("<canvas>").get(0).getContext){F.elements.wrapper.find("canvas").each(function(){A=E[f(this).parent("[rel]:first").attr("rel")];r.call(F,f(this),A,B,x)})}else{if(f.browser.msie){F.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}s=Math.max(B,(B+(t-B)));v=Math.max(t-B,0);F.elements.contentWrapper.css({border:"0px solid "+x,borderWidth:v+"px "+s+"px"})}function r(u,w,s,t){var v=u.get(0).getContext("2d");v.fillStyle=t;v.beginPath();v.arc(w[0],w[1],s,0,Math.PI*2,false);v.fill()}function e(v){var t,s,x,u,w;t=this;if(t.elements.tip!==null){t.elements.tip.remove()}s=t.options.style.tip.color||t.options.style.border.color;if(t.options.style.tip.corner===false){return}else{if(!v){v=t.options.style.tip.corner}}x=b(v,t.options.style.tip.size.width,t.options.style.tip.size.height);t.elements.tip='<div class="'+t.options.style.classes.tip+'" dir="ltr" rel="'+v+'" style="position:absolute; height:'+t.options.style.tip.size.height+"px; width:"+t.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(f("<canvas>").get(0).getContext){t.elements.tip+='<canvas height="'+t.options.style.tip.size.height+'" width="'+t.options.style.tip.size.width+'"></canvas>'}else{if(f.browser.msie){u=t.options.style.tip.size.width+","+t.options.style.tip.size.height;w="m"+x[0][0]+","+x[0][1];w+=" l"+x[1][0]+","+x[1][1];w+=" "+x[2][0]+","+x[2][1];w+=" xe";t.elements.tip+='<v:shape fillcolor="'+s+'" stroked="false" filled="true" path="'+w+'" coordsize="'+u+'" style="width:'+t.options.style.tip.size.width+"px; height:"+t.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((v.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';t.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';t.elements.contentWrapper.css("position","relative")}}t.elements.tooltip.prepend(t.elements.tip+"</div>");t.elements.tip=t.elements.tooltip.find("."+t.options.style.classes.tip).eq(0);if(f("<canvas>").get(0).getContext){h.call(t,t.elements.tip.find("canvas:first"),x,s)}if(v.search(/top/)!==-1&&f.browser.msie&&parseInt(f.browser.version.charAt(0))===6){t.elements.tip.css({marginTop:-4})}n.call(t,v)}function h(t,v,s){var u=t.get(0).getContext("2d");u.fillStyle=s;u.beginPath();u.moveTo(v[0][0],v[0][1]);u.lineTo(v[1][0],v[1][1]);u.lineTo(v[2][0],v[2][1]);u.fill()}function n(u){var t,w,s,x,v;t=this;if(t.options.style.tip.corner===false||!t.elements.tip){return}if(!u){u=t.elements.tip.attr("rel")}w=positionAdjust=(f.browser.msie)?1:0;t.elements.tip.css(u.match(/left|right|top|bottom/)[0],0);if(u.search(/top|bottom/)!==-1){if(f.browser.msie){if(parseInt(f.browser.version.charAt(0))===6){positionAdjust=(u.search(/top/)!==-1)?-3:1}else{positionAdjust=(u.search(/top/)!==-1)?1:2}}if(u.search(/Middle/)!==-1){t.elements.tip.css({left:"50%",marginLeft:-(t.options.style.tip.size.width/2)})}else{if(u.search(/Left/)!==-1){t.elements.tip.css({left:t.options.style.border.radius-w})}else{if(u.search(/Right/)!==-1){t.elements.tip.css({right:t.options.style.border.radius+w})}}}if(u.search(/top/)!==-1){t.elements.tip.css({top:-positionAdjust})}else{t.elements.tip.css({bottom:positionAdjust})}}else{if(u.search(/left|right/)!==-1){if(f.browser.msie){positionAdjust=(parseInt(f.browser.version.charAt(0))===6)?1:((u.search(/left/)!==-1)?1:2)}if(u.search(/Middle/)!==-1){t.elements.tip.css({top:"50%",marginTop:-(t.options.style.tip.size.height/2)})}else{if(u.search(/Top/)!==-1){t.elements.tip.css({top:t.options.style.border.radius-w})}else{if(u.search(/Bottom/)!==-1){t.elements.tip.css({bottom:t.options.style.border.radius+w})}}}if(u.search(/left/)!==-1){t.elements.tip.css({left:-positionAdjust})}else{t.elements.tip.css({right:positionAdjust})}}}s="padding-"+u.match(/left|right|top|bottom/)[0];x=t.options.style.tip.size[(s.search(/left|right/)!==-1)?"width":"height"];t.elements.tooltip.css("padding",0);t.elements.tooltip.css(s,x);if(f.browser.msie&&parseInt(f.browser.version.charAt(0))==6){v=parseInt(t.elements.tip.css("margin-top"))||0;v+=parseInt(t.elements.content.css("margin-top"))||0;t.elements.tip.css({marginTop:v})}}function j(){var s=this;if(s.elements.title!==null){s.elements.title.remove()}s.elements.title=f('<div class="'+s.options.style.classes.title+'">').css(q(s.options.style.title,true)).css({zoom:(f.browser.msie)?1:0}).prependTo(s.elements.contentWrapper);if(s.options.content.title.text){s.updateTitle.call(s,s.options.content.title.text)}if(s.options.content.title.button!==false&&typeof s.options.content.title.button=="string"){s.elements.button=f('<a class="'+s.options.style.classes.button+'" style="float:right; position: relative"></a>').css(q(s.options.style.button,true)).html(s.options.content.title.button).prependTo(s.elements.title).click(function(t){if(!s.status.disabled){s.hide(t)}})}}function l(){var t,v,u,s;t=this;v=t.options.show.when.target;u=t.options.hide.when.target;if(t.options.hide.fixed){u=u.add(t.elements.tooltip)}if(t.options.hide.when.event=="inactive"){s=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function y(z){if(t.status.disabled===true){return}clearTimeout(t.timers.inactive);t.timers.inactive=setTimeout(function(){f(s).each(function(){u.unbind(this+".qtip-inactive");t.elements.content.unbind(this+".qtip-inactive")});t.hide(z)},t.options.hide.delay)}}else{if(t.options.hide.fixed===true){t.elements.tooltip.bind("mouseover.qtip",function(){if(t.status.disabled===true){return}clearTimeout(t.timers.hide)})}}function x(z){if(t.status.disabled===true){return}if(t.options.hide.when.event=="inactive"){f(s).each(function(){u.bind(this+".qtip-inactive",y);t.elements.content.bind(this+".qtip-inactive",y)});y()}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.timers.show=setTimeout(function(){t.show(z)},t.options.show.delay)}function w(z){if(t.status.disabled===true){return}if(t.options.hide.fixed===true&&t.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&f(z.relatedTarget).parents("div.qtip[qtip]").length>0){z.stopPropagation();z.preventDefault();clearTimeout(t.timers.hide);return false}clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.elements.tooltip.stop(true,true);t.timers.hide=setTimeout(function(){t.hide(z)},t.options.hide.delay)}if((t.options.show.when.target.add(t.options.hide.when.target).length===1&&t.options.show.when.event==t.options.hide.when.event&&t.options.hide.when.event!=="inactive")||t.options.hide.when.event=="unfocus"){t.cache.toggle=0;v.bind(t.options.show.when.event+".qtip",function(z){if(t.cache.toggle==0){x(z)}else{w(z)}})}else{v.bind(t.options.show.when.event+".qtip",x);if(t.options.hide.when.event!=="inactive"){u.bind(t.options.hide.when.event+".qtip",w)}}if(t.options.position.type.search(/(fixed|absolute)/)!==-1){t.elements.tooltip.bind("mouseover.qtip",t.focus)}if(t.options.position.target==="mouse"&&t.options.position.type!=="static"){v.bind("mousemove.qtip",function(z){t.cache.mouse={x:z.pageX,y:z.pageY};if(t.status.disabled===false&&t.options.position.adjust.mouse===true&&t.options.position.type!=="static"&&t.elements.tooltip.css("display")!=="none"){t.updatePosition(z)}})}}function o(u,v,A){var z,s,x,y,t,w;z=this;if(A.corner=="center"){return v.position}s=f.extend({},u);y={x:false,y:false};t={left:(s.left<f.fn.qtip.cache.screen.scroll.left),right:(s.left+A.dimensions.width+2>=f.fn.qtip.cache.screen.width+f.fn.qtip.cache.screen.scroll.left),top:(s.top<f.fn.qtip.cache.screen.scroll.top),bottom:(s.top+A.dimensions.height+2>=f.fn.qtip.cache.screen.height+f.fn.qtip.cache.screen.scroll.top)};x={left:(t.left&&(A.corner.search(/right/i)!=-1||(A.corner.search(/right/i)==-1&&!t.right))),right:(t.right&&(A.corner.search(/left/i)!=-1||(A.corner.search(/left/i)==-1&&!t.left))),top:(t.top&&A.corner.search(/top/i)==-1),bottom:(t.bottom&&A.corner.search(/bottom/i)==-1)};if(x.left){if(z.options.position.target!=="mouse"){s.left=v.position.left+v.dimensions.width}else{s.left=z.cache.mouse.x}y.x="Left"}else{if(x.right){if(z.options.position.target!=="mouse"){s.left=v.position.left-A.dimensions.width}else{s.left=z.cache.mouse.x-A.dimensions.width}y.x="Right"}}if(x.top){if(z.options.position.target!=="mouse"){s.top=v.position.top+v.dimensions.height}else{s.top=z.cache.mouse.y}y.y="top"}else{if(x.bottom){if(z.options.position.target!=="mouse"){s.top=v.position.top-A.dimensions.height}else{s.top=z.cache.mouse.y-A.dimensions.height}y.y="bottom"}}if(s.left<0){s.left=u.left;y.x=false}if(s.top<0){s.top=u.top;y.y=false}if(z.options.style.tip.corner!==false){s.corner=new String(A.corner);if(y.x!==false){s.corner=s.corner.replace(/Left|Right|Middle/,y.x)}if(y.y!==false){s.corner=s.corner.replace(/top|bottom/,y.y)}if(s.corner!==z.elements.tip.attr("rel")){e.call(z,s.corner)}}return s}function q(u,t){var v,s;v=f.extend(true,{},u);for(s in v){if(t===true&&s.search(/(tip|classes)/i)!==-1){delete v[s]}else{if(!t&&s.search(/(width|border|tip|title|classes|user)/i)!==-1){delete v[s]}}}return v}function c(s){if(typeof s.tip!=="object"){s.tip={corner:s.tip}}if(typeof s.tip.size!=="object"){s.tip.size={width:s.tip.size,height:s.tip.size}}if(typeof s.border!=="object"){s.border={width:s.border}}if(typeof s.width!=="object"){s.width={value:s.width}}if(typeof s.width.max=="string"){s.width.max=parseInt(s.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof s.width.min=="string"){s.width.min=parseInt(s.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof s.tip.size.x=="number"){s.tip.size.width=s.tip.size.x;delete s.tip.size.x}if(typeof s.tip.size.y=="number"){s.tip.size.height=s.tip.size.y;delete s.tip.size.y}return s}function a(){var s,t,u,x,v,w;s=this;u=[true,{}];for(t=0;t<arguments.length;t++){u.push(arguments[t])}x=[f.extend.apply(f,u)];while(typeof x[0].name=="string"){x.unshift(c(f.fn.qtip.styles[x[0].name]))}x.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},f.fn.qtip.styles.defaults);v=f.extend.apply(f,x);w=(f.browser.msie)?1:0;v.tip.size.width+=w;v.tip.size.height+=w;if(v.tip.size.width%2>0){v.tip.size.width+=1}if(v.tip.size.height%2>0){v.tip.size.height+=1}if(v.tip.corner===true){v.tip.corner=(s.options.position.corner.tooltip==="center")?false:s.options.position.corner.tooltip}return v}function b(v,u,t){var s={bottomRight:[[0,0],[u,t],[u,0]],bottomLeft:[[0,0],[u,0],[0,t]],topRight:[[0,t],[u,0],[u,t]],topLeft:[[0,0],[0,t],[u,t]],topMiddle:[[0,t],[u/2,0],[u,t]],bottomMiddle:[[0,0],[u,0],[u/2,t]],rightMiddle:[[0,0],[u,t/2],[0,t]],leftMiddle:[[u,0],[u,t],[0,t/2]]};s.leftTop=s.bottomRight;s.rightTop=s.bottomLeft;s.leftBottom=s.topRight;s.rightBottom=s.topLeft;return s[v]}function g(s){var t;if(f("<canvas>").get(0).getContext){t={topLeft:[s,s],topRight:[0,s],bottomLeft:[s,0],bottomRight:[0,0]}}else{if(f.browser.msie){t={topLeft:[-90,90,0],topRight:[-90,90,-s],bottomLeft:[90,270,0],bottomRight:[90,270,-s]}}}return t}function k(){var s,t,u;s=this;u=s.getDimensions();t='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+u.height+"px; width:"+u.width+'px" />';s.elements.bgiframe=s.elements.wrapper.prepend(t).children(".qtip-bgiframe:first")}f(document).ready(function(){f.fn.qtip.cache={screen:{scroll:{left:f(window).scrollLeft(),top:f(window).scrollTop()},width:f(window).width(),height:f(window).height()}};var s;f(window).bind("resize scroll",function(t){clearTimeout(s);s=setTimeout(function(){if(t.type==="scroll"){f.fn.qtip.cache.screen.scroll={left:f(window).scrollLeft(),top:f(window).scrollTop()}}else{f.fn.qtip.cache.screen.width=f(window).width();f.fn.qtip.cache.screen.height=f(window).height()}for(i=0;i<f.fn.qtip.interfaces.length;i++){var u=f.fn.qtip.interfaces[i];if(u.status.rendered===true&&(u.options.position.type!=="static"||u.options.position.adjust.scroll&&t.type==="scroll"||u.options.position.adjust.resize&&t.type==="resize")){u.updatePosition(t,true)}}},100)});f(document).bind("mousedown.qtip",function(t){if(f(t.target).parents("div.qtip").length===0){f(".qtip[unfocus]").each(function(){var u=f(this).qtip("api");if(f(this).is(":visible")&&!u.status.disabled&&f(t.target).add(u.elements.target).length>1){u.hide(t)}})}})});f.fn.qtip.interfaces=[];f.fn.qtip.log={error:function(){return this}};f.fn.qtip.constants={};f.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};f.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/public/ws.html
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.html 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/core/public/ws.html 2011-02-07 03:12:50 UTC (rev 1237)
@@ -102,6 +102,6 @@
<!--<span id="kuneloading-msg">Starting...</span></div>-->
<!--</div>-->
<div style="heigth: 20px"> </div>
-<div id="k-home-ini">Latest projects, bla, bla, bla</div>
+<div id="k-home-ini" title="test">Latest projects, bla, bla, bla</div>
</body>
</html>
Modified: trunk/src/main/java/cc/kune/domain/AccessLists.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/AccessLists.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/AccessLists.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/BasicMimeType.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/BasicMimeType.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/BasicMimeType.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Comment.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Comment.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Comment.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Container.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Container.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Container.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/ContainerTranslation.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/ContainerTranslation.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/ContainerTranslation.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Content.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Content.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Content.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/ContentTranslation.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/ContentTranslation.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/ContentTranslation.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/CustomProperties.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/CustomProperties.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/CustomProperties.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Group.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Group.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Group.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -103,7 +103,7 @@
@Field(index = Index.UN_TOKENIZED, store = Store.NO)
@Column(unique = true)
@Length(min = 3, max = 15, message = "The shortname must be between 3 and 15 characters of length")
- @Pattern(regex = "^[a-z0-9_\\-]+$", message = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers, and dashes")
+ @Pattern(regex = "^[a-z0-9]+$", message = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers, and dashes")
private String shortName;
@OneToOne(cascade = CascadeType.ALL)
Modified: trunk/src/main/java/cc/kune/domain/GroupList.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/GroupList.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/GroupList.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/I18nCountry.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/I18nCountry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/I18nCountry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/I18nLanguage.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/I18nLanguage.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/I18nLanguage.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/I18nTranslation.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/I18nTranslation.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/I18nTranslation.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/License.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/License.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/License.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Rate.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Rate.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Rate.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Revision.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Revision.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Revision.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/SocialNetwork.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/SocialNetwork.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/SocialNetwork.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/Tag.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Tag.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/Tag.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/ToolConfiguration.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/ToolConfiguration.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/ToolConfiguration.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/User.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/User.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/User.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -106,7 +106,7 @@
@Column(unique = true)
// http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-def…
@Length(min = 3, max = 15)
- @Pattern(regex = "^[a-z0-9_\\-]+$", message = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers, and dashes")
+ @Pattern(regex = "^[a-z0-9]+$", message = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters, numbers, and dashes")
private String shortName;
@NotNull
Modified: trunk/src/main/java/cc/kune/domain/utils/DataFieldBridge.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/DataFieldBridge.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/DataFieldBridge.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/utils/HasId.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/HasId.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/HasId.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/utils/HasStateToken.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/HasStateToken.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/HasStateToken.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/utils/ParticipationData.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/ParticipationData.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/ParticipationData.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/utils/SocialNetworkData.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/SocialNetworkData.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/SocialNetworkData.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/domain/utils/UserBuddiesData.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/utils/UserBuddiesData.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/domain/utils/UserBuddiesData.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -106,8 +106,8 @@
final StateToken token = state.getStateToken();
if (((StateContainerDTO) state).getAccessLists().getViewers().getMode().equals(GroupListDTO.EVERYONE)) {
final String publicUrl = stateTokenUtils.getPublicUrl(token);
- // getView().setContentGotoPublicUrl(publicUrl);
- getView().setContentGotoPublicUrl("http://www.google.com");
+ getView().setContentGotoPublicUrl(publicUrl);
+ // getView().setContentGotoPublicUrl("http://www.google.com");
if (state instanceof StateContentDTO) {
final StateContentDTO content = (StateContentDTO) state;
if (content.getStatus().equals(ContentStatus.publishedOnline)) {
Added: trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java (rev 0)
+++ trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -0,0 +1,155 @@
+/**
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package cc.kune.wave.server;
+
+import java.io.IOException;
+import java.util.Locale;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.waveprotocol.box.server.CoreSettings;
+import org.waveprotocol.box.server.account.HumanAccountDataImpl;
+import org.waveprotocol.box.server.authentication.HttpRequestBasedCallbackHandler;
+import org.waveprotocol.box.server.authentication.PasswordDigest;
+import org.waveprotocol.box.server.gxp.UserRegistrationPage;
+import org.waveprotocol.box.server.persistence.AccountStore;
+import org.waveprotocol.box.server.persistence.PersistenceException;
+import org.waveprotocol.box.server.rpc.AuthenticationServlet;
+import org.waveprotocol.box.server.rpc.BaseUrlHelper;
+import org.waveprotocol.wave.model.wave.InvalidParticipantAddress;
+import org.waveprotocol.wave.model.wave.ParticipantId;
+import org.waveprotocol.wave.util.logging.Log;
+
+import com.google.gxp.base.GxpContext;
+import com.google.inject.Inject;
+import com.google.inject.name.Named;
+
+/**
+ * The user registration servlet allows new users to register accounts.
+ *
+ * @author josephg(a)gmail.com (Joseph Gentle)
+ */
+public class CustomUserRegistrationServlet extends HttpServlet {
+ private final AccountStore accountStore;
+ private final String baseUrl;
+ private final String domain;
+
+ private final Log LOG = Log.get(CustomUserRegistrationServlet.class);
+
+ @Inject
+ public CustomUserRegistrationServlet(final AccountStore accountStore,
+ @Named(CoreSettings.WAVE_SERVER_DOMAIN) final String domain,
+ @Named(CoreSettings.HTTP_BASE_URL) final String baseUrl) {
+ this.accountStore = accountStore;
+ this.domain = domain;
+ this.baseUrl = BaseUrlHelper.removeLastSlash(baseUrl);
+ }
+
+ @Override
+ protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
+ writeRegistrationPage("", AuthenticationServlet.RESPONSE_STATUS_NONE, req.getLocale(), resp);
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
+ req.setCharacterEncoding("UTF-8");
+ String message = tryCreateUser(req.getParameter(HttpRequestBasedCallbackHandler.ADDRESS_FIELD),
+ req.getParameter(HttpRequestBasedCallbackHandler.PASSWORD_FIELD));
+ String responseType = AuthenticationServlet.RESPONSE_STATUS_SUCCESS;
+
+ if (message != null) {
+ resp.setStatus(HttpServletResponse.SC_FORBIDDEN);
+ responseType = AuthenticationServlet.RESPONSE_STATUS_FAILED;
+ } else {
+ message = "Registration complete.";
+ resp.setStatus(HttpServletResponse.SC_OK);
+ }
+
+ writeRegistrationPage(message, responseType, req.getLocale(), resp);
+ }
+
+ /**
+ * Try to create a user with the provided username and password. On error,
+ * returns a string containing an error message. On success, returns null.
+ */
+ public String tryCreateUser(final String username, final String password) {
+ String lusername = username;
+ String lpassword = password;
+ final String message = null;
+ ParticipantId id = null;
+
+ try {
+ // First, some cleanup on the parameters.
+ if (lusername == null) {
+ return "Username portion of address cannot be less than 2 characters";
+ }
+ lusername = lusername.trim().toLowerCase();
+ if (lusername.contains(ParticipantId.DOMAIN_PREFIX)) {
+ id = ParticipantId.of(lusername);
+ } else {
+ id = ParticipantId.of(lusername + ParticipantId.DOMAIN_PREFIX + domain);
+ }
+ if (id.getAddress().indexOf("@") < 2) {
+ return "Username portion of address cannot be less than 2 characters";
+ }
+ final String[] usernameSplit = id.getAddress().split("@");
+ if (usernameSplit.length != 2 || !usernameSplit[0].matches("[\\w\\.]+")) {
+ return "Only letters (a-z), numbers (0-9), and periods (.) are allowed in Username";
+ }
+ if (!id.getDomain().equals(domain)) {
+ return "You can only create users at the " + domain + " domain";
+ }
+ } catch (final InvalidParticipantAddress e) {
+ return "Invalid username";
+ }
+
+ try {
+ if (accountStore.getAccount(id) != null) {
+ return "Account already exists";
+ }
+ } catch (final PersistenceException e) {
+ LOG.severe("Failed to retreive account data for " + id, e);
+ return "An unexpected error occured while trying to retrieve account status";
+ }
+
+ if (lpassword == null) {
+ // Register the user with an empty password.
+ lpassword = "";
+ }
+
+ final HumanAccountDataImpl account = new HumanAccountDataImpl(id, new PasswordDigest(lpassword.toCharArray()));
+ try {
+ accountStore.putAccount(account);
+ } catch (final PersistenceException e) {
+ LOG.severe("Failed to create new account for " + id, e);
+ return "An unexpected error occured while trying to create the account";
+ }
+
+ return null;
+ }
+
+ private void writeRegistrationPage(final String message, final String responseType, final Locale locale,
+ final HttpServletResponse dest) throws IOException {
+ dest.setCharacterEncoding("UTF-8");
+ dest.setContentType("text/html;charset=utf-8");
+ UserRegistrationPage.write(dest.getWriter(), new GxpContext(locale), domain, baseUrl, message, responseType);
+ }
+}
Property changes on: trunk/src/main/java/cc/kune/wave/server/CustomUserRegistrationServlet.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/wave/server/WaveStarter.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/cc/kune/wave/server/WaveStarter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -146,7 +146,7 @@
public WaveStarter() {
}
- public void run(final Module coreSettings, final Injector parentInjector) throws PersistenceException,
+ public Injector run(final Module coreSettings, final Injector parentInjector) throws PersistenceException,
ConfigurationException, WaveServerException {
// Injector settingsInjector = Guice.createInjector(coreSettings);
Injector settingsInjector = parentInjector.createChildInjector(coreSettings);
@@ -176,13 +176,13 @@
LOG.info("Starting server");
server.startWebSocketServer();
+ return injector;
}
- public void runMain(final Injector settingsInjector) {
+ public Injector runMain(final Injector settingsInjector) {
try {
final Module coreSettings = CustomSettingsBinder.bindSettings(PROPERTIES_FILE_KEY, CoreSettings.class);
- run(coreSettings, settingsInjector);
- return;
+ return run(coreSettings, settingsInjector);
} catch (final PersistenceException e) {
LOG.error("PersistenceException when running server:", e);
} catch (final ConfigurationException e) {
@@ -190,6 +190,6 @@
} catch (final WaveServerException e) {
LOG.error("WaveServerException when running server:", e);
}
-
+ return settingsInjector;
}
}
Modified: trunk/src/main/java/org/ourproject/kune/rack/ContainerListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/ContainerListener.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/ContainerListener.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/Rack.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/Rack.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/Rack.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -18,7 +18,7 @@
*
*/
/*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackBuilder.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackBuilder.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackBuilder.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackHelper.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackHelper.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackHelper.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/RackServletFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -91,10 +91,10 @@
throws IOException, ServletException {
final String relative = RackHelper.getRelativeURL(request);
- // log.debug("REQUEST: " + relative);
+ LOG.debug("REQUEST: " + relative);
for (final RequestMatcher matcher : excludes) {
if (matcher.matches(relative)) {
- // log.debug("SKIPING!");
+ LOG.info("Excluded (from Guice): " + relative);
chain.doFilter(request, response);
return;
}
@@ -129,12 +129,12 @@
final RackModule module = getModule(filterConfig);
final RackBuilder builder = new RackBuilder();
module.configure(builder);
-
final Rack rack = builder.getRack();
+ final Injector parentInjector = Guice.createInjector();
final WaveStarter waveStarter = new WaveStarter();
- final Injector injector = installInjector(filterConfig, rack);
- waveStarter.runMain(injector);
- startContainerListeners(rack.getListeners(), injector);
+ final Injector waveChildInjector = waveStarter.runMain(parentInjector);
+ final Injector kuneChildInjector = installInjector(filterConfig, rack, waveChildInjector);
+ startContainerListeners(rack.getListeners(), kuneChildInjector);
docks = rack.getDocks();
excludes = rack.getExcludes();
initFilters(filterConfig);
@@ -147,10 +147,11 @@
}
}
- private Injector installInjector(final FilterConfig filterConfig, final Rack rack) {
- final Injector injector = Guice.createInjector(rack.getGuiceModules());
- filterConfig.getServletContext().setAttribute(INJECTOR_ATTRIBUTE, injector);
- return injector;
+ private Injector installInjector(final FilterConfig filterConfig, final Rack rack, final Injector waveChildInjector) {
+ // final Injector injector = Guice.createInjector();
+ final Injector childInjector = waveChildInjector.createChildInjector(rack.getGuiceModules());
+ filterConfig.getServletContext().setAttribute(INJECTOR_ATTRIBUTE, childInjector);
+ return childInjector;
}
private void startContainerListeners(final List<Class<? extends ContainerListener>> listenerClasses,
Modified: trunk/src/main/java/org/ourproject/kune/rack/dock/AbstractDock.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/dock/AbstractDock.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/dock/AbstractDock.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/dock/Dock.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/dock/Dock.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/dock/Dock.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/dock/RegexDock.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/dock/RegexDock.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/dock/RegexDock.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/dock/RegexMatcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/dock/RegexMatcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/dock/RegexMatcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/dock/RequestMatcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/dock/RequestMatcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/dock/RequestMatcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/AbstractInjectedFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/AbstractInjectedFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/AbstractInjectedFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/ApplicationListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/ApplicationListener.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/ApplicationListener.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/ForwardFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/ForwardFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/ForwardFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/ListenerFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/ListenerFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/ListenerFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/LogFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/LogFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/LogFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/RedirectFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/RedirectFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/RedirectFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/DelegatedRemoteServlet.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/DelegatedRemoteServlet.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/DelegatedRemoteServlet.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/GWTServiceFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/GWTServiceFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/gwts/GWTServiceFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/DefaultRESTMethodFinder.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/DefaultRESTMethodFinder.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/DefaultRESTMethodFinder.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/JSONLibRESTSerializer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/JSONLibRESTSerializer.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/JSONLibRESTSerializer.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/Parameters.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/Parameters.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/Parameters.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/ParametersAdapter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/ParametersAdapter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/ParametersAdapter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/REST.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/REST.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/REST.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethod.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethod.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethod.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethodFinder.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethodFinder.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTMethodFinder.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTSerializer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTSerializer.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTSerializer.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceDefinition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceDefinition.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceDefinition.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServiceFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServicesModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServicesModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/RESTServicesModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/TransactionalServiceExecutor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/TransactionalServiceExecutor.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/TransactionalServiceExecutor.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/rest/XStreamRESTSerializer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/rest/XStreamRESTSerializer.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/rest/XStreamRESTSerializer.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/rack/filters/servlet/ServletServiceFilter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/rack/filters/servlet/ServletServiceFilter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/rack/filters/servlet/ServletServiceFilter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/AbstractFoldableContentActions.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/RegistryModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceMessages.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceMessages.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceMessages.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/WorkspaceModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -102,9 +102,6 @@
import org.ourproject.kune.workspace.client.licensewizard.pages.LicenseWizardSndFormView;
import org.ourproject.kune.workspace.client.licensewizard.pages.LicenseWizardTrdForm;
import org.ourproject.kune.workspace.client.licensewizard.pages.LicenseWizardTrdFormView;
-import org.ourproject.kune.workspace.client.newgroup.NewGroup;
-import org.ourproject.kune.workspace.client.newgroup.NewGroupPanel;
-import org.ourproject.kune.workspace.client.newgroup.NewGroupPresenter;
import org.ourproject.kune.workspace.client.nohomepage.NoHomePage;
import org.ourproject.kune.workspace.client.nohomepage.NoHomePagePanel;
import org.ourproject.kune.workspace.client.nohomepage.NoHomePagePresenter;
@@ -228,6 +225,7 @@
import cc.kune.core.client.auth.Register;
import cc.kune.core.client.auth.SignIn;
import cc.kune.core.client.errors.ErrorHandler;
+import cc.kune.core.client.groups.newgroup.NewGroup;
import cc.kune.core.client.i18n.I18nUITranslationService;
import cc.kune.core.client.resources.icons.IconResources;
import cc.kune.core.client.rpcservices.ContentService;
@@ -888,17 +886,20 @@
// }
// });
- register(Singleton.class, new Factory<NewGroup>(NewGroup.class) {
- @Override
- public NewGroup create() {
- final NewGroupPresenter presenter = new NewGroupPresenter(i(I18nTranslationService.class),
- i(Session.class), i(StateManager.class), p(GroupServiceAsync.class));
- final NewGroupPanel view = new NewGroupPanel(presenter, i(I18nTranslationService.class),
- p(LicenseWizard.class), i(NotifyLevelImages.class));
- presenter.init(view);
- return presenter;
- }
- });
+ // register(Singleton.class, new Factory<NewGroup>(NewGroup.class) {
+ // @Override
+ // public NewGroup create() {
+ // final NewGroupPresenter presenter = new
+ // NewGroupPresenter(i(I18nTranslationService.class),
+ // i(Session.class), i(StateManager.class),
+ // p(GroupServiceAsync.class));
+ // final NewGroupPanel view = new NewGroupPanel(presenter,
+ // i(I18nTranslationService.class),
+ // p(LicenseWizard.class), i(NotifyLevelImages.class));
+ // presenter.init(view);
+ // return presenter;
+ // }
+ // });
register(Singleton.class, new Factory<UserLiveSearcher>(UserLiveSearcher.class) {
@Override
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/AbstractContentView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbarPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ActionContentToolbarPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentActionRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentActionRegistry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentIconsRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentIconsRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/ContentIconsRegistry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContent.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContent.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cnt/FoldableContentPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigator.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigator.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorItem.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorItem.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ctxnav/ContextNavigatorView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/AccessListsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/AccessListsPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/AccessListsPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextBottomToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextBottomToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextBottomToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextTopToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextTopToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ActionContextTopToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextActionRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextActionRegistry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditor.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditor.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/ContextPropEditorView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/FoldableContextPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/FoldableContextPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/cxt/FoldableContextPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocal.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocal.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocal.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocallink/InsertLinkLocalView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeader.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
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 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityTextLogo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityTextLogo.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityTextLogo.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/hello/HelloWorldModule.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslator.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslator.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/I18nTranslatorView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelector.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelector.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelector.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/LanguageSelectorView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicensePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicenseView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicenseView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensefoot/EntityLicenseView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseChangeAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseChangeAction.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseChangeAction.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizard.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizard.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizard.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstFormView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstFormView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFirstFormView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFlags.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFlags.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFlags.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdFormView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdFormView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardFrdFormView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndFormView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndFormView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardSndFormView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdForm.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdForm.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdFormView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdFormView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/licensewizard/pages/LicenseWizardTrdFormView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePage.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePage.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePage.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePagePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePageView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePageView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/nohomepage/NoHomePageView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptions.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptions.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicense.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicense.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicense.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicensePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicenseView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicenseView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/EntityOptionsDefLicenseView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogo.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogo.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/EntityOptionsLogoView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConf.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConf.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConfPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConfPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConfPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConfPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConf.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConf.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolsConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolsConfPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolsConfPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConfPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConfPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateIt.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateIt.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateIt.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateItView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RatePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/RateView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/rate/Star.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/rate/Star.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/rate/Star.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearchListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearchListener.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearchListener.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherType.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherType.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherType.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/EntityLiveSearcherView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearchPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcherPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcherPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/GroupLiveSearcherPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteBottomTrayButton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteBottomTrayButton.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteBottomTrayButton.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherType.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherType.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherType.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SiteSearcherView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcher.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcher.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcher.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/UserLiveSearcherPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessage.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessage.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessage.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessagePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessageView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessageView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/msg/ToastMessageView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogo.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogo.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitelogo/SiteLogoView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptions.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptions.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/SiteOptionsView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgress.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgress.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgress.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteprogress/SiteProgressView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLink.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLink.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitepublic/SitePublicSpaceLinkView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearch.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearch.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearch.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesearch/SiteSearchView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLink.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLink.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignInLinkView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLink.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLink.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/sitesign/SiteSignOutLinkView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptions.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptions.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteusermenu/SiteUserOptionsView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/AbstractBar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/AbstractBar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/AbstractBar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/ActionCntCtxToolbarPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/ActionCntCtxToolbarPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/ActionCntCtxToolbarPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Entity.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Entity.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Entity.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
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 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntitySummary.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
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 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/EntityWorkspace.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SiteBar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SiteBar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SiteBar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SummaryPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/SummaryPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Toolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Toolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/Toolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/skel/WorkspaceSkeleton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/skel/WorkspaceSkeleton.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/skel/WorkspaceSkeleton.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummary.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/BuddiesSummaryView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupActionRegistry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummary.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummary.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipationSummaryView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/SocialNetworkPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UserActionRegistry.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbarPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionBuddiesSummaryToolbarPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbarPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionGroupSummaryToolbarPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationSummaryToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationSummaryToolbarPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationSummaryToolbarPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/toolbar/ActionParticipationToolbar.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummary.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummary.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummary.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tags/TagsSummaryView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsTheme.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsTheme.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsTheme.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManager.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManager.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitle.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitle.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitle.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitlePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitleView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitleView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntitySubTitleView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitle.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitle.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitle.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitlePresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitleView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitleView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/EntityTitleView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/title/RenameAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/title/RenameAction.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/title/RenameAction.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/AbstractClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/AbstractClientTool.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/AbstractClientTool.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ClientTool.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ClientTool.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/FoldableAbstractClientTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/FoldableAbstractClientTool.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/FoldableAbstractClientTool.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelector.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelector.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelector.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItem.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItem.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPanel.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorItemView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/AbstractUploader.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploader.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploader.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderDialog.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderPresenter.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderView.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/upload/FileUploaderView.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/resources/wave-server.properties
===================================================================
--- trunk/src/main/resources/wave-server.properties 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/resources/wave-server.properties 2011-02-07 03:12:50 UTC (rev 1237)
@@ -14,8 +14,8 @@
### Server-specific variables
###
-# Settings for the different persistence stores. Currently supported: memory, file, mongodb
-signer_info_store_type = memory
+# Settings for the different persistence stores. Currently supported: file, file, mongodb
+signer_info_store_type = file
# The location where signer info certificate data is stored on disk. This should be changed.
# Note: This is only used when using the file signer info store. It is ignored
@@ -31,7 +31,7 @@
attachment_store_directory = _attachments
# Currently supported account store types: fake, memory, file, mongodb
-account_store_type = memory
+account_store_type = file
# The location where accounts are stored on disk. This should be changed.
# Note: This is only used when using the file account store. It is ignored
@@ -39,7 +39,7 @@
account_store_directory = _accounts
# Currently supported delta store types: memory, file
-delta_store_type = memory
+delta_store_type = file
# The location where deltas are stored on disk. This should be changed.
# Note: This is only used when using the file delta store. It is ignored
Modified: trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/src/main/webapp/WEB-INF/web.xml 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/main/webapp/WEB-INF/web.xml 2011-02-07 03:12:50 UTC (rev 1237)
@@ -57,21 +57,7 @@
<listener>
<listener-class>org.jruby.rack.rails.RailsServletContextListener</listener-class>
</listener>
- <!-- Kune normal guice configuration ======================================================================== -->
- <filter>
- <filter-name>rack</filter-name>
- <filter-class>org.ourproject.kune.rack.RackServletFilter</filter-class>
- <init-param>
- <param-name>org.ourproject.kune.rack.RackModule</param-name>
- <param-value>
- org.ourproject.kune.app.server.KuneRackModule
- </param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>rack</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
+
<!-- Emite xmpp proxy ======================================================================================= -->
<!-- <servlet> -->
<!-- <servlet-name>HttpBind</servlet-name> -->
@@ -382,6 +368,21 @@
<servlet-name>WiabWebClient</servlet-name>
<url-pattern>/webclient/*</url-pattern>
</servlet-mapping>
+ <!-- Kune normal guice configuration ======================================================================== -->
+ <filter>
+ <filter-name>rack</filter-name>
+ <filter-class>org.ourproject.kune.rack.RackServletFilter</filter-class>
+ <init-param>
+ <param-name>org.ourproject.kune.rack.RackModule</param-name>
+ <param-value>
+ org.ourproject.kune.app.server.KuneRackModule
+ </param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>rack</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
<!-- Wave proxies with context /wiab/ ====================================================================== -->
<!-- <servlet> -->
<!-- <servlet-name>WiabSocketIO</servlet-name> -->
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -28,18 +28,13 @@
import com.google.inject.Inject;
public abstract class IntegrationTest {
-
@Inject
+ DatabaseProperties properties;
+ @Inject
protected UserSession session;
@Inject
UserService userService;
- @Inject
- DatabaseProperties properties;
- public String getHash() {
- return session.getHash();
- }
-
protected String doLogin() throws DefaultException {
return userService.login(getSiteAdminShortName(), properties.getAdminPassword()).getUserHash();
}
@@ -60,6 +55,10 @@
return properties.getDefaultSiteShortName();
}
+ public String getHash() {
+ return session.getHash();
+ }
+
protected String getSiteAdminShortName() {
return properties.getAdminShortName();
}
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java 2011-02-07 03:06:46 UTC (rev 1236)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java 2011-02-07 03:12:50 UTC (rev 1237)
@@ -17,74 +17,74 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-package org.ourproject.kune.platf.server;
-
-import javax.persistence.EntityManager;
-import javax.persistence.EntityTransaction;
-
-import org.junit.Before;
-
-import com.google.inject.Inject;
-import com.google.inject.Injector;
-import com.google.inject.Provider;
-import com.wideplay.warp.persist.PersistenceService;
-import com.wideplay.warp.persist.Transactional;
-
-public abstract class PersistenceTest {
- private final String persistenceUnit;
- private final String propetiesFileName;
- @Inject
- Provider<EntityManager> provider;
-
- public PersistenceTest() {
- // test: use memory
- // test_db: use mysql
- // Also configurable ein TestHelper
- this("test_db", "kune.properties");
- }
-
- public PersistenceTest(final String persistenceUnit, final String propetiesFileName) {
- this.persistenceUnit = persistenceUnit;
- this.propetiesFileName = propetiesFileName;
- }
-
- public void closeTransaction() {
- getManager().getTransaction().commit();
- }
-
- protected EntityManager getManager() {
- return provider.get();
- }
-
- public EntityTransaction getTransaction() {
- return getManager().getTransaction();
- }
-
- public EntityManager openTransaction() {
- final EntityManager manager = getManager();
- final EntityTransaction transaction = manager.getTransaction();
- transaction.begin();
- return manager;
- }
-
- public void persist(final Object... entities) {
- for (final Object entity : entities) {
- getManager().persist(entity);
- }
- }
-
- @Transactional
- @Before
- public void prepare() {
- final Injector injector = TestHelper.create(new PlatformServerModule(), persistenceUnit, propetiesFileName);
- final PersistenceService persistence = injector.getInstance(PersistenceService.class);
- // To Debug insert breakpoint here
- persistence.start();
- injector.injectMembers(this);
- }
-
- public void rollbackTransaction() {
- getManager().getTransaction().rollback();
- }
-
-}
+package org.ourproject.kune.platf.server;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityTransaction;
+
+import org.junit.Before;
+
+import com.google.inject.Inject;
+import com.google.inject.Injector;
+import com.google.inject.Provider;
+import com.wideplay.warp.persist.PersistenceService;
+import com.wideplay.warp.persist.Transactional;
+
+public abstract class PersistenceTest {
+ private final String persistenceUnit;
+ private final String propetiesFileName;
+ @Inject
+ Provider<EntityManager> provider;
+
+ public PersistenceTest() {
+ // test: use memory
+ // test_db: use mysql
+ // Also configurable ein TestHelper
+ this("test_db", "kune.properties");
+ }
+
+ public PersistenceTest(final String persistenceUnit, final String propetiesFileName) {
+ this.persistenceUnit = persistenceUnit;
+ this.propetiesFileName = propetiesFileName;
+ }
+
+ public void closeTransaction() {
+ getManager().getTransaction().commit();
+ }
+
+ protected EntityManager getManager() {
+ return provider.get();
+ }
+
+ public EntityTransaction getTransaction() {
+ return getManager().getTransaction();
+ }
+
+ public EntityManager openTransaction() {
+ final EntityManager manager = getManager();
+ final EntityTransaction transaction = manager.getTransaction();
+ transaction.begin();
+ return manager;
+ }
+
+ public void persist(final Object... entities) {
+ for (final Object entity : entities) {
+ getManager().persist(entity);
+ }
+ }
+
+ @Transactional
+ @Before
+ public void prepare() {
+ final Injector injector = TestHelper.create(new PlatformServerModule(), persistenceUnit, propetiesFileName);
+ final PersistenceService persistence = injector.getInstance(PersistenceService.class);
+ // To Debug insert breakpoint here
+ persistence.start();
+ injector.injectMembers(this);
+ }
+
+ public void rollbackTransaction() {
+ getManager().getTransaction().rollback();
+ }
+
+}
1
0
Author: vjrj_
Date: 2011-02-07 04:06:46 +0100 (Mon, 07 Feb 2011)
New Revision: 1236
Modified:
trunk/src/main/java/org/ourproject/kune/platf/client/View.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionAddCondition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCheckedCondition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionEnableCondition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItemCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionManager.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionMenuItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonAndItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonSeparator.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuAndItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuCheckItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuRadioDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/MenuItemsContainer.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/RadioMustBeChecked.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbar.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarView.java
trunk/src/main/java/org/ourproject/kune/platf/client/app/ApplicationComponentGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/app/GroupOptionsCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/app/ToolGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/app/UserOptionsCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/AbstractContentRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/AclEditableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/AuthorableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/CanBeHomepageRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/ComentableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/ContentCapabilitiesRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/DragableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/DropableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/EmailSubscribeAbleRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/LicensableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/PublishModerableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/RateableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/RenamableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/TageableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/TranslatableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/VersionableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppComentableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppNotifyCapableRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/CoreModule.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractLabel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractSearcherPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/ContextPropertyPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/DefaultGrid.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/DropDownPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/EditableClickListener.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/FlowToolbar.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/HasColor.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/HorizontalLine.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconHyperlink.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconLabelEditable.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneStringUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneUiUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/LabelWrapper.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItemCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/RoundedPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/SimpleToolbar.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultForm.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultFormUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultTabbedForm.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/ExtendedDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/InfoDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardListener.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/AbstractFormPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormListener.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/CustomMenu.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDragConfiguration.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDropConfiguration.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooser.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooserCallback.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageData.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/NotifyUser.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalette.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePaletteView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplIE6.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplMozilla.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplOpera.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplSafari.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmail.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExt.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtView.java
trunk/src/main/java/org/ourproject/kune/platf/server/InitData.java
trunk/src/main/java/org/ourproject/kune/platf/server/KunePersistenceService.java
trunk/src/main/java/org/ourproject/kune/platf/server/LoggerMethodInterceptor.java
trunk/src/main/java/org/ourproject/kune/platf/server/OutermostCallInterceptor.java
trunk/src/main/java/org/ourproject/kune/platf/server/PlatformServerModule.java
trunk/src/main/java/org/ourproject/kune/platf/server/UserSession.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsService.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessService.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderService.java
trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/ActionLevel.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authenticated.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptor.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authorizated.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptor.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionService.java
trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentUtils.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationService.java
trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/i18n/I18nTranslationServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/ExtMediaDescripManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/FileManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/GroupManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nCountryManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nLanguageManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nTranslationManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/LicenseManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/Manager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/RateManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/SocialNetworkManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/ToolConfigurationManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/UserManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerUtils.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileJsonUploadManagerAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUtils.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/DefaultManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nCountryManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nLanguageManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nTranslationManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/LicenseManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/RateManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SearchResult.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/TagManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ToolConfigurationManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/mapper/DozerMapper.java
trunk/src/main/java/org/ourproject/kune/platf/server/mapper/GroupListModeConverter.java
trunk/src/main/java/org/ourproject/kune/platf/server/mapper/Mapper.java
trunk/src/main/java/org/ourproject/kune/platf/server/properties/ChatProperties.java
trunk/src/main/java/org/ourproject/kune/platf/server/properties/DatabaseProperties.java
trunk/src/main/java/org/ourproject/kune/platf/server/properties/KuneProperties.java
trunk/src/main/java/org/ourproject/kune/platf/server/properties/KunePropertiesDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/properties/PropertiesFileName.java
trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java
trunk/src/main/java/org/ourproject/kune/platf/server/rest/GroupJSONService.java
trunk/src/main/java/org/ourproject/kune/platf/server/rest/I18nTranslationJSONService.java
trunk/src/main/java/org/ourproject/kune/platf/server/rest/TestJSONService.java
trunk/src/main/java/org/ourproject/kune/platf/server/rest/UserJSONService.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/GroupRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/I18nRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/RPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SiteRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SocialNetworkRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/rpc/UserRPC.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContainer.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContent.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateNoContent.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateService.java
trunk/src/main/java/org/ourproject/kune/platf/server/state/StateServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerTool.java
trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolTarget.java
trunk/src/main/java/org/ourproject/kune/platf/server/tool/ToolSimple.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/Link.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoService.java
trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/utils/FilenameUtils.java
Log:
WIAB integration updated
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/View.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/View.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/View.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -19,9 +19,13 @@
*/
package org.ourproject.kune.platf.client;
+import com.google.gwt.user.client.ui.IsWidget;
+
/**
* For make tests without dependencies to gwt. Use casting to use the widget.
+ * Use #{@link com.gwtplatform.mvp.client.View} 0r #{@link IsWidget}
*/
+@Deprecated
public interface View {
}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionAddCondition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionAddCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionAddCondition.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCheckedCondition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCheckedCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCheckedCondition.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionCollection.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionEnableCondition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionEnableCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionEnableCondition.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItem.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItem.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItemCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItemCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionItemCollection.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionMenuItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionMenuItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionMenuItemDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonAndItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonAndItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonAndItemDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonSeparator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonSeparator.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarButtonSeparator.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuAndItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuAndItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuAndItemDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuCheckItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuCheckItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuCheckItemDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuRadioDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuRadioDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarMenuRadioDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/MenuItemsContainer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/MenuItemsContainer.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/MenuItemsContainer.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/RadioMustBeChecked.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/RadioMustBeChecked.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/RadioMustBeChecked.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/app/ApplicationComponentGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/app/ApplicationComponentGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/app/ApplicationComponentGroup.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/app/GroupOptionsCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/app/GroupOptionsCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/app/GroupOptionsCollection.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/app/ToolGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/app/ToolGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/app/ToolGroup.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/app/UserOptionsCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/app/UserOptionsCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/app/UserOptionsCollection.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/AbstractContentRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/AbstractContentRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/AbstractContentRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/AclEditableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/AclEditableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/AclEditableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/AuthorableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/AuthorableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/AuthorableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/CanBeHomepageRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/CanBeHomepageRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/CanBeHomepageRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/ComentableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/ComentableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/ComentableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/ContentCapabilitiesRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/ContentCapabilitiesRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/ContentCapabilitiesRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/DragableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/DragableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/DragableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/DropableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/DropableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/DropableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/EmailSubscribeAbleRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/EmailSubscribeAbleRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/EmailSubscribeAbleRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/LicensableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/LicensableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/LicensableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/PublishModerableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/PublishModerableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/PublishModerableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/RateableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/RateableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/RateableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/RenamableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/RenamableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/RenamableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/TageableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/TageableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/TageableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/TranslatableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/TranslatableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/TranslatableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/VersionableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/VersionableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/VersionableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppComentableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppComentableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppComentableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppNotifyCapableRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppNotifyCapableRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/registry/XmppNotifyCapableRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/CoreModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/CoreModule.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/CoreModule.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageDescriptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/ImageUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/PlatformModule.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractLabel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractLabel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractLabel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractSearcherPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractSearcherPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractSearcherPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/BasicThumb.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/ContextPropertyPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/ContextPropertyPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/ContextPropertyPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/DefaultGrid.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/DefaultGrid.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/DefaultGrid.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/DropDownPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/DropDownPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/DropDownPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/EditableClickListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/EditableClickListener.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/EditableClickListener.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/FlowToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/FlowToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/FlowToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/HasColor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/HasColor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/HasColor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/HorizontalLine.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/HorizontalLine.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/HorizontalLine.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconHyperlink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconHyperlink.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconHyperlink.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconLabelEditable.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconLabelEditable.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/IconLabelEditable.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneStringUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneStringUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneStringUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneUiUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneUiUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/KuneUiUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/LabelWrapper.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/LabelWrapper.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/LabelWrapper.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItem.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItem.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItemCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItemCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/MenuItemCollection.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/RoundedPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/RoundedPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/RoundedPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/SimpleToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/SimpleToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/SimpleToolbar.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultForm.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultForm.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultFormUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultFormUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultFormUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultTabbedForm.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultTabbedForm.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/DefaultTabbedForm.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/ExtendedDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/ExtendedDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/ExtendedDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/InfoDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/InfoDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/InfoDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardDialogView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardListener.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/WizardListener.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/tabbed/AbstractTabbedDialogView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileConstants.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/FileDownloadUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/download/ImageSize.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/AbstractFormPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/AbstractFormPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/AbstractFormPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormListener.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormListener.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormListener.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/form/FormView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/CustomMenu.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/CustomMenu.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/CustomMenu.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDragConfiguration.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDragConfiguration.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDragConfiguration.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDropConfiguration.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDropConfiguration.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridDropConfiguration.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridGroup.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridItem.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridItem.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooser.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooser.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooser.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooserCallback.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooserCallback.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageChooserCallback.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageData.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageData.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/imgchooser/ImageData.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/NotifyUser.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/NotifyUser.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/NotifyUser.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalette.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalette.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalette.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePalettePresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePaletteView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePaletteView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/ColorWebSafePaletteView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplIE6.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplIE6.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplIE6.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplMozilla.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplMozilla.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplMozilla.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplOpera.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplOpera.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplOpera.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplSafari.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplSafari.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/WrappedRichTextAreaImplSafari.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialog.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkDialogView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/InsertLinkGroup.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstract.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmail.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmail.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmail.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/email/InsertLinkEmailView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExt.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExt.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExt.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPanel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtPresenter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtView.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/ext/InsertLinkExtView.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/InitData.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/InitData.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/InitData.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/KunePersistenceService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/KunePersistenceService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/KunePersistenceService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/LoggerMethodInterceptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/LoggerMethodInterceptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/LoggerMethodInterceptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/OutermostCallInterceptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/OutermostCallInterceptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/OutermostCallInterceptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/PlatformServerModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/PlatformServerModule.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/PlatformServerModule.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -98,12 +98,48 @@
import cc.kune.core.client.rpcservices.SocialNetworkService;
import cc.kune.core.client.rpcservices.UserService;
import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.domain.Comment;
+import cc.kune.domain.Container;
+import cc.kune.domain.Content;
+import cc.kune.domain.ExtMediaDescrip;
+import cc.kune.domain.Group;
+import cc.kune.domain.I18nCountry;
+import cc.kune.domain.I18nLanguage;
+import cc.kune.domain.I18nTranslation;
+import cc.kune.domain.License;
+import cc.kune.domain.Rate;
+import cc.kune.domain.SocialNetwork;
+import cc.kune.domain.Tag;
+import cc.kune.domain.TagUserContent;
+import cc.kune.domain.User;
import com.google.inject.matcher.Matchers;
import com.wideplay.warp.persist.PersistenceService;
import com.wideplay.warp.persist.UnitOfWork;
public class PlatformServerModule extends AbstractExtendedModule {
+ private void bindFinders() {
+ // http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Inje…
+ // (...) Just-in-time bindings created for child injectors will be
+ // created in an ancestor injector whenever possible (...)
+ // (This fails with finders, then we make explicit bindings)
+
+ bind(User.class);
+ bind(Group.class);
+ bind(Content.class);
+ bind(Container.class);
+ bind(License.class);
+ bind(SocialNetwork.class);
+ bind(Rate.class);
+ bind(I18nCountry.class);
+ bind(I18nLanguage.class);
+ bind(I18nTranslation.class);
+ bind(Tag.class);
+ bind(TagUserContent.class);
+ bind(Comment.class);
+ bind(ExtMediaDescrip.class);
+ }
+
private void bindManagers() {
bind(UserManager.class).to(UserManagerDefault.class);
bind(GroupManager.class).to(GroupManagerDefault.class);
@@ -149,6 +185,7 @@
install(PersistenceService.usingJpa().across(UnitOfWork.TRANSACTION).buildModule());
bind(KunePersistenceService.class);
+ bindFinders();
bindManagers();
bindRPC();
bindServices();
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/UserSession.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/UserSession.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/UserSession.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessRightsServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/AccessServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/access/FinderServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/ActionLevel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/ActionLevel.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/ActionLevel.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authenticated.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authenticated.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authenticated.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authorizated.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authorizated.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/Authorizated.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptor.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptor.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/auth/SessionServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/CommentManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/ContainerManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/ContentUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/content/CreationServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/i18n/I18nTranslationServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/i18n/I18nTranslationServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/i18n/I18nTranslationServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/ExtMediaDescripManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/ExtMediaDescripManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/ExtMediaDescripManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/FileManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/FileManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/FileManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/GroupManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/GroupManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/GroupManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nCountryManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nCountryManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nCountryManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nLanguageManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nLanguageManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nLanguageManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nTranslationManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nTranslationManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/I18nTranslationManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/LicenseManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/LicenseManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/LicenseManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/Manager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/Manager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/Manager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/RateManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/RateManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/RateManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/SocialNetworkManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/SocialNetworkManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/SocialNetworkManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/ToolConfigurationManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/ToolConfigurationManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/ToolConfigurationManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/UserManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/UserManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/UserManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoDownloadManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileJsonUploadManagerAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileJsonUploadManagerAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileJsonUploadManagerAbstract.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerAbstract.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/FileUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/DefaultManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/DefaultManager.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/DefaultManager.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/GroupManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nCountryManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nCountryManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nCountryManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nLanguageManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nLanguageManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nLanguageManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nTranslationManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nTranslationManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/I18nTranslationManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/LicenseManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/LicenseManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/LicenseManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/RateManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/RateManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/RateManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SearchResult.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SearchResult.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SearchResult.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/TagManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/TagManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/TagManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ToolConfigurationManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ToolConfigurationManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ToolConfigurationManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/UserManagerDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
@@ -45,6 +45,7 @@
import cc.kune.domain.I18nLanguage;
import cc.kune.domain.User;
import cc.kune.domain.utils.UserBuddiesData;
+import cc.kune.wave.server.CustomUserRegistrationServlet;
import com.google.inject.Inject;
import com.google.inject.Provider;
@@ -58,12 +59,14 @@
private final I18nLanguageManager languageManager;
private final ChatProperties properties;
// private final PropertiesManager propManager;
+ private final CustomUserRegistrationServlet waveUserRegister;
private final XmppManager xmppManager;
@Inject
public UserManagerDefault(final Provider<EntityManager> provider, final User finder,
final I18nLanguageManager languageManager, final I18nCountryManager countryManager,
- final XmppManager xmppManager, final ChatProperties properties, final I18nTranslationService i18n) {
+ final XmppManager xmppManager, final ChatProperties properties, final I18nTranslationService i18n,
+ final CustomUserRegistrationServlet waveUserRegister) {
super(provider, User.class);
this.finder = finder;
this.languageManager = languageManager;
@@ -71,6 +74,7 @@
this.xmppManager = xmppManager;
this.properties = properties;
this.i18n = i18n;
+ this.waveUserRegister = waveUserRegister;
}
@Override
@@ -86,6 +90,7 @@
} catch (final NoResultException e) {
throw new I18nNotFoundException();
}
+ waveUserRegister.tryCreateUser(shortName, passwd);
// if (userPropGroup == null) {
// userPropGroup = propGroupManager.find(User.PROPS_ID);
// }
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/mapper/DozerMapper.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/mapper/DozerMapper.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/mapper/DozerMapper.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/mapper/GroupListModeConverter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/mapper/GroupListModeConverter.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/mapper/GroupListModeConverter.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/mapper/Mapper.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/mapper/Mapper.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/mapper/Mapper.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/properties/ChatProperties.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/properties/ChatProperties.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/properties/ChatProperties.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/properties/DatabaseProperties.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/properties/DatabaseProperties.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/properties/DatabaseProperties.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/properties/KuneProperties.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/properties/KuneProperties.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/properties/KuneProperties.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/properties/KunePropertiesDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/properties/KunePropertiesDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/properties/KunePropertiesDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/properties/PropertiesFileName.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/properties/PropertiesFileName.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/properties/PropertiesFileName.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/GroupJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/GroupJSONService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/GroupJSONService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/I18nTranslationJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/I18nTranslationJSONService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/I18nTranslationJSONService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/TestJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/TestJSONService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/TestJSONService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/UserJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/UserJSONService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/UserJSONService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/ContentRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/GroupRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/GroupRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/GroupRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/I18nRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/I18nRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/I18nRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/RPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/RPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/RPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SiteRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SiteRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SiteRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SocialNetworkRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SocialNetworkRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/SocialNetworkRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rpc/UserRPC.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rpc/UserRPC.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rpc/UserRPC.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateAbstract.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContainer.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContainer.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContainer.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContent.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateContent.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateNoContent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateNoContent.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateNoContent.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/state/StateServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/state/StateServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/state/StateServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerTool.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerTool.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerTool.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolRegistry.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolTarget.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolTarget.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/tool/ServerToolTarget.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/tool/ToolSimple.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/tool/ToolSimple.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/tool/ToolSimple.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/Link.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/Link.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/Link.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfo.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoService.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoService.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/users/UserInfoServiceDefault.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/utils/FilenameUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/utils/FilenameUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/utils/FilenameUtils.java 2011-02-07 03:06:46 UTC (rev 1236)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
1
0
Author: vjrj_
Date: 2011-02-05 23:47:46 +0100 (Sat, 05 Feb 2011)
New Revision: 1235
Added:
trunk/src/main/java/cc/kune/core/public/ellipsis.xml
trunk/src/main/java/cc/kune/core/public/ie6.css
Modified:
trunk/COPYRIGHT
trunk/COPYRIGHT-AGPLv3.java
trunk/script/findFilesWithoutCopyright.sh
trunk/src/main/java/cc/kune/chat/client/ChatClient.java
trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java
trunk/src/main/java/cc/kune/chat/client/ChatOptions.java
trunk/src/main/java/cc/kune/chat/client/KuneChatNotifier.java
trunk/src/main/java/cc/kune/chat/client/KuneHablarSignals.java
trunk/src/main/java/cc/kune/chat/client/KuneUnattendedPresenter.java
trunk/src/main/java/cc/kune/chat/client/ShowChatDialogEvent.java
trunk/src/main/java/cc/kune/chat/client/ToggleShowChatDialogEvent.java
trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
trunk/src/main/java/cc/kune/client/KuneGinjector.java
trunk/src/main/java/cc/kune/common/client/GwtGinModule.java
trunk/src/main/java/cc/kune/common/client/GxtGinModule.java
trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java
trunk/src/main/java/cc/kune/common/client/SampleGinModule.java
trunk/src/main/java/cc/kune/common/client/SampleGinjector.java
trunk/src/main/java/cc/kune/common/client/actions/AbstractExtendedAction.java
trunk/src/main/java/cc/kune/common/client/actions/BaseAction.java
trunk/src/main/java/cc/kune/common/client/actions/NoAction.java
trunk/src/main/java/cc/kune/common/client/actions/Shortcut.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtBaseMenuItem.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtCheckItem.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtComplexToolbar.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtGuiProvider.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuCheckItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtPushButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSimpleGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java
trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtDefTooltip.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtGuiProvider.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuCheckItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuItemGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java
trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ActionFlowPanel.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java
trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java
trunk/src/main/java/cc/kune/common/client/actions/ui/ParentWidget.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/DefaultGuiProvider.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java
trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiProvider.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractSeparatorDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ButtonDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/IconLabelDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ImageLabelDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuCheckItemDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuRadioItemDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuSeparatorDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/NoParentGuiActionDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/Position.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/PushButtonDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarDescriptor.java
trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarSeparatorDescriptor.java
trunk/src/main/java/cc/kune/common/client/errors/NotImplementedException.java
trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java
trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java
trunk/src/main/java/cc/kune/common/client/noti/NotifyLevel.java
trunk/src/main/java/cc/kune/common/client/noti/NotifyLevelImages.java
trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java
trunk/src/main/java/cc/kune/common/client/notify/SimpleUserMessage.java
trunk/src/main/java/cc/kune/common/client/shortcuts/DefaultGlobalShortcutRegister.java
trunk/src/main/java/cc/kune/common/client/shortcuts/GlobalShortcutRegister.java
trunk/src/main/java/cc/kune/common/client/shortcuts/Keyboard.java
trunk/src/main/java/cc/kune/common/client/shortcuts/ShortcutDescriptor.java
trunk/src/main/java/cc/kune/common/client/ui/AbstractAtBorderPopupPanel.java
trunk/src/main/java/cc/kune/common/client/ui/AbstractToolbar.java
trunk/src/main/java/cc/kune/common/client/ui/IconLabel.java
trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.java
trunk/src/main/java/cc/kune/common/client/ui/MaskWidgetView.java
trunk/src/main/java/cc/kune/common/client/ui/PopupBottomPanel.java
trunk/src/main/java/cc/kune/common/client/ui/PopupTopPanel.java
trunk/src/main/java/cc/kune/common/client/utils/SimpleCallback.java
trunk/src/main/java/cc/kune/common/client/utils/TimerWrapper.java
trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
trunk/src/main/java/cc/kune/core/client/auth/SignInNewForm.java
trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManager.java
trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java
trunk/src/main/java/cc/kune/core/client/cookies/CookiesManager.java
trunk/src/main/java/cc/kune/core/client/cookies/CookiesManagerImpl.java
trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredEvent.java
trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java
trunk/src/main/java/cc/kune/core/client/init/AppStartEvent.java
trunk/src/main/java/cc/kune/core/client/init/AppStopEvent.java
trunk/src/main/java/cc/kune/core/client/logs/EventBusWithLogging.java
trunk/src/main/java/cc/kune/core/client/logs/Log.java
trunk/src/main/java/cc/kune/core/client/notify/alerts/AlertEvent.java
trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterPresenter.java
trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterViewImpl.java
trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java
trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java
trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierPresenter.java
trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierViewImpl.java
trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifyEvent.java
trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressHideEvent.java
trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressShowEvent.java
trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerPresenter.java
trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerViewImpl.java
trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
trunk/src/main/java/cc/kune/core/client/resources/icons/IconBorrarCssResource.java
trunk/src/main/java/cc/kune/core/client/resources/icons/IconConstants.java
trunk/src/main/java/cc/kune/core/client/resources/icons/IconResources.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsViewImpl.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarNewGroupLink.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignInLink.java
trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignOutLink.java
trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoPresenter.java
trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoUiHandlers.java
trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoViewImpl.java
trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java
trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorUiHandlers.java
trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorViewImpl.java
trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java
trunk/src/main/java/cc/kune/core/client/state/GroupChangedEvent.java
trunk/src/main/java/cc/kune/core/client/state/HistoryTokenCallback.java
trunk/src/main/java/cc/kune/core/client/state/SiteCommonTokens.java
trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
trunk/src/main/java/cc/kune/core/client/state/SocialNetworkChangedEvent.java
trunk/src/main/java/cc/kune/core/client/state/StateChangedEvent.java
trunk/src/main/java/cc/kune/core/client/state/ToolChangedEvent.java
trunk/src/main/java/cc/kune/core/client/state/UserSignInEvent.java
trunk/src/main/java/cc/kune/core/client/state/UserSignOutEvent.java
trunk/src/main/java/cc/kune/core/client/ui/KuneUiUtils.java
trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanel.java
trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanelView.java
trunk/src/main/java/cc/kune/core/client/ws/CorePresenter.java
trunk/src/main/java/cc/kune/core/client/ws/CoreViewImpl.java
trunk/src/main/java/cc/kune/core/shared/dto/ExtMediaDescripDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/StateTokenUtils.java
trunk/src/main/java/cc/kune/core/shared/dto/SubscriptionMode.java
trunk/src/main/java/cc/kune/domain/ExtMediaDescrip.java
trunk/src/main/java/cc/kune/domain/TagUserContent.java
trunk/src/main/java/cc/kune/gspace/client/WsArmor.java
trunk/src/main/java/cc/kune/gspace/client/WsArmorEntryPoint.java
trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.java
trunk/src/main/java/cc/kune/gspace/client/resources/WsArmorResources.java
trunk/src/main/java/cc/kune/msgs/client/CloseCallback.java
trunk/src/main/java/cc/kune/msgs/client/UserMessage.java
trunk/src/main/java/cc/kune/msgs/client/UserMessagesPanel.java
trunk/src/main/java/cc/kune/msgs/client/UserMessagesPresenter.java
trunk/src/main/java/cc/kune/msgs/client/resources/UserMessageImages.java
trunk/src/main/java/cc/kune/pspace/client/PSpaceGinModule.java
trunk/src/main/java/cc/kune/pspace/client/PSpacePanel.java
trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionPressedCondition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPosition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPushButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/Shortcut.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/common/GotoGroupAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionMenuItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarButton.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractButtonGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ComplexToolbar.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/CssStyleDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddCondition.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddConditionAdapter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingsRegister.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SimpleGuiItem.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparator.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java
trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/i18n/Resources.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/AbstractExtendedModule.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/Loader.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/SearcherConstants.java
trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java
trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/Keyboard.java
trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutDescriptor.java
trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutRegister.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractToolbar.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/AbstractPopupPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicPopupPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/ConfirmationAsk.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalette.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPaletteView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalette.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePaletteView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/TestRTEDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlAgent.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditor.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreview.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgCssResource.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgResources.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ContentPosition.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ImageInfo.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertElementAbstractPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExt.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkExecutableUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkInfo.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaRegistry.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstract.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExt.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharGroup.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianChar.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/AbstractInsertCharPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccChar.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialog.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogView.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditor.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPanel.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorView.java
trunk/src/main/java/org/ourproject/kune/platf/server/ServerException.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManager.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ExtMediaDescripManagerDefault.java
trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ServerManagerException.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditor.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocal.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocal.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderButton.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspace.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspaceView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptions.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsView.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicense.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicensePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicense.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicensePresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogo.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogo.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPresenter.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConf.java
trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherField.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/DefCssResource.java
trunk/src/main/java/org/ourproject/kune/workspace/client/site/WorkspaceNotifyUser.java
trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/AbstractSiteOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java
trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/other/AddAsBuddieHeaderButton.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManager.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManagerPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelector.java
trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java
trunk/src/test/java/cc/kune/core/client/state/EventBusTester.java
trunk/src/test/java/cc/kune/core/client/state/StateManagerTest.java
trunk/src/test/java/cc/kune/core/client/state/StateTokenTest.java
trunk/src/test/java/org/FaultyTestSuite.java
trunk/src/test/java/org/ourproject/kune/blogs/server/BlogServerToolTest.java
trunk/src/test/java/org/ourproject/kune/chat/ChatToolTest.java
trunk/src/test/java/org/ourproject/kune/chat/server/managers/XmppManagerTest.java
trunk/src/test/java/org/ourproject/kune/docs/DocumentToolTest.java
trunk/src/test/java/org/ourproject/kune/docs/server/DocumentServerToolTest.java
trunk/src/test/java/org/ourproject/kune/gallery/server/GalleryServerToolTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/actions/ActionRegistryTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/actions/ContentIconsRegistryTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/actions/KeyStrokeTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/actions/ShortcutTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/dto/BasicMimeTypeDTOTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/ui/KuneStringUtilsTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/ui/TextUtilsTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/ui/dialogs/upload/FileUploaderPresenterTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaDescriptorTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenterTest.java
trunk/src/test/java/org/ourproject/kune/platf/client/utils/UrlTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/DatabaseInitializationTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/HttpServletRequestMocked.java
trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentCommentServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceAddTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceGetTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceIntegrationTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceSaveTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceVariousTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/kuneservice/GroupServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/site/SiteServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkMembersTest.java
trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java
trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java
trunk/src/test/java/org/ourproject/kune/platf/server/access/AccessRightsServiceTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/access/FinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptorTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptorTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/domain/GroupListTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/finders/GroupFinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/finders/LicenseFinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/finders/RateFinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/ContentManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/FileManagerDefaultTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/GroupManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/I18nManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/LicenseManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagUserContentTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUtilsTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefaultTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/AbstractSocialNetworkManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerMoreTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java
trunk/src/test/java/org/ourproject/kune/platf/server/properties/KunePropertiesTest.java
trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTMethodFinder.java
trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTServiceDefinition.java
trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java
trunk/src/test/java/org/ourproject/kune/testhelper/ctx/SocialNetworkOperator.java
trunk/src/test/java/org/ourproject/kune/wiki/server/WikiServerToolTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/entityheader/EntityLogoPresenterTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenterTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/MockProvider.java
trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenterTest.java
trunk/src/test/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenterTest.java
trunk/src/test/java/testsuites/IntegrationTestSuite.java
trunk/src/test/java/testsuites/OthersTestSuite.java
trunk/src/test/java/testsuites/PlatfClientTestSuite.java
trunk/src/test/java/testsuites/ServerManagerTestSuite.java
trunk/src/test/java/testsuites/ServerOtherTestSuite.java
trunk/src/test/java/testsuites/ServerTestSuite.java
Log:
Copyright added
Modified: trunk/COPYRIGHT
===================================================================
--- trunk/COPYRIGHT 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/COPYRIGHT 2011-02-05 22:47:46 UTC (rev 1235)
@@ -17,7 +17,7 @@
kune software
--------------------------------------------------------------------------------
Copyright:
- (c) 2007-2009 The kune development team (see CREDITS for details)
+ (c) 2007-2011 The kune development team (see CREDITS for details)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
Modified: trunk/COPYRIGHT-AGPLv3.java
===================================================================
--- trunk/COPYRIGHT-AGPLv3.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/COPYRIGHT-AGPLv3.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,6 +1,6 @@
/*
*
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
* This file is part of kune.
*
* This program is free software: you can redistribute it and/or modify
Modified: trunk/script/findFilesWithoutCopyright.sh
===================================================================
--- trunk/script/findFilesWithoutCopyright.sh 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/script/findFilesWithoutCopyright.sh 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,2 +1,2 @@
#!/bin/bash
-for i in `find src/main/java/org/ourproject -name '*.java'`; do egrep -q "Copyright|The kune development team" $i ; if [[ $? -ne 0 ]]; then echo $i ; fi; done
+for i in `find src/main/java/cc/ src/test src/main/java/org/ourproject -name '*.java'`; do egrep -q "Copyright|The kune development team" $i ; if [[ $? -ne 0 ]]; then echo $i ; fi; done
Modified: trunk/src/main/java/cc/kune/chat/client/ChatClient.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatClient.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ChatClient.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
Modified: trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ChatClientDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import java.util.Date;
Modified: trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ChatGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import com.google.inject.Singleton;
Modified: trunk/src/main/java/cc/kune/chat/client/ChatOptions.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ChatOptions.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ChatOptions.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
Modified: trunk/src/main/java/cc/kune/chat/client/KuneChatNotifier.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/KuneChatNotifier.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/KuneChatNotifier.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import cc.kune.common.client.noti.NotifyUser;
Modified: trunk/src/main/java/cc/kune/chat/client/KuneHablarSignals.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/KuneHablarSignals.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/KuneHablarSignals.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import cc.kune.chat.client.ChatClientDefault.ChatClientAction;
Modified: trunk/src/main/java/cc/kune/chat/client/KuneUnattendedPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/KuneUnattendedPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/KuneUnattendedPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import cc.kune.chat.client.ChatClientDefault.ChatClientAction;
Modified: trunk/src/main/java/cc/kune/chat/client/ShowChatDialogEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ShowChatDialogEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ShowChatDialogEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/chat/client/ToggleShowChatDialogEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/ToggleShowChatDialogEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/chat/client/ToggleShowChatDialogEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.chat.client;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/client/KuneEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/client/KuneEntryPoint.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.client;
import cc.kune.common.client.noti.NotifyUser;
Modified: trunk/src/main/java/cc/kune/client/KuneGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.client;
import cc.kune.chat.client.ChatClient;
Modified: trunk/src/main/java/cc/kune/common/client/GwtGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/GwtGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/GwtGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client;
import cc.kune.common.client.actions.gwtui.GwtButtonGui;
Modified: trunk/src/main/java/cc/kune/common/client/GxtGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/GxtGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/GxtGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client;
import cc.kune.common.client.actions.gwtui.GwtIconLabelGui;
Modified: trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/SampleEntryPoint.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client;
import cc.kune.common.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/cc/kune/common/client/SampleGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/SampleGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/SampleGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client;
import cc.kune.common.client.actions.gwtui.GwtGuiProvider;
Modified: trunk/src/main/java/cc/kune/common/client/SampleGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/SampleGinjector.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/SampleGinjector.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client;
import cc.kune.common.client.actions.gwtui.GwtGuiProvider;
Modified: trunk/src/main/java/cc/kune/common/client/actions/AbstractExtendedAction.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/AbstractExtendedAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/AbstractExtendedAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions;
Modified: trunk/src/main/java/cc/kune/common/client/actions/BaseAction.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/BaseAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/BaseAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions;
import com.google.gwt.resources.client.ImageResource;
Modified: trunk/src/main/java/cc/kune/common/client/actions/NoAction.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/NoAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/NoAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions;
/**
Modified: trunk/src/main/java/cc/kune/common/client/actions/Shortcut.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/Shortcut.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/Shortcut.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions;
import cc.kune.common.client.shortcuts.Keyboard;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.Action;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtMenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtBaseMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtBaseMenuItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtBaseMenuItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import com.google.gwt.user.client.Command;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtCheckItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtCheckItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtCheckItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.errors.NotImplementedException;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtComplexToolbar.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtComplexToolbar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtComplexToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtGuiProvider.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtGuiProvider.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtGuiProvider.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.bind.GuiProvider;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtIconLabelGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuCheckItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuCheckItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuCheckItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.descrip.MenuCheckItemDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtMenuSeparatorGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtPushButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtPushButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtPushButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSimpleGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSimpleGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSimpleGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractComposedGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtSubMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/GwtToolbarSeparatorGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gwtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.Action;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/AbstractGxtMenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtDefTooltip.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtDefTooltip.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtDefTooltip.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import com.extjs.gxt.ui.client.widget.tips.ToolTipConfig;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtGuiProvider.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtGuiProvider.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtGuiProvider.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.gwtui.GwtIconLabelGui;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuCheckItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuCheckItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuCheckItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.descrip.MenuCheckItemDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuItemGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtMenuSeparatorGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtPushButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtSubMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/gxtui/GxtToolbarSeparatorGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.gxtui;
import cc.kune.common.client.actions.ui.AbstractChildGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractChildGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractComposedGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import java.util.List;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/AbstractGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ActionExtensibleView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ActionFlowPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ActionFlowPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ActionFlowPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.bind.GuiProvider;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ActionSimplePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.bind.GuiProvider;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/IsActionExtensible.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import cc.kune.common.client.actions.ui.descrip.AbstractGuiActionDescrip;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/ParentWidget.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/ParentWidget.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/ParentWidget.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui;
import com.google.gwt.user.client.ui.UIObject;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/AbstractGuiBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.bind;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/DefaultGuiProvider.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/DefaultGuiProvider.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/DefaultGuiProvider.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.bind;
import java.util.HashMap;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.bind;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiChildBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.bind;
import cc.kune.common.client.actions.ui.AbstractGuiItem;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiProvider.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiProvider.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/bind/GuiProvider.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.bind;
import com.google.inject.Provider;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractGuiActionDescrip.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/AbstractSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ButtonDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ButtonDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiActionDescCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import java.util.ArrayList;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
public interface GuiAddCondition {
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/GuiAddConditionAdapter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/IconLabelDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/IconLabelDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/IconLabelDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ImageLabelDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ImageLabelDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ImageLabelDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuCheckItemDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuCheckItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuCheckItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuRadioItemDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuRadioItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuRadioItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/MenuSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
public class MenuSeparatorDescriptor extends AbstractSeparatorDescriptor {
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/NoParentGuiActionDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/NoParentGuiActionDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/NoParentGuiActionDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/Position.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/Position.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/Position.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
public class Position {
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/PushButtonDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/PushButtonDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/PushButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/SubMenuDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
import cc.kune.common.client.actions.Action;
Modified: trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/actions/ui/descrip/ToolbarSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.actions.ui.descrip;
Modified: trunk/src/main/java/cc/kune/common/client/errors/NotImplementedException.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/errors/NotImplementedException.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/errors/NotImplementedException.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.errors;
import com.google.gwt.core.client.GWT;
Modified: trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/noti/AlertEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.noti;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/noti/ConfirmAskEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.noti;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/common/client/noti/NotifyLevel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/NotifyLevel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/noti/NotifyLevel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.noti;
public enum NotifyLevel {
Modified: trunk/src/main/java/cc/kune/common/client/noti/NotifyLevelImages.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/NotifyLevelImages.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/noti/NotifyLevelImages.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.noti;
import cc.kune.core.client.resources.CoreResources;
Modified: trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/noti/NotifyUser.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.noti;
import cc.kune.common.client.utils.SimpleCallback;
Modified: trunk/src/main/java/cc/kune/common/client/notify/SimpleUserMessage.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/notify/SimpleUserMessage.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/notify/SimpleUserMessage.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.notify;
import org.cobogw.gwt.user.client.ui.RoundedPanel;
Modified: trunk/src/main/java/cc/kune/common/client/shortcuts/DefaultGlobalShortcutRegister.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/shortcuts/DefaultGlobalShortcutRegister.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/shortcuts/DefaultGlobalShortcutRegister.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.shortcuts;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/shortcuts/GlobalShortcutRegister.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/shortcuts/GlobalShortcutRegister.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/shortcuts/GlobalShortcutRegister.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.shortcuts;
import cc.kune.common.client.actions.AbstractAction;
Modified: trunk/src/main/java/cc/kune/common/client/shortcuts/Keyboard.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/shortcuts/Keyboard.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/shortcuts/Keyboard.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.shortcuts;
public final class Keyboard {
Modified: trunk/src/main/java/cc/kune/common/client/shortcuts/ShortcutDescriptor.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/shortcuts/ShortcutDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/shortcuts/ShortcutDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.shortcuts;
public class ShortcutDescriptor {
Modified: trunk/src/main/java/cc/kune/common/client/ui/AbstractAtBorderPopupPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/AbstractAtBorderPopupPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/AbstractAtBorderPopupPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import com.google.gwt.event.logical.shared.ResizeEvent;
Modified: trunk/src/main/java/cc/kune/common/client/ui/AbstractToolbar.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/AbstractToolbar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/AbstractToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;
Modified: trunk/src/main/java/cc/kune/common/client/ui/IconLabel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/IconLabel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/IconLabel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import java.util.Iterator;
Modified: trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/MaskWidget.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import javax.annotation.Nonnull;
Modified: trunk/src/main/java/cc/kune/common/client/ui/MaskWidgetView.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/MaskWidgetView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/MaskWidgetView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import com.google.gwt.user.client.ui.IsWidget;
Modified: trunk/src/main/java/cc/kune/common/client/ui/PopupBottomPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/PopupBottomPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/PopupBottomPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import com.google.gwt.user.client.Window;
Modified: trunk/src/main/java/cc/kune/common/client/ui/PopupTopPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/ui/PopupTopPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/ui/PopupTopPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.ui;
import com.google.gwt.user.client.Window;
Modified: trunk/src/main/java/cc/kune/common/client/utils/SimpleCallback.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/utils/SimpleCallback.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/utils/SimpleCallback.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.utils;
public interface SimpleCallback {
Modified: trunk/src/main/java/cc/kune/common/client/utils/TimerWrapper.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/utils/TimerWrapper.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/common/client/utils/TimerWrapper.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.common.client.utils;
import com.google.gwt.user.client.Timer;
Modified: trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client;
import cc.kune.common.client.actions.gwtui.GwtGuiProvider;
Modified: trunk/src/main/java/cc/kune/core/client/auth/SignInNewForm.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/SignInNewForm.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/auth/SignInNewForm.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.auth;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManager.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManager.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.auth;
public interface UserPassAutocompleteManager {
Modified: trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/auth/UserPassAutocompleteManagerImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.auth;
import com.google.gwt.user.client.DOM;
Modified: trunk/src/main/java/cc/kune/core/client/cookies/CookiesManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/cookies/CookiesManager.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/cookies/CookiesManager.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.cookies;
public interface CookiesManager {
Modified: trunk/src/main/java/cc/kune/core/client/cookies/CookiesManagerImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/cookies/CookiesManagerImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/cookies/CookiesManagerImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.cookies;
import java.util.Date;
Modified: trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/errors/SessionExpiredEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.errors;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/i18n/I18nReadyEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.i18n;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/init/AppStartEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/init/AppStartEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/init/AppStartEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.init;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/init/AppStopEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/init/AppStopEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/init/AppStopEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.init;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/logs/EventBusWithLogging.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/logs/EventBusWithLogging.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/logs/EventBusWithLogging.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.logs;
import com.google.gwt.event.shared.GwtEvent;
Modified: trunk/src/main/java/cc/kune/core/client/logs/Log.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/logs/Log.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/logs/Log.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.logs;
import com.google.gwt.core.client.GWT;
Modified: trunk/src/main/java/cc/kune/core/client/notify/alerts/AlertEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/alerts/AlertEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/alerts/AlertEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.alerts;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.alerts;
import cc.kune.core.client.notify.alerts.UserAlerterPresenter.UserAlerterProxy;
Modified: trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/alerts/UserAlerterViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.alerts;
import cc.kune.core.client.notify.alerts.UserAlerterPresenter.UserAlerterView;
Modified: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.confirm;
import cc.kune.common.client.noti.ConfirmAskEvent;
Modified: trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/confirm/UserConfirmViewImpl2.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.confirm;
import cc.kune.common.client.noti.ConfirmAskEvent;
Modified: trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.msgs;
import cc.kune.core.client.notify.msgs.UserNotifierPresenter.UserNotifierProxy;
Modified: trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifierViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.msgs;
import cc.kune.common.client.ui.PopupBottomPanel;
Modified: trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifyEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifyEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/msgs/UserNotifyEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.msgs;
import cc.kune.common.client.noti.NotifyLevel;
Modified: trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressHideEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressHideEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressHideEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.spiner;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressShowEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressShowEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/spiner/ProgressShowEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.spiner;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.spiner;
import cc.kune.core.client.i18n.I18nReadyEvent;
Modified: trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/notify/spiner/SpinerViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.notify.spiner;
import cc.kune.core.client.notify.spiner.SpinerPresenter.SpinerView;
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreResources.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.resources;
import com.google.gwt.resources.client.ClientBundle;
Modified: trunk/src/main/java/cc/kune/core/client/resources/icons/IconBorrarCssResource.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/icons/IconBorrarCssResource.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/resources/icons/IconBorrarCssResource.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.resources.icons;
import com.google.gwt.resources.client.CssResource;
Modified: trunk/src/main/java/cc/kune/core/client/resources/icons/IconConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/icons/IconConstants.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/resources/icons/IconConstants.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.resources.icons;
import com.google.gwt.resources.client.ImageResource;
Modified: trunk/src/main/java/cc/kune/core/client/resources/icons/IconResources.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/icons/IconResources.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/resources/icons/IconResources.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.resources.icons;
import com.google.gwt.resources.client.ClientBundle;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar;
import cc.kune.common.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarActionsViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar;
import cc.kune.common.client.actions.ui.ActionSimplePanel;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarNewGroupLink.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarNewGroupLink.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarNewGroupLink.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar;
import cc.kune.common.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignInLink.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignInLink.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignInLink.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar;
import cc.kune.common.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignOutLink.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignOutLink.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/SitebarSignOutLink.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar;
import cc.kune.common.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.logo;
import cc.kune.core.client.init.AppStartEvent;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoUiHandlers.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoUiHandlers.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoUiHandlers.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.logo;
import com.gwtplatform.mvp.client.UiHandlers;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/logo/SiteLogoViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.logo;
import cc.kune.core.client.sitebar.logo.SiteLogoPresenter.SiteLogoView;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.spaces;
import cc.kune.common.client.noti.NotifyUser;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorUiHandlers.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorUiHandlers.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorUiHandlers.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.spaces;
import com.gwtplatform.mvp.client.UiHandlers;
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.sitebar.spaces;
import cc.kune.core.client.sitebar.spaces.SpaceSelectorPresenter.SpaceSelectorView;
Modified: trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/AccessRightsClientManager.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import cc.kune.core.shared.domain.utils.AccessRights;
Modified: trunk/src/main/java/cc/kune/core/client/state/GroupChangedEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/GroupChangedEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/GroupChangedEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/state/HistoryTokenCallback.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/HistoryTokenCallback.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/HistoryTokenCallback.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
public interface HistoryTokenCallback {
Modified: trunk/src/main/java/cc/kune/core/client/state/SiteCommonTokens.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SiteCommonTokens.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/SiteCommonTokens.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
/**
Modified: trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import cc.kune.core.client.auth.Register;
Modified: trunk/src/main/java/cc/kune/core/client/state/SocialNetworkChangedEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SocialNetworkChangedEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/SocialNetworkChangedEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/state/StateChangedEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/StateChangedEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/StateChangedEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/state/ToolChangedEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/ToolChangedEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/ToolChangedEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/state/UserSignInEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/UserSignInEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/UserSignInEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/state/UserSignOutEvent.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/UserSignOutEvent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/state/UserSignOutEvent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import com.google.gwt.event.shared.EventHandler;
Modified: trunk/src/main/java/cc/kune/core/client/ui/KuneUiUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/KuneUiUtils.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/KuneUiUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui;
import com.extjs.gxt.ui.client.widget.form.Field;
Modified: trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/QTipsHelper.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui;
/**
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui.dialogs;
import cc.kune.common.client.ui.IconLabel;
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui.dialogs;
import com.google.gwt.event.dom.client.HasClickHandlers;
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/BasicTopDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui.dialogs;
import cc.kune.common.client.ui.PopupTopPanel;
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui.dialogs;
import cc.kune.common.client.noti.NotifyLevel;
Modified: trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanelView.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanelView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ui/dialogs/MessagePanelView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ui.dialogs;
import cc.kune.common.client.noti.NotifyLevel;
Modified: trunk/src/main/java/cc/kune/core/client/ws/CorePresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ws/CorePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ws/CorePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ws;
import cc.kune.core.client.i18n.I18nReadyEvent;
Modified: trunk/src/main/java/cc/kune/core/client/ws/CoreViewImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/ws/CoreViewImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/client/ws/CoreViewImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.ws;
import cc.kune.core.client.resources.CoreResources;
Added: trunk/src/main/java/cc/kune/core/public/ellipsis.xml
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ellipsis.xml (rev 0)
+++ trunk/src/main/java/cc/kune/core/public/ellipsis.xml 2011-02-05 22:47:46 UTC (rev 1235)
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<bindings
+ xmlns="http://www.mozilla.org/xbl"
+ xmlns:xbl="http://www.mozilla.org/xbl"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <binding id="ellipsis">
+ <content>
+ <xul:window>
+ <xul:description crop="end" xbl:inherits="value=xbl:text"><children/></xul:description>
+ </xul:window>
+ </content>
+ </binding>
+</bindings>
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/public/ellipsis.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/src/main/java/cc/kune/core/public/ie6.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ie6.css (rev 0)
+++ trunk/src/main/java/cc/kune/core/public/ie6.css 2011-02-05 22:47:46 UTC (rev 1235)
@@ -0,0 +1,41 @@
+.nogwt-TabLayoutPanelTab .title {
+ float: left;
+ overflow: hidden;
+ white-space:nowrap;
+ text-overflow: ellipsis;
+ width: 75px;
+ height: 1em;
+ margin-right: 5px;
+}
+
+.nogwt-TabLayoutPanelTab {
+ width: 140px;
+}
+
+.hablar-Emoticon {
+ display: inline-block;
+ width: 20px;
+ height: 20px;
+ padding: 0 !important;
+}
+
+.hablar-Emoticon span {
+ display: none;
+}
+
+.hablar-Header.unattended.blinkOn {
+ background-color: highlight;
+}
+
+.hablar-SelectionList {
+ zoom: 1;
+}
+/*
+.chatMessage .author {
+ margin-right: 0.5em;
+}
+
+.chatMessage .metadata {
+ margin-right: 0.5em;
+}
+*/
\ No newline at end of file
Property changes on: trunk/src/main/java/cc/kune/core/public/ie6.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/src/main/java/cc/kune/core/shared/dto/ExtMediaDescripDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ExtMediaDescripDTO.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ExtMediaDescripDTO.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.shared.dto;
import com.google.gwt.user.client.rpc.IsSerializable;
Modified: trunk/src/main/java/cc/kune/core/shared/dto/StateTokenUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateTokenUtils.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateTokenUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.shared.dto;
import cc.kune.core.client.state.Session;
Modified: trunk/src/main/java/cc/kune/core/shared/dto/SubscriptionMode.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/SubscriptionMode.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/core/shared/dto/SubscriptionMode.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.shared.dto;
import com.google.gwt.user.client.rpc.IsSerializable;
Modified: trunk/src/main/java/cc/kune/domain/ExtMediaDescrip.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/ExtMediaDescrip.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/domain/ExtMediaDescrip.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.domain;
import java.util.List;
Modified: trunk/src/main/java/cc/kune/domain/TagUserContent.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/TagUserContent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/domain/TagUserContent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.domain;
import java.util.List;
Modified: trunk/src/main/java/cc/kune/gspace/client/WsArmor.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/WsArmor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/gspace/client/WsArmor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.gspace.client;
import com.google.gwt.user.client.ui.InsertPanel.ForIsWidget;
Modified: trunk/src/main/java/cc/kune/gspace/client/WsArmorEntryPoint.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/WsArmorEntryPoint.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/gspace/client/WsArmorEntryPoint.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.gspace.client;
import cc.kune.gspace.client.resources.WsArmorResources;
Modified: trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/gspace/client/WsArmorImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.gspace.client;
import cc.kune.pspace.client.PSpacePresenter;
Modified: trunk/src/main/java/cc/kune/gspace/client/resources/WsArmorResources.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/resources/WsArmorResources.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/gspace/client/resources/WsArmorResources.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.gspace.client.resources;
import com.google.gwt.resources.client.ClientBundle;
Modified: trunk/src/main/java/cc/kune/msgs/client/CloseCallback.java
===================================================================
--- trunk/src/main/java/cc/kune/msgs/client/CloseCallback.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/msgs/client/CloseCallback.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.msgs.client;
public interface CloseCallback {
Modified: trunk/src/main/java/cc/kune/msgs/client/UserMessage.java
===================================================================
--- trunk/src/main/java/cc/kune/msgs/client/UserMessage.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/msgs/client/UserMessage.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.msgs.client;
import org.adamtacy.client.ui.effects.events.EffectCompletedEvent;
Modified: trunk/src/main/java/cc/kune/msgs/client/UserMessagesPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/msgs/client/UserMessagesPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/msgs/client/UserMessagesPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.msgs.client;
import org.adamtacy.client.ui.effects.examples.SlideUp;
Modified: trunk/src/main/java/cc/kune/msgs/client/UserMessagesPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/msgs/client/UserMessagesPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/msgs/client/UserMessagesPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.msgs.client;
import cc.kune.common.client.noti.NotifyLevel;
Modified: trunk/src/main/java/cc/kune/msgs/client/resources/UserMessageImages.java
===================================================================
--- trunk/src/main/java/cc/kune/msgs/client/resources/UserMessageImages.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/msgs/client/resources/UserMessageImages.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.msgs.client.resources;
import com.google.gwt.core.client.GWT;
Modified: trunk/src/main/java/cc/kune/pspace/client/PSpaceGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/pspace/client/PSpaceGinModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/pspace/client/PSpaceGinModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.pspace.client;
Modified: trunk/src/main/java/cc/kune/pspace/client/PSpacePanel.java
===================================================================
--- trunk/src/main/java/cc/kune/pspace/client/PSpacePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/pspace/client/PSpacePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.pspace.client;
import cc.kune.common.client.actions.ui.ActionFlowPanel;
Modified: trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/cc/kune/pspace/client/PSpacePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.pspace.client;
import cc.kune.common.client.actions.ui.IsActionExtensible;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/AbstractExtendedAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import com.google.gwt.resources.client.ImageResource;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionPressedCondition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionPressedCondition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionPressedCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
public interface ActionPressedCondition<T> {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPosition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPosition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPosition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
public class ActionToolbarPosition {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPushButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPushButtonDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ActionToolbarPushButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/Shortcut.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/Shortcut.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/Shortcut.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import org.ourproject.kune.platf.client.shortcuts.Keyboard;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/common/GotoGroupAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/common/GotoGroupAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/common/GotoGroupAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.common;
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionMenuItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionMenuItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionMenuItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.toolbar;
import org.ourproject.kune.platf.client.actions.ActionItem;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarButton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarButton.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/toolbar/ActionToolbarButton.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.toolbar;
import org.ourproject.kune.platf.client.actions.ActionToolbarDescriptor;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractActionExtensiblePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public abstract class AbstractActionExtensiblePresenter implements IsActionExtensible {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractButtonGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.Action;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractComposedGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import java.util.List;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractMenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/AbstractSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ActionExtensibleView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BaseAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/BasicGuiBindings.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class BasicGuiBindings {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class ButtonBinding extends GuiBindingAdapter {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class ButtonGui extends AbstractButtonGui {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ComplexToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ComplexToolbar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ComplexToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/CssStyleDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/CssStyleDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/CssStyleDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class CssStyleDescriptor {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescCollection.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import java.util.ArrayList;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiActionDescrip.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddCondition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddCondition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddCondition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public interface GuiAddCondition {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddConditionAdapter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddConditionAdapter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiAddConditionAdapter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class GuiAddConditionAdapter implements GuiAddCondition {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public interface GuiBinding {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingAdapter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class GuiBindingAdapter implements GuiBinding {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingsRegister.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingsRegister.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/GuiBindingsRegister.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import java.util.HashMap;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/IsActionExtensible.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public interface IsActionExtensible {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import cc.kune.common.client.errors.UIException;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuCheckItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class MenuCheckItemGui extends AbstractMenuItemGui {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.Action;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuItemGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class MenuItemGui extends AbstractMenuItemGui {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuRadioItemDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import cc.kune.common.client.errors.UIException;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/MenuSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class MenuSeparatorDescriptor extends AbstractSeparatorDescriptor {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class PushButtonBinding extends GuiBindingAdapter {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/PushButtonGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.actions.PropertyChangeEvent;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SimpleGuiItem.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SimpleGuiItem.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SimpleGuiItem.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import com.google.gwt.user.client.ui.HorizontalPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/SubMenuGui.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import com.gwtext.client.widgets.menu.MenuItem;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparator.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparator.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class ToolbarSeparator {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorBinding.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
public class ToolbarSeparatorBinding extends GuiBindingAdapter {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/actions/ui/ToolbarSeparatorDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions.ui;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/i18n/Resources.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/i18n/Resources.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/i18n/Resources.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.i18n;
import cc.kune.core.shared.i18n.I18nTranslationService;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/AbstractExtendedModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/AbstractExtendedModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/AbstractExtendedModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.services;
import com.calclab.suco.client.ioc.Provider;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/Loader.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/Loader.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/Loader.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.services;
import java.util.ArrayList;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/SearcherConstants.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/SearcherConstants.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/SearcherConstants.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.services;
public final class SearcherConstants {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/GlobalShortcutRegister.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.shortcuts;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/Keyboard.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/Keyboard.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/Keyboard.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.shortcuts;
public final class Keyboard {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutDescriptor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutDescriptor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutDescriptor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.shortcuts;
import org.ourproject.kune.platf.client.i18n.Resources;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutRegister.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutRegister.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/shortcuts/ShortcutRegister.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.shortcuts;
import java.util.HashMap;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractToolbar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractToolbar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/AbstractToolbar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui;
import com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/AbstractPopupPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/AbstractPopupPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/AbstractPopupPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.dialogs;
import com.google.gwt.user.client.Window;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicPopupPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicPopupPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/dialogs/BasicPopupPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.dialogs;
import com.google.gwt.user.client.ui.Widget;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/ConfirmationAsk.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/ConfirmationAsk.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/noti/ConfirmationAsk.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.noti;
import com.calclab.suco.client.events.Listener0;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalette.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalette.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalette.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
import com.calclab.suco.client.events.Listener;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
import org.ourproject.kune.platf.client.ui.dialogs.AbstractPopupPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPalettePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
import com.calclab.suco.client.events.Listener;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPaletteView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPaletteView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/AbstractPaletteView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalette.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalette.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalette.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
public interface SimplePalette extends AbstractPalette {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePalettePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePaletteView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePaletteView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/palette/SimplePaletteView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.palette;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/TestRTEDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/TestRTEDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/TestRTEDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte;
import org.ourproject.kune.platf.client.actions.ui.ComplexToolbar;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTELinkPopup.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.basic;
import org.ourproject.kune.platf.client.actions.Action;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.basic;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.basic;
import java.util.Date;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.basic;
import static org.ourproject.kune.platf.client.actions.AbstractExtendedAction.NO_ICON;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/basic/RTEditorView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.basic;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlAgent.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlAgent.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlAgent.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
public interface EditHtmlAgent {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPresenter;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlGroup.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/EditHtmlGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml;
import com.calclab.suco.client.ioc.Container;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.editor;
public interface EditHtmlEditor {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.editor;
import org.ourproject.kune.platf.client.ui.dialogs.DefaultForm;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.editor;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/editor/EditHtmlEditorView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.editor;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreview.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreview.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreview.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.preview;
public interface EditHtmlPreview {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.preview;
import org.ourproject.kune.platf.client.ui.rte.edithtml.EditHtmlDialogView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.preview;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/edithtml/preview/EditHtmlPreviewView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.edithtml.preview;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgCssResource.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgCssResource.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgCssResource.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.img;
import com.google.gwt.resources.client.CssResource;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgResources.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgResources.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/img/RTEImgResources.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.img;
import com.google.gwt.resources.client.ClientBundle;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ContentPosition.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ContentPosition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ContentPosition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.cobogw.gwt.user.client.CSS;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ImageInfo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ImageInfo.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ImageInfo.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.cobogw.gwt.user.client.CSS;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPresenter;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageGroup.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/InsertImageGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertElementAbstractPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertElementAbstractPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertElementAbstractPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg;
import org.ourproject.kune.platf.client.i18n.Resources;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstract.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg;
public interface InsertImageAbstract {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg;
import org.ourproject.kune.platf.client.i18n.Resources;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/abstractimg/InsertImageAbstractView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExt.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExt.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExt.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.ext;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.ext;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstractPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.ext;
import org.ourproject.kune.platf.client.ui.rte.insertimg.InsertImageDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertimg/ext/InsertImageExtView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertimg.ext;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstractView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkExecutableUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkExecutableUtils.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkExecutableUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,4 +1,23 @@
/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkInfo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkInfo.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/LinkInfo.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertlink;
import com.google.gwt.dom.client.Element;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertlink/abstractlink/InsertLinkAbstractPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertlink.abstractlink;
import org.ourproject.kune.platf.client.i18n.Resources;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaRegistry.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaRegistry.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaRegistry.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import java.util.ArrayList;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPresenter;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaGroup.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/InsertMediaGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstract.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstract.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstract.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
public interface InsertMediaAbstract {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
import org.ourproject.kune.platf.client.i18n.Resources;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/InsertMediaAbstractView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/abstractmedia/MediaUtils.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia;
import org.ourproject.kune.platf.client.ui.download.FileDownloadUtils;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExt.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExt.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExt.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.ext;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.ext;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.ExternalMediaRegistry;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.ext;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.ExternalMediaRegistry;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ext/InsertMediaExtView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia.ext;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstractView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogPresenter;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar;
import org.ourproject.kune.platf.client.ui.dialogs.tabbed.AbstractTabbedDialogView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharGroup.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharGroup.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/InsertSpecialCharGroup.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar;
import com.calclab.suco.client.ioc.Container;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianChar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianChar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianChar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.asian;
public interface InsertSpecialAsianChar {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.asian;
import org.ourproject.kune.platf.client.ui.rte.insertspecialchar.InsertSpecialCharDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.asian;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/asian/InsertSpecialAsianCharView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.asian;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/AbstractInsertCharPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/AbstractInsertCharPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/AbstractInsertCharPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.occidental;
import org.ourproject.kune.platf.client.ui.dialogs.BasicPopupPanel;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccChar.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccChar.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccChar.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.occidental;
public interface InsertSpecialOccChar {
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.occidental;
import org.ourproject.kune.platf.client.ui.rte.insertspecialchar.InsertSpecialCharDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.occidental;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/occidental/InsertSpecialOccCharView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.occidental;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.utf8;
import org.ourproject.kune.platf.client.ui.dialogs.DefaultForm;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/insertspecialchar/utf8/InsertSpecialUTF8CharView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertspecialchar.utf8;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialog.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialog.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialog.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.inserttable;
import com.calclab.suco.client.events.Listener;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.inserttable;
import org.ourproject.kune.platf.client.ui.dialogs.BasicDialog;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.inserttable;
import com.calclab.suco.client.events.Listener;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/inserttable/InsertTableDialogView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.inserttable;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.saving;
import org.ourproject.kune.platf.client.ui.rte.basic.RTEditor;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.saving;
import org.ourproject.kune.platf.client.actions.ui.GuiBindingsRegister;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.saving;
import static org.ourproject.kune.platf.client.actions.AbstractExtendedAction.NO_ICON;
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.saving;
import org.ourproject.kune.platf.client.ui.rte.basic.RTEditorView;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/ServerException.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/ServerException.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/ServerException.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server;
import org.apache.commons.logging.Log;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManager.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManager.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import java.util.List;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManagerDefault.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/TagUserContentManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import java.util.ArrayList;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ExtMediaDescripManagerDefault.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ExtMediaDescripManagerDefault.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ExtMediaDescripManagerDefault.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.impl;
import java.util.List;
Modified: trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ServerManagerException.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ServerManagerException.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/manager/impl/ServerManagerException.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.impl;
import org.ourproject.kune.platf.server.ServerException;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ActionsModule.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client;
import org.ourproject.kune.platf.client.services.AbstractExtendedModule;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditor.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditor.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditor.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor;
import org.ourproject.kune.platf.client.ui.rte.saving.RTESavingEditor;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor;
import org.ourproject.kune.platf.client.actions.ui.GuiBindingsRegister;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor;
import static org.ourproject.kune.platf.client.actions.AbstractExtendedAction.NO_ICON;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/ContentEditorView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor;
import org.ourproject.kune.platf.client.ui.rte.saving.RTESavingEditorView;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocal.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocal.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocal.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalimg;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalimg;
import org.ourproject.kune.platf.client.services.SearcherConstants;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalimg;
import org.ourproject.kune.platf.client.ui.rte.insertimg.InsertImageDialog;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalimg/InsertImageLocalView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalimg;
import org.ourproject.kune.platf.client.ui.rte.insertimg.abstractimg.InsertImageAbstractView;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocal.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocal.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocal.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalmedia;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstract;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalmedia;
import org.ourproject.kune.platf.client.services.SearcherConstants;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalmedia;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.InsertMediaDialog;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertMediaLocalView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.editor.insertlocalmedia;
import org.ourproject.kune.platf.client.ui.rte.insertmedia.abstractmedia.InsertMediaAbstractView;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderButton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderButton.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/EntityHeaderButton.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspace.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspace.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspace.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader.maxmin;
public interface MaxMinWorkspace {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader.maxmin;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspacePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader.maxmin;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspaceView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspaceView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/entityheader/maxmin/MaxMinWorkspaceView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader.maxmin;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/i18n/SiteOptionsI18nTranslatorAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.i18n;
import org.ourproject.kune.platf.client.actions.AbstractAction;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptions.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptions.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options;
public interface GroupOptions extends EntityOptions {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/GroupOptionsView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options;
import org.ourproject.kune.platf.client.actions.ui.GuiActionDescrip;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptions.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptions.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options;
public interface UserOptions extends EntityOptions {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsView.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/UserOptionsView.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options;
public interface UserOptionsView extends EntityOptionsView {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicense.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicense.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicense.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.license;
public interface GroupOptionsDefLicense extends EntityOptionsDefLicense {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicensePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicensePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/GroupOptionsDefLicensePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.license;
import org.ourproject.kune.workspace.client.licensewizard.LicenseChangeAction;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicense.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicense.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicense.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.license;
public interface UserOptionsDefLicense extends EntityOptionsDefLicense {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicensePresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicensePresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/license/UserOptionsDefLicensePresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.license;
import org.ourproject.kune.workspace.client.licensewizard.LicenseChangeAction;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogo.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogo.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
public interface GroupOptionsLogo extends EntityOptionsLogo {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
import org.ourproject.kune.platf.client.ui.download.FileConstants;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/GroupOptionsLogoPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
import org.ourproject.kune.chat.client.ChatEngine;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogo.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogo.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogo.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
public interface UserOptionsLogo extends EntityOptionsLogo {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
import org.ourproject.kune.platf.client.ui.download.FileConstants;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/logo/UserOptionsLogoPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.logo;
import org.ourproject.kune.chat.client.ChatEngine;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/EntityOptionsPublicSpaceConfPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.pscape;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConf.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/GroupOptionsPublicSpaceConf.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.pscape;
public interface GroupOptionsPublicSpaceConf extends EntityOptionsPublicSpaceConf {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConf.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/pscape/UserOptionsPublicSpaceConf.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.pscape;
public interface UserOptionsPublicSpaceConf extends EntityOptionsPublicSpaceConf {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/EntityOptionsToolsConfPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.tools;
import java.util.Collection;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolConf.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/GroupOptionsToolConf.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.tools;
public interface GroupOptionsToolConf extends EntityOptionsToolsConf {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConf.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConf.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/tools/UserOptionsToolsConf.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.options.tools;
public interface UserOptionsToolsConf extends EntityOptionsToolsConf {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherField.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherField.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/AbstractLiveSearcherField.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.search;
import org.ourproject.kune.platf.client.services.SearcherConstants;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/DefCssResource.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/DefCssResource.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/DefCssResource.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.site;
import com.google.gwt.resources.client.ClientBundle;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/site/WorkspaceNotifyUser.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/site/WorkspaceNotifyUser.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/site/WorkspaceNotifyUser.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.site;
import org.ourproject.kune.platf.client.ui.noti.ConfirmationAsk;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/AbstractSiteOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/AbstractSiteOptionsPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/sitebar/siteoptions/AbstractSiteOptionsPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.sitebar.siteoptions;
import org.ourproject.kune.platf.client.actions.ui.AbstractComposedGuiItem;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/ParticipateAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import org.ourproject.kune.platf.client.actions.ActionEvent;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import org.ourproject.kune.platf.client.actions.AbstractExtendedAction;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/RolComparator.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import cc.kune.core.shared.domain.utils.AccessRights;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UIStatus.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
public class UIStatus {
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/UnjoinAction.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import org.ourproject.kune.platf.client.actions.ActionEvent;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/other/AddAsBuddieHeaderButton.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/other/AddAsBuddieHeaderButton.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/other/AddAsBuddieHeaderButton.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet.other;
import org.ourproject.kune.chat.client.ChatEngine;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManager.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManager.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManager.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.themes;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsBackManagerImpl.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.themes;
import org.cobogw.gwt.user.client.CSS;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManagerPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManagerPanel.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeManagerPanel.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.themes;
import org.ourproject.kune.workspace.client.skel.WorkspaceSkeleton;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelector.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelector.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelector.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.themes;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/themes/WsThemeSelectorPresenter.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.themes;
import org.ourproject.kune.platf.client.View;
Modified: trunk/src/test/java/cc/kune/core/client/state/EventBusTester.java
===================================================================
--- trunk/src/test/java/cc/kune/core/client/state/EventBusTester.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/cc/kune/core/client/state/EventBusTester.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import java.util.ArrayList;
Modified: trunk/src/test/java/cc/kune/core/client/state/StateManagerTest.java
===================================================================
--- trunk/src/test/java/cc/kune/core/client/state/StateManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/cc/kune/core/client/state/StateManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import org.junit.Before;
Modified: trunk/src/test/java/cc/kune/core/client/state/StateTokenTest.java
===================================================================
--- trunk/src/test/java/cc/kune/core/client/state/StateTokenTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/cc/kune/core/client/state/StateTokenTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package cc.kune.core.client.state;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/FaultyTestSuite.java
===================================================================
--- trunk/src/test/java/org/FaultyTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/FaultyTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/org/ourproject/kune/blogs/server/BlogServerToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/blogs/server/BlogServerToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/blogs/server/BlogServerToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.blogs.server;
import static org.ourproject.kune.blogs.server.BlogServerTool.TYPE_BLOG;
Modified: trunk/src/test/java/org/ourproject/kune/chat/ChatToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/chat/ChatToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/chat/ChatToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.chat;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/chat/server/managers/XmppManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/chat/server/managers/XmppManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/chat/server/managers/XmppManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.chat.server.managers;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/docs/DocumentToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/docs/DocumentToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/docs/DocumentToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.docs;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/docs/server/DocumentServerToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/docs/server/DocumentServerToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/docs/server/DocumentServerToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.docs.server;
import static org.ourproject.kune.docs.server.DocumentServerTool.TYPE_DOCUMENT;
Modified: trunk/src/test/java/org/ourproject/kune/gallery/server/GalleryServerToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/gallery/server/GalleryServerToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/gallery/server/GalleryServerToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.gallery.server;
import static org.ourproject.kune.gallery.server.GalleryServerTool.TYPE_ALBUM;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/actions/ActionRegistryTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/actions/ActionRegistryTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/actions/ActionRegistryTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/actions/ContentIconsRegistryTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/actions/ContentIconsRegistryTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/actions/ContentIconsRegistryTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/actions/KeyStrokeTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/actions/KeyStrokeTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/actions/KeyStrokeTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/actions/ShortcutTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/actions/ShortcutTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/actions/ShortcutTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.actions;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/dto/BasicMimeTypeDTOTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/dto/BasicMimeTypeDTOTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/dto/BasicMimeTypeDTOTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.dto;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/ui/KuneStringUtilsTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/ui/KuneStringUtilsTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/ui/KuneStringUtilsTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/ui/TextUtilsTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/ui/TextUtilsTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/ui/TextUtilsTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/ui/dialogs/upload/FileUploaderPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/ui/dialogs/upload/FileUploaderPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/ui/dialogs/upload/FileUploaderPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.dialogs.upload;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaDescriptorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaDescriptorTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/insertmedia/ExternalMediaDescriptorTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.insertmedia;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/ui/rte/saving/RTESavingEditorPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.ui.rte.saving;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/platf/client/utils/UrlTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/client/utils/UrlTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/client/utils/UrlTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.client.utils;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/DatabaseInitializationTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/DatabaseInitializationTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/DatabaseInitializationTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/HttpServletRequestMocked.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/HttpServletRequestMocked.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/HttpServletRequestMocked.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration;
import java.io.BufferedReader;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration;
import org.ourproject.kune.platf.server.UserSession;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/IntegrationTestHelper.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentCommentServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentCommentServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentCommentServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceAddTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceAddTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceAddTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceGetTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceGetTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceGetTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceIntegrationTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceIntegrationTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceIntegrationTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import org.ourproject.kune.platf.integration.IntegrationTest;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceSaveTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceSaveTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceSaveTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceVariousTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceVariousTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/content/ContentServiceVariousTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.content;
import static org.junit.Assert.*;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/kuneservice/GroupServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/kuneservice/GroupServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/kuneservice/GroupServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.kuneservice;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/site/SiteServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/site/SiteServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/site/SiteServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.site;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/site/UserServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.site;
import static org.junit.Assert.*;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkMembersTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkMembersTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkMembersTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.socialnet;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/integration/socialnet/SocialNetworkServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.integration.socialnet;
import static org.junit.Assert.assertNotNull;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/PersistencePreLoadedDataTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/PersistenceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server;
import javax.persistence.EntityManager;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/TestDomainHelper.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server;
import java.util.TimeZone;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/TestHelper.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/access/AccessRightsServiceTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/access/AccessRightsServiceTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/access/AccessRightsServiceTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.access;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/access/FinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/access/FinderTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/access/FinderTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.access;
import static org.junit.Assert.assertNotNull;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptorTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthenticatedMethodInterceptorTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.auth;
import java.lang.reflect.AccessibleObject;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptorTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/auth/AuthorizatedMethodInterceptorTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.auth;
import java.lang.reflect.AccessibleObject;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/domain/GroupListTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/domain/GroupListTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/domain/GroupListTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.domain;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/finders/GroupFinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/finders/GroupFinderTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/finders/GroupFinderTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.finders;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/finders/LicenseFinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/finders/LicenseFinderTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/finders/LicenseFinderTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.finders;
import static junit.framework.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/finders/RateFinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/finders/RateFinderTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/finders/RateFinderTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.finders;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/finders/UserFinderTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.finders;
import static junit.framework.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/ContentManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/ContentManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/ContentManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/FileManagerDefaultTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/FileManagerDefaultTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/FileManagerDefaultTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import org.junit.Before;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/GroupManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/GroupManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/GroupManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/I18nManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/I18nManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/I18nManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/LicenseManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/LicenseManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/LicenseManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertNotNull;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagUserContentTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagUserContentTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/TagUserContentTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/UserManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/EntityLogoUploadManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import static org.junit.Assert.assertTrue;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileDownloadManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUploadManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import org.junit.Before;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUtilsTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUtilsTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/FileUtilsTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefaultTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefaultTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/file/ImageUtilsDefaultTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.file;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/AbstractSocialNetworkManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/AbstractSocialNetworkManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/AbstractSocialNetworkManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.impl;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerMoreTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerMoreTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerMoreTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.impl;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/manager/impl/SocialNetworkManagerTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.manager.impl;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/mapper/MapperTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.mapper;
import static org.junit.Assert.*;
Modified: trunk/src/test/java/org/ourproject/kune/platf/server/properties/KunePropertiesTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/platf/server/properties/KunePropertiesTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/platf/server/properties/KunePropertiesTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.platf.server.properties;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTMethodFinder.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTMethodFinder.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTMethodFinder.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.rack.filters.rest;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTServiceDefinition.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTServiceDefinition.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/rack/filters/rest/TestRESTServiceDefinition.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.rack.filters.rest;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/testhelper/ctx/DomainContext.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.testhelper.ctx;
import java.util.HashMap;
Modified: trunk/src/test/java/org/ourproject/kune/testhelper/ctx/SocialNetworkOperator.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/testhelper/ctx/SocialNetworkOperator.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/testhelper/ctx/SocialNetworkOperator.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.testhelper.ctx;
import cc.kune.domain.SocialNetwork;
Modified: trunk/src/test/java/org/ourproject/kune/wiki/server/WikiServerToolTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/wiki/server/WikiServerToolTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/wiki/server/WikiServerToolTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.wiki.server;
import static org.ourproject.kune.wiki.server.WikiServerTool.TYPE_FOLDER;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/entityheader/EntityLogoPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/entityheader/EntityLogoPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/entityheader/EntityLogoPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.entityheader;
import org.junit.Before;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/LicenseWizardPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.licensewizard;
import org.junit.Before;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/MockProvider.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/MockProvider.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/licensewizard/MockProvider.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.licensewizard;
import org.mockito.Mockito;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolActionTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import static org.junit.Assert.assertEquals;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/socialnet/RolComparatorTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.socialnet;
import static org.junit.Assert.assertFalse;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/tags/TagsSummaryPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.tags;
import java.util.ArrayList;
Modified: trunk/src/test/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenterTest.java
===================================================================
--- trunk/src/test/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenterTest.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/org/ourproject/kune/workspace/client/tool/ToolSelectorPresenterTest.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package org.ourproject.kune.workspace.client.tool;
import org.junit.Before;
Modified: trunk/src/test/java/testsuites/IntegrationTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/IntegrationTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/IntegrationTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/testsuites/OthersTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/OthersTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/OthersTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/testsuites/PlatfClientTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/PlatfClientTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/PlatfClientTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/testsuites/ServerManagerTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/ServerManagerTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/ServerManagerTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/testsuites/ServerOtherTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/ServerOtherTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/ServerOtherTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
Modified: trunk/src/test/java/testsuites/ServerTestSuite.java
===================================================================
--- trunk/src/test/java/testsuites/ServerTestSuite.java 2011-02-05 22:25:09 UTC (rev 1234)
+++ trunk/src/test/java/testsuites/ServerTestSuite.java 2011-02-05 22:47:46 UTC (rev 1235)
@@ -1,3 +1,22 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
package testsuites;
import org.junit.runner.RunWith;
1
0