[kune-commits] r864 - in trunk: libs
src/main/java/org/ourproject/kune/app/public
src/main/java/org/ourproject/kune/app/public/js
src/main/java/org/ourproject/kune/platf/client/rpc
src/main/java/org/ourproject/kune/platf/client/services
src/main/java/org/ourproject/kune/platf/client/ui
src/main/java/org/ourproject/kune/workspace/client
src/test/java/org/ourproject/kune
vjrj
vjrj at ourproject.org
Mon Sep 8 03:52:28 CEST 2008
Author: vjrj
Date: 2008-09-08 03:52:25 +0200 (Mon, 08 Sep 2008)
New Revision: 864
Removed:
trunk/libs/gwt-jsjac-0.1.10.jar
trunk/libs/gwtext-0.9.2.jar
trunk/libs/install-ext.cmd
trunk/src/main/java/org/ourproject/kune/app/public/dev/
trunk/src/main/java/org/ourproject/kune/app/public/firebug/
trunk/src/main/java/org/ourproject/kune/app/public/js/colorthemes.js
trunk/src/main/java/org/ourproject/kune/platf/client/rpc/ParamCallback.java
trunk/src/main/java/org/ourproject/kune/platf/client/services/ColorTheme.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ui/
trunk/src/test/java/org/ourproject/kune/sitebar/
Modified:
trunk/src/main/java/org/ourproject/kune/platf/client/rpc/SiteService.java
trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java
Log:
refactorization
Deleted: trunk/libs/gwt-jsjac-0.1.10.jar
===================================================================
(Binary files differ)
Deleted: trunk/libs/gwtext-0.9.2.jar
===================================================================
(Binary files differ)
Deleted: trunk/libs/install-ext.cmd
===================================================================
--- trunk/libs/install-ext.cmd 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/libs/install-ext.cmd 2008-09-08 01:52:25 UTC (rev 864)
@@ -1 +0,0 @@
-call mvn install:install-file -DgroupId=com.gwtext -DartifactId=gwt-ext -Dversion=0.9.2-SNAPSHOT -Dpackaging=jar -Dfile=gwtext-0.9.2-SNAPSHOT.jar
Deleted: trunk/src/main/java/org/ourproject/kune/app/public/js/colorthemes.js
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/public/js/colorthemes.js 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/src/main/java/org/ourproject/kune/app/public/js/colorthemes.js 2008-09-08 01:52:25 UTC (rev 864)
@@ -1,103 +0,0 @@
-
-var defaultKuneTheme = {
- themeName: "Default",
- toolSelected: "#DD8A3D",
- toolUnselected: "#FFE9A5",
- contentMainBorder: "#DD8A3D",
- contentTitle: "#F1BB59",
- contentTitleText: "#69312F",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#FFD09D",
- splitter: "#DEAA87",
- groupMembersDD: "#DF5244",
- participationDD: "#CA5842",
- summaryDD: "#9F734B",
- tagsDD: "#87501E"
-};
-
-var greenKuneTheme = {
- themeName: "Green",
- toolSelected: "#5FD35F",
- toolUnselected: "#D6F4D6",
- contentMainBorder: "#5FD35F",
- contentTitle: "#AFA",
- contentTitleText: "#250",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#CFA",
- splitter: "#DCE8AB",
- groupMembersDD: "#008000",
- participationDD: "#00AA00",
- summaryDD: "#4CE14C",
- tagsDD: "#00D400"
-};
-
-var blueKuneTheme = {
- themeName: "Blue",
- toolSelected: "#0066FF",
- toolUnselected: "#D7D7F4",
- contentMainBorder: "#0066FF",
- contentTitle: "#AFDDE9",
- contentTitleText: "#000080",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#AACCFF",
- splitter: "#D5D5FF",
- groupMembersDD: "#5500D4",
- participationDD: "#6600FF",
- summaryDD: "#69A5FF",
- tagsDD: "#9955FF"
-};
-
-var greyKuneTheme = {
- themeName: "Grey",
- toolSelected: "#4D4D4D",
- toolUnselected: "#E6E6E6",
- contentMainBorder: "#4D4D4D",
- contentTitle: "#CCCCCC",
- contentTitleText: "#1A1A1A",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#B3B3B3",
- splitter: "#999999",
- groupMembersDD: "#4D4D4D",
- participationDD: "#666666",
- summaryDD: "#A6A6A6",
- tagsDD: "#808080"
-};
-
-var purpleKuneTheme = {
- themeName: "Purple",
- toolSelected: "#660080",
- toolUnselected: "#EED7F4",
- contentMainBorder: "#660080",
- contentTitle: "#DDAFE9",
- contentTitleText: "#440055",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#DDAFE9",
- splitter: "#A793AC",
- groupMembersDD: "#672178",
- participationDD: "#892CA0",
- summaryDD: "#C473D8",
- tagsDD: "#AB37C8"
-};
-
-var redKuneTheme = {
- themeName: "Red",
- toolSelected: "#D40000",
- toolUnselected: "#FFD5D5",
- contentMainBorder: "#D40000",
- contentTitle: "#FF8080",
- contentTitleText: "#800000",
- contentSubTitleText: "#FFF",
- contentBottomText: "#FFF",
- context: "#FFAAAA",
- splitter: "#FF5555",
- groupMembersDD: "#A02C2C",
- participationDD: "#C83737",
- summaryDD: "#E08F8F",
- tagsDD: "#D35F5F"
-};
-
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/rpc/ParamCallback.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/rpc/ParamCallback.java 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/rpc/ParamCallback.java 2008-09-08 01:52:25 UTC (rev 864)
@@ -1,42 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2008 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a 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.rpc;
-
-import com.google.gwt.user.client.rpc.AsyncCallback;
-
-public class ParamCallback<K, T> {
-
- K param;
- AsyncCallback<T> callback;
-
- public ParamCallback(final K param, final AsyncCallback<T> callback) {
- this.param = param;
- this.callback = callback;
- }
-
- public K getParam() {
- return param;
- }
-
- public AsyncCallback<T> getCallback() {
- return callback;
- }
-
-}
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/rpc/SiteService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/rpc/SiteService.java 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/rpc/SiteService.java 2008-09-08 01:52:25 UTC (rev 864)
@@ -40,9 +40,6 @@
return ourInstance;
}
- public static void setMock(final SiteServiceAsync mocked) {
- ourInstance = mocked;
- }
}
InitDataDTO getInitData(String userHash) throws DefaultException;
Deleted: trunk/src/main/java/org/ourproject/kune/platf/client/services/ColorTheme.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/ColorTheme.java 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/ColorTheme.java 2008-09-08 01:52:25 UTC (rev 864)
@@ -1,99 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2008 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a 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.i18n.client.Dictionary;
-
- at Deprecated
-public class ColorTheme {
-
- private static final String DEFAULT_KUNE_THEME = "defaultKuneTheme";
-
- private Dictionary theme;
-
- public ColorTheme() {
- this(DEFAULT_KUNE_THEME);
- }
-
- public ColorTheme(final String theme) {
- this.theme = Dictionary.getDictionary(theme);
- }
-
- public String getContentBottomText() {
- return theme.get("contentBottomText");
- }
-
- public String getContentMainBorder() {
- return theme.get("contentMainBorder");
- }
-
- public String getContentSubTitleText() {
- return theme.get("contentSubTitleText");
- }
-
- public String getContentTitle() {
- return theme.get("contentTitle");
- }
-
- public String getContentTitleText() {
- return theme.get("contentTitleText");
- }
-
- public String getContext() {
- return theme.get("context");
- }
-
- public String getGroupMembersDD() {
- return theme.get("groupMembersDD");
- }
-
- public String getParticipationDD() {
- return theme.get("participationDD");
- }
-
- public String getSplitter() {
- return theme.get("splitter");
- }
-
- public String getSummaryDD() {
- return theme.get("summaryDD");
- }
-
- public String getTagsDD() {
- return theme.get("tagsDD");
- }
-
- public String getThemeName() {
- return theme.get("themeName");
- }
-
- public String getToolSelected() {
- return theme.get("toolSelected");
- }
-
- public String getToolUnselected() {
- return theme.get("toolUnselected");
- }
-
- public void setTheme(final String theme) {
- this.theme = Dictionary.getDictionary(theme);
- }
-
-}
\ No newline at end of file
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 2008-09-08 01:25:13 UTC (rev 863)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/QuickTipsHelper.java 2008-09-08 01:52:25 UTC (rev 864)
@@ -1,25 +1,16 @@
package org.ourproject.kune.platf.client.ui;
-import com.google.gwt.user.client.Command;
-import com.google.gwt.user.client.DeferredCommand;
import com.gwtext.client.widgets.QuickTip;
import com.gwtext.client.widgets.QuickTips;
public class QuickTipsHelper {
public QuickTipsHelper() {
- DeferredCommand.addCommand(new Command() {
- public void execute() {
- if (!QuickTips.isEnabled()) {
- // If not enabled before by another UI component
- QuickTips.init();
- final QuickTip quickTipInstance = QuickTips.getQuickTip();
- quickTipInstance.setInterceptTitles(true);
- quickTipInstance.setDismissDelay(7000);
- quickTipInstance.setHideDelay(400);
- quickTipInstance.setMinWidth(100);
- }
- }
- });
+ QuickTips.init();
+ final QuickTip quickTipInstance = QuickTips.getQuickTip();
+ quickTipInstance.setInterceptTitles(true);
+ quickTipInstance.setDismissDelay(7000);
+ quickTipInstance.setHideDelay(400);
+ quickTipInstance.setMinWidth(100);
}
}
\ No newline at end of file
More information about the kune-commits
mailing list