[kune-commits] r809 - in trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar: . sitenewgroup siteoptions sitepublic sitesign

vjrj vjrj at ourproject.org
Mon Jul 21 00:13:27 CEST 2008


Author: vjrj
Date: 2008-07-21 00:13:16 +0200 (Mon, 21 Jul 2008)
New Revision: 809

Added:
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLink.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPresenter.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkView.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptions.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPresenter.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsView.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLink.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkView.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLink.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPresenter.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkView.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLink.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPresenter.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkView.java
Log:
Workspace refactorization

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLink.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLink.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,5 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitenewgroup;
+
+public interface SiteNewGroupLink {
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPanel.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPanel.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,14 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitenewgroup;
+
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.WorkspaceSkeleton;
+
+import com.google.gwt.user.client.ui.Hyperlink;
+
+public class SiteNewGroupLinkPanel implements SiteNewGroupLinkView {
+
+    private final Hyperlink newGroupHyperlink;
+
+    public SiteNewGroupLinkPanel(final SiteNewGroupLinkPresenter presenter, final WorkspaceSkeleton ws) {
+	newGroupHyperlink = new Hyperlink();
+    }
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPresenter.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkPresenter.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,22 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitenewgroup;
+
+import org.ourproject.kune.platf.client.View;
+
+public class SiteNewGroupLinkPresenter implements SiteNewGroupLink {
+
+private SiteNewGroupLinkView view;
+
+public SiteNewGroupLinkPresenter() {
+}
+
+public void init(SiteNewGroupLinkView view) {
+this.view = view;
+}
+
+
+    public View getView() {
+        return view;
+    }
+
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkView.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitenewgroup/SiteNewGroupLinkView.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,7 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitenewgroup;
+
+import org.ourproject.kune.platf.client.View;
+
+public interface SiteNewGroupLinkView extends View {
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptions.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptions.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptions.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,5 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.siteoptions;
+
+public interface SiteOptions {
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,9 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.siteoptions;
+
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.WorkspaceSkeleton;
+
+public class SiteOptionsPanel implements SiteOptionsView {
+
+    public SiteOptionsPanel(final SiteOptionsPresenter presenter, final WorkspaceSkeleton ws) {
+    }
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPresenter.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPresenter.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,22 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.siteoptions;
+
+import org.ourproject.kune.platf.client.View;
+
+public class SiteOptionsPresenter implements SiteOptions {
+
+private SiteOptionsView view;
+
+public SiteOptionsPresenter() {
+}
+
+public void init(SiteOptionsView view) {
+this.view = view;
+}
+
+
+    public View getView() {
+        return view;
+    }
+
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsView.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsView.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,7 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.siteoptions;
+
+import org.ourproject.kune.platf.client.View;
+
+public interface SiteOptionsView extends View {
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLink.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLink.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,11 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitepublic;
+
+import org.ourproject.kune.platf.client.dto.StateDTO;
+
+public interface SitePublicSpaceLink {
+
+    void setState(StateDTO state);
+
+    void setVisible(boolean visible);
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPanel.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPanel.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,61 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitepublic;
+
+import org.ourproject.kune.platf.client.services.Images;
+import org.ourproject.kune.platf.client.ui.IconLabel;
+import org.ourproject.kune.workspace.client.i18n.I18nUITranslationService;
+import org.ourproject.kune.workspace.client.sitebar.Site;
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.SiteBar;
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.WorkspaceSkeleton;
+
+import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.HorizontalPanel;
+import com.google.gwt.user.client.ui.Widget;
+
+public class SitePublicSpaceLinkPanel implements SitePublicSpaceLinkView {
+
+    private final HorizontalPanel publicHP;
+    private final IconLabel contentNoPublic;
+    private final IconLabel gotoPublic;
+    private String publicUrl;
+
+    public SitePublicSpaceLinkPanel(final SitePublicSpaceLinkPresenter presenter, final WorkspaceSkeleton ws,
+	    final I18nUITranslationService i18n, final Images img) {
+	publicHP = new HorizontalPanel();
+	gotoPublic = new IconLabel(img.anybody(), i18n.t("Go to Public Space"), false);
+	contentNoPublic = new IconLabel(img.anybody(), i18n.t("This content is not public"));
+	publicHP.add(gotoPublic);
+	publicHP.add(contentNoPublic);
+	final SiteBar siteBar = ws.getSiteBar();
+	siteBar.add(publicHP);
+	siteBar.addFill();
+
+	gotoPublic.addStyleName("kune-Margin-Medium-r");
+	setContentPublic(true);
+	gotoPublic.addClickListener(new ClickListener() {
+	    public void onClick(final Widget sender) {
+		gotoPublic();
+	    }
+	});
+	gotoPublic.setTitle(i18n.t("Leave the workspace and go to the public space of this group")
+		+ Site.IN_DEVELOPMENT);
+	gotoPublic.addStyleName("kune-SiteBarPanel-LabelLink");
+    }
+
+    public void setContentGotoPublicUrl(final String publicUrl) {
+	this.publicUrl = publicUrl;
+    }
+
+    public void setContentPublic(boolean visible) {
+	gotoPublic.setVisible(visible);
+	contentNoPublic.setVisible(!visible);
+    }
+
+    public void setVisible(final boolean visible) {
+	publicHP.setVisible(visible);
+    }
+
+    private void gotoPublic() {
+	Window.open(publicUrl, "_blank", "");
+    }
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkPresenter.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,38 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitepublic;
+
+import org.ourproject.kune.platf.client.View;
+import org.ourproject.kune.platf.client.dto.GroupListDTO;
+import org.ourproject.kune.platf.client.dto.StateDTO;
+import org.ourproject.kune.platf.client.dto.StateToken;
+
+public class SitePublicSpaceLinkPresenter implements SitePublicSpaceLink {
+
+    private SitePublicSpaceLinkView view;
+
+    public SitePublicSpaceLinkPresenter() {
+    }
+
+    public View getView() {
+	return view;
+    }
+
+    public void init(final SitePublicSpaceLinkView view) {
+	this.view = view;
+    }
+
+    public void setState(final StateDTO state) {
+	final StateToken token = state.getStateToken();
+	if (state.getAccessLists().getViewers().getMode().equals(GroupListDTO.EVERYONE)) {
+	    final String publicUrl = token.getPublicUrl();
+	    view.setContentGotoPublicUrl(publicUrl);
+	    view.setContentPublic(true);
+	} else {
+	    view.setContentPublic(false);
+	}
+    }
+
+    public void setVisible(final boolean visible) {
+	view.setVisible(visible);
+    }
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkView.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitepublic/SitePublicSpaceLinkView.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,12 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitepublic;
+
+import org.ourproject.kune.platf.client.View;
+
+public interface SitePublicSpaceLinkView extends View {
+
+    void setContentGotoPublicUrl(String publicUrl);
+
+    void setContentPublic(boolean visible);
+
+    void setVisible(boolean visible);
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLink.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLink.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,5 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+public interface SiteSignInLink {
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPanel.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPanel.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,16 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.WorkspaceSkeleton;
+
+import com.google.gwt.user.client.ui.Hyperlink;
+import com.gwtext.client.widgets.ToolbarButton;
+
+public class SiteSignInLinkPanel implements SiteSignInLinkView {
+    private final ToolbarButton loggedUserMenu;
+    private final Hyperlink signInHyperlink;
+
+    public SiteSignInLinkPanel(final SiteSignInLinkPresenter presenter, final WorkspaceSkeleton ws) {
+	signInHyperlink = new Hyperlink();
+	loggedUserMenu = new ToolbarButton();
+    }
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPresenter.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkPresenter.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,22 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.platf.client.View;
+
+public class SiteSignInLinkPresenter implements SiteSignInLink {
+
+private SiteSignInLinkView view;
+
+public SiteSignInLinkPresenter() {
+}
+
+public void init(SiteSignInLinkView view) {
+this.view = view;
+}
+
+
+    public View getView() {
+        return view;
+    }
+
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkView.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignInLinkView.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,7 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.platf.client.View;
+
+public interface SiteSignInLinkView extends View {
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLink.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLink.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLink.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,5 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+public interface SiteSignOutLink {
+
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPanel.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPanel.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,14 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.workspace.client.ui.newtmp.skel.WorkspaceSkeleton;
+
+import com.google.gwt.user.client.ui.Label;
+
+public class SiteSignOutLinkPanel implements SiteSignOutLinkView {
+
+    private final Label signOutLabel;
+
+    public SiteSignOutLinkPanel(final SiteSignOutLinkPresenter presenter, final WorkspaceSkeleton ws) {
+	signOutLabel = new Label();
+    }
+}

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPresenter.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkPresenter.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,22 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.platf.client.View;
+
+public class SiteSignOutLinkPresenter implements SiteSignOutLink {
+
+private SiteSignOutLinkView view;
+
+public SiteSignOutLinkPresenter() {
+}
+
+public void init(SiteSignOutLinkView view) {
+this.view = view;
+}
+
+
+    public View getView() {
+        return view;
+    }
+
+}
+

Added: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkView.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkView.java	2008-07-20 22:12:04 UTC (rev 808)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/sitesign/SiteSignOutLinkView.java	2008-07-20 22:13:16 UTC (rev 809)
@@ -0,0 +1,7 @@
+package org.ourproject.kune.workspace.client.ui.newtmp.sitebar.sitesign;
+
+import org.ourproject.kune.platf.client.View;
+
+public interface SiteSignOutLinkView extends View {
+}
+




More information about the kune-commits mailing list