[qo-modules-dev] [38] clean up, working towards putting js-doc together |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qo-modules-dev Archives
]
Revision: 38
Author: mjlecomte
Date: 2008-12-03 17:31:19 +0100 (Wed, 03 Dec 2008)
Log Message:
-----------
clean up, working towards putting js-doc together
Modified Paths:
--------------
mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/Desktop.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/TaskBar.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/View.js
Added Paths:
-----------
mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/blue.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desk.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desktop.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/ext.gif
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/shiny.gif
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/sky.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/eos.jpg
Removed Paths:
-------------
mickael/trunk/ext/v3.0.0-a1/learn/desktop/eos.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.txt
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/thumbnails/qwikioffice.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/blue.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desk.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desktop.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desktop2.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/ext.gif
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/shiny.gif
mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/sky.jpg
mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js 2008-12-03 16:31:19 UTC (rev 38)
@@ -36,7 +36,7 @@
* @cfg {Object} Platform load configuration
*/
platformConfig: {
- url: 'modules-preload.txt',
+ url: 'modules-preload.js',
params: 'foo'
},
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html 2008-12-03 16:31:19 UTC (rev 38)
@@ -47,32 +47,5 @@
<script type="text/javascript" src="js/Desktop.js"></script>
</head>
-<body>
-</body>
-<!--
-<body scroll="no">
-
-<div id="x-desktop">
- <a href="http://extjs.com" target="_blank" style="margin:5px; float:right;"><img src="images/powered.gif" /></a>
-
- <dl id="x-shortcuts">
- <dt id="grid-win-shortcut">
- <a href="#"><img src="images/s.gif" />
- <div>Grid Window</div></a>
- </dt>
- <dt id="acc-win-shortcut">
- <a href="#"><img src="images/s.gif" />
- <div>Accordion Window</div></a>
- </dt>
- </dl>
-</div>
-
-<div id="ux-taskbar">
- <div id="ux-taskbar-start"></div>
- <div id="ux-taskbuttons-panel"></div>
- <div class="x-clear"></div>
-</div>
-
-</body>
--->
+<body></body>
</html>
\ No newline at end of file
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/eos.jpg
===================================================================
(Binary files differ)
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/Desktop.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/Desktop.js 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/Desktop.js 2008-12-03 16:31:19 UTC (rev 38)
@@ -21,13 +21,20 @@
region: 'center',
id: 'x-desktop',
//xtype: 'panel',
- //bodyStyle: "background-image:url(eos.jpg) !important",
+ //TODO: this is going to an inner div, while the 'wallpaper'
+ //is being applied to the parent div. They should go to the same
+ //div so there isn't two active images. The other wallpaper
+ //is set in View.js/setWallpaper().
+ bodyStyle: "background-image:url(wallpapers/eos.jpg) !important",
autoEl: {}
});
this.taskbar = new Ext.ux.TaskBar({
//xtype: 'taskbar',
- region: 'south',//if make this north, need to change the origin of menus so they don't go off the page
+ //TODO: make region configurable north/south
+ //if make this north, need to change the origin of menus
+ //so they don't go off the page
+ region: 'south',
collapsible: true,
collapseMode: 'mini',
split: true,
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/TaskBar.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/TaskBar.js 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/TaskBar.js 2008-12-03 16:31:19 UTC (rev 38)
@@ -17,7 +17,7 @@
qsWidth: 94,
qsWidthMin: 60,
- // style: 'z-index:23000',
+ style: 'z-index:23000',
constructor: function (config) {
Ext.apply(this, config);
@@ -126,17 +126,24 @@
this.on({
beforecollapse: {
fn: function () {
- var el = Ext.getCmp('ux-taskbar').el;
- el.applyStyles('z-index:23230');
+ //need to maintain a high z-index so the
+ //taskbar remains visually on top (Ext resets
+ //the z-index when it expands/collapses)
+ this.el.applyStyles('z-index:23001');
},
scope: this
},
expand: {
fn: function () {
- var el = Ext.getCmp('ux-taskbar').el;
- el.applyStyles('z-index:23230');
+ this.el.applyStyles('z-index:23002');
},
scope: this
+ },
+ render: {
+ fn: function () {
+ this.el.addClass("transparent");
+ },
+ scope: this
}
});
@@ -146,13 +153,10 @@
},
markActive: function () {
-// console.warn('Wooooohoooooo...................markActive');
-// console.info(arguments);
+ //console.info('markActive called');
},
addTaskButton: function (win) {
- // this.tbPanel=Ext.getCmp('ux-taskbuttons-panel');
- // return this.tbPanel.addButton(win, 'ux-taskbuttons-panel');
var btn = new Ext.ux.TaskBar.TaskButton(win);
this.activeAppsPanel = Ext.getCmp('ux-taskbuttons-panel');
this.activeAppsPanel.addButton(btn);
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/View.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/View.js 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/View.js 2008-12-03 16:31:19 UTC (rev 38)
@@ -7,16 +7,38 @@
* @extends Ext.Viewport
*/
Ext.ux.View = Ext.extend(Ext.Viewport, {
-//Ext.ux.View = Ext.extend(Ext.Container, {
+
monitorResize: true,
+ /**
+ * @cfg {Object} styles Configuration object for custom styling. Sample:
+ * <pre><code>
+ styles: {
+ "backgroundcolor": "575757",
+ "fontcolor": "FFFFFF",
+ "transparency": "100",
+ "theme": {
+ "id": "3",
+ "name": "Vista Glass",
+ "pathtofile": "..\/desktop\/resources\/themes\/xtheme-vistaglass\/css\/xtheme-vistaglass.css"},
+ "wallpaper": {
+ "id": "11",
+ "name": "Blue Psychedelic",
+ // href of the new stylesheet to include
+ "pathtofile": "..\/desktop\/resources\/wallpapers\/blue-psychedelic.jpg"
+ },
+ "wallpaperposition":"tile"
+ } // end of styles
+ * </code></pre>
+ */
+
/* @private */
constructor: function (config) {
Ext.apply(this, config);
Ext.ux.View.superclass.constructor.call(this);
},
- // private
+ /* @private */
initComponent : function () {
Ext.ux.View.superclass.initComponent.apply(this, arguments);
@@ -28,7 +50,8 @@
},
/**
- * return false to prevent the change
+ * Listener function for beforechange event. Return false to prevent
+ * the change.
* @param {Object} o scope
* @param {String} f The feature being changed
* @param {Object} cfg Config object for the feature being changed
@@ -44,6 +67,8 @@
},
/**
+ * Listener function for afterchange event. Possibly use this to
+ * display notification messages, etc.
* @param {Object} o scope
* @param {String} f The feature being changed
* @param {Object} cfg Config object for the feature being changed
@@ -58,26 +83,9 @@
},
/**
- * Styles config object:
- *
- * Example
- *
- * {
- * backgroundcolor: '575757',
- * fontcolor: 'FFFFFF',
- * transparency: 100,
- * theme: {
- * id: 2,
- * name: 'Vista Black',
- * pathtofile: 'resources/themes/xtheme-vistablack/css/xtheme-vistablack.css'
- * },
- * wallpaper: {
- * id: 10,
- * name: 'Blue Swirl',
- * pathtofile: 'resources/wallpapers/blue-swirl.jpg'
- * },
- * wallpaperposition: 'tile'
- * }
+ * Initialize any custom styling (background color, wallpaper, fontcolor, etc.)
+ * See {@link #styles} config object for sample styles config object.
+ * @private
*/
initStyles: function () {
if (!this.styles) {
@@ -92,6 +100,10 @@
return true;
},
+ /**
+ * Set the background-color style for document.body
+ * @param {Object} v The hexadecimal color value.
+ */
setBackgroundColor: function (v) {
v = v || this.styles.backgroundcolor;
if (v) {
@@ -99,6 +111,10 @@
}
},
+ /**
+ * Set the font color for shortcut buttons text.
+ * @param {Object} v The hexadecimal color value.
+ */
setFontColor: function (v) {
v = v || this.styles.fontcolor;
if (v) {
@@ -106,6 +122,16 @@
}
},
+ /**
+ * Set the theme.
+ * See {@link #styles} config object for sample theme config object.
+ * This method swaps in a new stylesheet reference to replace an existing
+ * stylesheet with link of this form (note the id).
+ * <pre><code>
+ * <link rel="stylesheet" type="text/css" id="theme" href="whatever.css"/>
+ * </code></pre>
+ * @param {Object} o Theme config object.
+ */
setTheme: function (o) {
o = o || this.styles.theme;
if (o && o.id && o.name && o.pathtofile) {
@@ -113,16 +139,27 @@
}
},
+ /**
+ * Set the transparency.
+ * See {@link #styles} config object for sample theme config object.
+ * This method updates the .transparent class for the value passed.
+ * @param {Integer} v Integer value (0-100) to set the transparency.
+ */
setTransparency: function (v) {
v = v || this.styles.transparency;
if (v >= 0 && v <= 100) {
- this.taskbar.el.addClass("transparent");
Ext.util.CSS.updateRule('.transparent', 'opacity', v / 100);
Ext.util.CSS.updateRule('.transparent', '-moz-opacity', v / 100);
Ext.util.CSS.updateRule('.transparent', 'filter', 'alpha(opacity=' + v + ')');
}
},
+ /**
+ * Set the background wallpaper.
+ * See {@link #styles} config object for sample wallpaper config object.
+ * This method updates the desktopBody element background-image.
+ * @param {Integer} o Wallpaper config object.
+ */
setWallpaper: function (o) {
var s = this.styles;
o = o || s.wallpaper;
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.js (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.txt)
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.js (rev 0)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.js 2008-12-03 16:31:19 UTC (rev 38)
@@ -0,0 +1,263 @@
+/* Sample Application Configuration */
+{
+ /* success */
+ // you must specify success: true
+ // the authentication class may reject the request and send back a message or something
+ // (not implemented yet)
+ success: true,
+
+ /* platform */
+ // root node for remote configuration of the application consisting of these properties:
+ // +modules
+ // +---launchers
+ // +privileges
+ // +viewConfig
+ // +---startConfig
+ // +---styles
+ // +---logoutConfig
+ // TODO: rank when each of the above must be loaded in order, so that we can determine
+ // how the loading might be streamed in to give perception of faster loaded application
+ platform: {
+
+ /* viewConfig */
+ // config for the View
+ viewConfig: {
+ gui: 'desktop',
+
+ /* startConfig */
+ // config for the start menu
+ startConfig: {
+ iconCls: 'user',
+ title: 'Michael J', // get_cookie('memberName'),
+ toolItems: [{
+ text: 'Settings',
+ iconCls: 'settings',
+ scope: this
+ },'-',{
+ text: 'Word wrap needed for long items',
+ iconCls: 'logout',
+ scope: this
+ }],
+ toolPanelWidth: 115
+ },
+
+ /* logoutConfig */
+ //logoutConfig: { }, //included in controller.js already
+
+ /* styles */
+ styles: {
+ "backgroundcolor": "575757",
+ "fontcolor": "FFFFFF",
+ "transparency": "100",
+ "theme": {
+ "id": "3",
+ "name": "Vista Glass",
+ "pathtofile": "..\/desktop\/resources\/themes\/xtheme-vistaglass\/css\/xtheme-vistaglass.css"},
+ "wallpaper": {
+ "id": "11",
+ "name": "Blue Psychedelic",
+ "pathtofile": "..\/desktop\/resources\/wallpapers\/blue-psychedelic.jpg"
+ },
+ "wallpaperposition":"tile"
+ } // end of styles
+ }, // end of viewConfig
+
+ /* modules */
+ modules: [{
+
+ //A typical module config object will have this minimum form if not preloaded:
+
+ // id (required), must be unique for entire app
+ id: 'grid-win',
+
+ xtype : 'grid-win',
+
+ // To signify that no additional configuration should be retrieved from the server
+ // just set the 'loaded' config property to true so that the component will not be
+ // retrieved from the server again. This property is optional, but the app will
+ // attempt to load this module until this property is set to true.
+ loaded : false,
+
+ // the number of instances of this module that may be run at one time
+ // all launchers except the active apps taskbar will check this before
+ // creating a new instance versus just showing the one instance.
+ limit : 2,
+
+ iconCls: 'acc-icon',
+
+ // defaults will be applied to all launchers
+ launchDefaults: {
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+
+ // launchers: an array of launcher config objects or just the name of the menu type
+ // if the defaults are to be applied. Possible launcher types for a desktop type
+ // environment include:
+ // autorun : equivalent to the 'Startup' folder for Windows OS
+ // context : right click on the desktop body
+ // quick : Quick Start Buttons just to the right of the main Start Button on the taskbar
+ // shortcut : Desktop shortcuts or navigation menu for other GUI's
+ // start : seen after clicking on the Start button
+ // tray : Buttons for the system tray (far right of taskbar)
+
+ launchers : [
+
+ // just specify a string for the name, and any defaults will be applied:
+ 'autorun', 'context', 'quick', 'tray',
+
+ // or specify a full config for finer control:
+ {
+ type: 'shortcut',
+ // notice that these properties are the same as used in 'defaults' config
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+
+ // To add this module to the Start Menu, specify one of the following:
+ // 1. the string name 'start' as a config item (see above) or
+ // 2. a config object as shown below to customize the placement of the
+ // module in the start menu further.
+ // Specify the path the module should be listed at in the start menu
+ // You can list a module in submenus by adding forward slashes to the path.
+ // for example:
+ // path: 'start/Bogus Menu'
+ {
+ type: 'start',
+ path: 'start'//'start', 'tool', 'start/Bogus Menu'
+ }
+
+ // the handler to launch this module
+ // typically you should not need to specify this as the default is this.show
+ //handler : this.show,
+
+ // typically you should not need to specify the scope for the handler (defaults to this module)
+ //scope: this
+ ], // end launchers
+
+ // additional optional properties
+
+ // optionally specify a different load configuration:
+ loader: {
+// url: 'loader.php', // so use loader.url || this.loader;
+ url: 'layoutwindow.js', // so use loader.url || this.loader;
+ params: {
+ foo: 'bar'
+ }
+ },
+
+ //As with any class or xtype, specify as much additional configuration as you want may be preconfigured
+ foo : 'bar'
+ },{
+ // id (required), must be unique for entire app
+ id: 'grid-win2',
+ xtype : 'grid-win',
+ loaded : false,
+ limit : 2,
+ iconCls: 'grid-icon',
+ launchDefaults: {
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ launchers : [
+ 'context', 'quick', 'tray',
+ {
+ type: 'shortcut',
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ {
+ type: 'start',
+ path: 'start'//'start', 'tool', 'start/Bogus Menu'
+ }
+ ], // end launchers
+ loader: {
+ url: 'layoutwindow.js'
+ }
+ },{
+ // id (required), must be unique for entire app
+ id: 'grid-win3',
+ xtype : 'grid-win',
+ loaded : false,
+ limit : 2,
+ iconCls: 'grid-icon',
+ launchDefaults: {
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ launchers : [
+ 'quick', 'tray',
+ {
+ type: 'shortcut',
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ {
+ type: 'start',
+ path: 'start'//'start', 'tool', 'start/Bogus Menu'
+ }
+ ], // end launchers
+ loader: {
+ url: 'layoutwindow.js'
+ }
+ },{
+ // id (required), must be unique for entire app
+ id: 'grid-win4',
+ xtype : 'grid-win',
+ loaded : false,
+ limit : 2,
+ iconCls: 'grid-icon',
+ launchDefaults: {
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ launchers : [
+ 'quick', 'tray',
+ {
+ type: 'shortcut',
+ iconCls: 'acc-icon',
+ shortcutIconCls: 'demo-acc-shortcut',
+ text: 'Accordion Window',
+ tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
+ },
+ {
+ type: 'start',
+ path: 'start'//'start', 'tool', 'start/Bogus Menu'
+ }
+ ], // end launchers
+ loader: {
+ url: 'layoutwindow.js'
+ }
+ }], // end of modules
+
+ /* privileges */
+ // TODO: may need to rework this, I haven't looked at what it is used for yet.
+ privileges: [{
+ className: 'QoDesk.QoPreferences',
+ moduleId: 'qo-preferences',
+ moduleType: 'system/preferences',
+ menuPath: 'ToolMenu',
+ launcher: {
+ iconCls: 'pref-icon',
+ shortcutIconCls: 'pref-shortcut-icon',
+ text: 'Preferences',
+ tooltip: '<b>Preferences</b><br />Allows you to modify your desktop'
+ },
+ loaded: false
+ }] // end of privileges
+ } // end of platform
+}
\ No newline at end of file
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.js
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.txt
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.txt 2008-12-03 13:02:33 UTC (rev 37)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/modules-preload.txt 2008-12-03 16:31:19 UTC (rev 38)
@@ -1,262 +0,0 @@
-/* Sample Application Configuration */
-{
- /* success */
- // you must specify success: true
- // the authentication class may reject the request and send back a message or something
- // (not implemented yet)
- success: true,
-
- /* platform */
- // root node for remote configuration of the application consisting of these properties:
- // modules
- // privileges
- // startConfig
- // styles
- // launchers
- // logoutConfig
- // TODO: rank when each of the above must be loaded in order, so that we can determine
- // how the loading might be streamed in to give perception of faster loaded application
- platform: {
-
- /* viewConfig */
- // config for the View
- viewConfig: {
- gui: 'desktop',
-
- /* startConfig */
- // config for the start menu
- startConfig: {
- iconCls: 'user',
- title: 'Michael J', // get_cookie('memberName'),
- toolItems: [{
- text: 'Settings',
- iconCls: 'settings',
- scope: this
- },'-',{
- text: 'Word wrap needed for long items',
- iconCls: 'logout',
- scope: this
- }],
- toolPanelWidth: 115
- },
-
- /* logoutConfig */
- //logoutConfig: { }, //included in controller.js already
-
- /* styles */
- styles: {
- "backgroundcolor": "575757",
- "fontcolor": "FFFFFF",
- "transparency": "100",
- "theme": {
- "id": "3",
- "name": "Vista Glass",
- "pathtofile": "..\/desktop\/resources\/themes\/xtheme-vistaglass\/css\/xtheme-vistaglass.css"},
- "wallpaper": {
- "id": "11",
- "name": "Blue Psychedelic",
- "pathtofile": "..\/desktop\/resources\/wallpapers\/blue-psychedelic.jpg"
- },
- "wallpaperposition":"tile"
- } // end of styles
- }, // end of viewConfig
-
- /* modules */
- modules: [{
-
- //A typical module config object will have this minimum form if not preloaded:
-
- // id (required), must be unique for entire app
- id: 'grid-win',
-
- xtype : 'grid-win',
-
- // To signify that no additional configuration should be retrieved from the server
- // just set the 'loaded' config property to true so that the component will not be
- // retrieved from the server again. This property is optional, but the app will
- // attempt to load this module until this property is set to true.
- loaded : false,
-
- // the number of instances of this module that may be run at one time
- // all launchers except the active apps taskbar will check this before
- // creating a new instance versus just showing the one instance.
- limit : 2,
-
- iconCls: 'acc-icon',
-
- // defaults will be applied to all launchers
- launchDefaults: {
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
-
- // launchers: an array of launcher config objects or just the name of the menu type
- // if the defaults are to be applied. Possible launcher types for a desktop type
- // environment include:
- // autorun : equivalent to the 'Startup' folder for Windows OS
- // context : right click on the desktop body
- // quick : Quick Start Buttons just to the right of the main Start Button on the taskbar
- // shortcut : Desktop shortcuts or navigation menu for other GUI's
- // start : seen after clicking on the Start button
- // tray : Buttons for the system tray (far right of taskbar)
-
- launchers : [
-
- // just specify a string for the name, and any defaults will be applied:
- 'autorun', 'context', 'quick', 'tray',
-
- // or specify a full config for finer control:
- {
- type: 'shortcut',
- // notice that these properties are the same as used in 'defaults' config
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
-
- // To add this module to the Start Menu, specify one of the following:
- // 1. the string name 'start' as a config item (see above) or
- // 2. a config object as shown below to customize the placement of the
- // module in the start menu further.
- // Specify the path the module should be listed at in the start menu
- // You can list a module in submenus by adding forward slashes to the path.
- // for example:
- // path: 'start/Bogus Menu'
- {
- type: 'start',
- path: 'start'//'start', 'tool', 'start/Bogus Menu'
- }
-
- // the handler to launch this module
- // typically you should not need to specify this as the default is this.show
- //handler : this.show,
-
- // typically you should not need to specify the scope for the handler (defaults to this module)
- //scope: this
- ], // end launchers
-
- // additional optional properties
-
- // optionally specify a different load configuration:
- loader: {
-// url: 'loader.php', // so use loader.url || this.loader;
- url: 'layoutwindow.js', // so use loader.url || this.loader;
- params: {
- foo: 'bar'
- }
- },
-
- //As with any class or xtype, specify as much additional configuration as you want may be preconfigured
- foo : 'bar'
- },{
- // id (required), must be unique for entire app
- id: 'grid-win2',
- xtype : 'grid-win',
- loaded : false,
- limit : 2,
- iconCls: 'grid-icon',
- launchDefaults: {
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- launchers : [
- 'context', 'quick', 'tray',
- {
- type: 'shortcut',
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- {
- type: 'start',
- path: 'start'//'start', 'tool', 'start/Bogus Menu'
- }
- ], // end launchers
- loader: {
- url: 'layoutwindow.js'
- }
- },{
- // id (required), must be unique for entire app
- id: 'grid-win3',
- xtype : 'grid-win',
- loaded : false,
- limit : 2,
- iconCls: 'grid-icon',
- launchDefaults: {
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- launchers : [
- 'quick', 'tray',
- {
- type: 'shortcut',
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- {
- type: 'start',
- path: 'start'//'start', 'tool', 'start/Bogus Menu'
- }
- ], // end launchers
- loader: {
- url: 'layoutwindow.js'
- }
- },{
- // id (required), must be unique for entire app
- id: 'grid-win4',
- xtype : 'grid-win',
- loaded : false,
- limit : 2,
- iconCls: 'grid-icon',
- launchDefaults: {
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- launchers : [
- 'quick', 'tray',
- {
- type: 'shortcut',
- iconCls: 'acc-icon',
- shortcutIconCls: 'demo-acc-shortcut',
- text: 'Accordion Window',
- tooltip: '<b>Accordion Window</b><br />A window with an accordion layout'
- },
- {
- type: 'start',
- path: 'start'//'start', 'tool', 'start/Bogus Menu'
- }
- ], // end launchers
- loader: {
- url: 'layoutwindow.js'
- }
- }], // end of modules
-
- /* privileges */
- // TODO: may need to rework this, I haven't looked at what it is used for yet.
- privileges: [{
- className: 'QoDesk.QoPreferences',
- moduleId: 'qo-preferences',
- moduleType: 'system/preferences',
- menuPath: 'ToolMenu',
- launcher: {
- iconCls: 'pref-icon',
- shortcutIconCls: 'pref-shortcut-icon',
- text: 'Preferences',
- tooltip: '<b>Preferences</b><br />Allows you to modify your desktop'
- },
- loaded: false
- }] // end of privileges
- } // end of platform
-}
\ No newline at end of file
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/blue.jpg (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/blue.jpg)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/blue.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desk.jpg (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/desk.jpg)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desk.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desktop.jpg (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/desktop.jpg)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/desktop.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/ext.gif (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/ext.gif)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/ext.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/shiny.gif (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/shiny.gif)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/shiny.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/sky.jpg (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers/sky.jpg)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/sky.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/thumbnails/qwikioffice.jpg
===================================================================
(Binary files differ)
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/wallpapers)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/blue.jpg
===================================================================
(Binary files differ)
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desk.jpg
===================================================================
(Binary files differ)
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desktop.jpg
===================================================================
(Binary files differ)
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/desktop2.jpg
===================================================================
(Binary files differ)
Copied: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/eos.jpg (from rev 36, mickael/trunk/ext/v3.0.0-a1/learn/desktop/eos.jpg)
===================================================================
(Binary files differ)
Property changes on: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/eos.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/ext.gif
===================================================================
(Binary files differ)
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/shiny.gif
===================================================================
(Binary files differ)
Deleted: mickael/trunk/ext/v3.0.0-a1/learn/desktop/resources/wallpapers/wallpapers/sky.jpg
===================================================================
(Binary files differ)