Author: woonsan
Date: Tue May 4 16:26:38 2010
New Revision: 940933
URL: http://svn.apache.org/viewvc?rev=940933&view=rev
Log:
CSRE: separating workspace module
Added:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
(with props)
Modified:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-desktop.js
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre.js
Modified:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-desktop.js
URL:
http://svn.apache.org/viewvc/portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-desktop.js?rev=940933&r1=940932&r2=940933&view=diff
==============================================================================
---
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-desktop.js
(original)
+++
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-desktop.js
Tue May 4 16:26:38 2010
@@ -26,53 +26,6 @@ YUI.add('csre-desktop', function(Y) {
Y.namespace("CSRE");
/**
- * Create a workspace to represent a unit of the screen.
- * @class CSRE.Workspace
- * @extends Base
- * @constructor
- */
- Y.CSRE.Workspace = function() {
- Y.CSRE.Workspace.superclass.constructor.apply(this, arguments);
- };
-
- Y.mix(Y.CSRE.Workspace, {
- NAME : 'Workspace',
- });
-
- Y.extend(Y.CSRE.Workspace, Y.CSRE.Container, {
- /**
- * Initializer lifecycle implementation.
- *
- * @method initializer
- * @param {Object} config Configuration object with property
name/value pairs.
- */
- initializer : function(config) {
- },
-
- /**
- * Destructor lifecycle implementation.
- *
- * Removes any event listeners or injected methods applied by the
Plugin
- *
- * @method destructor
- */
- destructor: function() {
- },
-
- /**
- * @method setLayout
- */
- setLayout: function(layout) {
- },
-
- /**
- * @method addWidget
- */
- addWidget: function(widget) {
- }
- });
-
- /**
* Create a desktop as an abstract screen
*
* @class CSRE.Layout
@@ -195,4 +148,4 @@ YUI.add('csre-desktop', function(Y) {
});
-}, '3.1.0', {requires:['csre-base', 'csre-widget', 'base-base']});
+}, '3.1.0', {requires:['csre-base', 'csre-widget', 'csre-workspace',
'base-base']});
Added:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
URL:
http://svn.apache.org/viewvc/portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js?rev=940933&view=auto
==============================================================================
---
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
(added)
+++
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
Tue May 4 16:26:38 2010
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ *
+ * @version $Id$
+ */
+
+YUI.add('csre-workspace', function(Y) {
+
+ /**
+ * CSRE JavaScript Framework
+ * @module csre
+ */
+ Y.namespace("CSRE");
+
+ /**
+ * Create a workspace to represent a unit of the screen.
+ * @class CSRE.Workspace
+ * @extends Base
+ * @constructor
+ */
+ Y.CSRE.Workspace = function() {
+ Y.CSRE.Workspace.superclass.constructor.apply(this, arguments);
+ };
+
+ Y.mix(Y.CSRE.Workspace, {
+ NAME : 'Workspace',
+ });
+
+ Y.extend(Y.CSRE.Workspace, Y.CSRE.Container, {
+ /**
+ * Initializer lifecycle implementation.
+ *
+ * @method initializer
+ * @param {Object} config Configuration object with property
name/value pairs.
+ */
+ initializer : function(config) {
+ },
+
+ /**
+ * Destructor lifecycle implementation.
+ *
+ * Removes any event listeners or injected methods applied by the
Plugin
+ *
+ * @method destructor
+ */
+ destructor: function() {
+ },
+
+ /**
+ * @method setLayout
+ */
+ setLayout: function(layout) {
+ },
+
+ /**
+ * @method addWidget
+ */
+ addWidget: function(widget) {
+ }
+ });
+
+}, '3.1.0', {requires:['csre-base', 'csre-widget', 'base-base']});
Propchange:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
------------------------------------------------------------------------------
svn:keywords = Id
Propchange:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre-workspace.js
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified:
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre.js
URL:
http://svn.apache.org/viewvc/portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre.js?rev=940933&r1=940932&r2=940933&view=diff
==============================================================================
---
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre.js
(original)
+++
portals/applications/sandbox/csre/trunk/src/main/webapp/javascript/csre/yui/csre.js
Tue May 4 16:26:38 2010
@@ -27,8 +27,9 @@ var csre_yui = {
config: csre_config,
modules: {
'csre-base': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-base.js" },
- 'csre-widget': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-widget.js", requires: ['csre-base', 'csre-widget'] },
- 'csre-desktop': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-desktop.js", requires: ['csre-base', 'csre-widget'] }
+ 'csre-widget': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-widget.js", requires: ['csre-base'] },
+ 'csre-workspace': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-workspace.js", requires: ['csre-base',
'csre-widget'] },
+ 'csre-desktop': { fullpath: csre_config.base +
"/javascript/csre/yui/csre-desktop.js", requires: ['csre-base', 'csre-widget',
'csre-workspace'] }
}
};