[Z3lab-checkins] r2759 - cpsskins/branches/jmo-perspectives/ui/framework

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 14:04:38 2006
New Revision: 2759

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- simplification



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Apr  2 
14:04:38 2006
@@ -1795,20 +1795,19 @@
 
   attachControllers: function() {
 var view = this;
-var controllers_id = view.getControllers();
-controllers_id.each(function(c) {
-var controller = CPSSkins.getControllerById(c);
-  if (controller) { view.attach(controller); }
+var view_id = view.hash();
+var controllers_ids = view.getControllers();
+controllers_ids.each(function(c) {
+  var controller = CPSSkins.getControllerById(c);
+  if (controller) { 
+controller.views.add(view_id);
+controller.unregister(view);
+controller.register(view);
+controller.update(view);
+  }
 });
   },
 
-  attach: function(controller) {
-controller.views.add(this.hash());
-controller.unregister(this);
-controller.register(this);
-controller.update(this);
-  },
-
   observe: function(model) {
 model.addObserver(this);
 this.model = model;
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins


[Z3lab-checkins] r2760 - cpsskins/branches/jmo-perspectives/ui/framework

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 16:42:35 2006
New Revision: 2760

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- scalability: the drop-and-drop controller now scales better when there
  are lots of elements on the page since drop/shift zones are registered
  on drag events.



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Apr  2 
16:42:35 2006
@@ -690,7 +690,6 @@
   new CPSSkins.Controller(), {
 
   setup: function() {
-this.dragEvent = this.dragEvent.bindAsEventListener(this);
 this.moveEvent = this.moveEvent.bindAsEventListener(this);
 this.dropEvent = this.dropEvent.bindAsEventListener(this);
 this.cancelEvent = new Function("return false");
@@ -698,7 +697,6 @@
 this._dropzones = [];
 this._shiftablezones = [];
 this._containerzones = [];
-this._draggable_token = 'cpsskins_draggable_' + this.hash();
 
 // cancel text selection
 document.onmousedown = this.cancelEvent;
@@ -708,38 +706,31 @@
   },
 
   register: function(view) {
-var dragEvent = this.dragEvent;
 var dragging = this.def.dragging;
 if (!dragging) {
   return;
 }
-var handle = dragging.handle;
-var sources = dragging.sources || [];
-var dropzones = this._dropzones;
-var shiftablezones = this._shiftablezones;
-var containerzones = this._containerzones;
-var draggable_token = this._draggable_token;
 var widget = view.widget;
+var dragEvent = this.dragEvent.bindAsEventListener(
+  Object.extend(this, {'widget': widget}));
+Event.observe(widget, "mousedown", dragEvent);
+var handle = dragging.handle || dragging.sources || [];
+this.handle_selector = new Selector(handle);
+  },
 
-if (!handle) { handle = sources; }
-handle.each(function(h) {
-  $$(h).each(function(el) {
-if (el.childOf(widget)) {
-  Event.observe(el, "mousedown", dragEvent);
-  el.setStyle({'cursor': 'move'});
-}
-  });
-});
-
-sources.each(function(d) {
-  $$(d).each(function(el) {
-if (el.childOf(widget)) {
-  el[draggable_token] = true;
-};
-  });
-});
+  unregister: function(view) {
+var widget = view.widget;
+var dragEvent = this.dragEvent.bindAsEventListener(
+  Object.extend(this, {'widget': widget}));
+Event.stopObserving(widget, "mousedown", dragEvent);
+  },
 
+  _setupZones: function() {
+var widget = this.widget;
 var shifting = this.def.shifting;
+var dropzones = this._dropzones;
+var shiftablezones = this._shiftablezones;
+var containerzones = this._containerzones;
 if (shifting) {
   if (shifting.element) {
 $$(shifting.element).each(function(el) {
@@ -759,16 +750,17 @@
 });
   });
 }
-
   },
 
   _findDraggable: function(e) {
 var element = Event.element(e);
-var draggable_token = this._draggable_token;
-while (element.parentNode && !element[draggable_token]) {
+var handle_selector = this.handle_selector;
+var widget = this.widget;
+while (element.parentNode && !handle_selector.match(element)) {
+  if (!$(element).childOf(widget)) return null;
   element = element.parentNode;
 }
-return element;
+return (element != document) ? element : null;
   },
 
   _getVerticalSpeed: function(y) {
@@ -794,12 +786,15 @@
 
   dragEvent: function(e) {
 if (!Event.isLeftClick(e)) return false;
-var draggable = $(this._findDraggable(e));
+var draggable = this._findDraggable(e);
 if (!draggable) {
   return false;
 }
+
+this._setupZones();
+
+this.target = $(draggable);
 var pos = Position.cumulativeOffset(draggable);
-this.target = draggable;
 
 var x = Event.pointerX(e);
 var y = Event.pointerY(e);
@@ -1799,7 +1794,7 @@
 var controllers_ids = view.getControllers();
 controllers_ids.each(function(c) {
   var controller = CPSSkins.getControllerById(c);
-  if (controller) { 
+  if (controller) {
 controller.views.add(view_id);
 controller.unregister(view);
 controller.register(view);
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins


[Z3lab-checkins] r2761 - cpsskins/branches/jmo-perspectives/ui/framework

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 17:56:51 2006
New Revision: 2761

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- optimizations, fixes



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Apr  2 
17:56:51 2006
@@ -694,10 +694,6 @@
 this.dropEvent = this.dropEvent.bindAsEventListener(this);
 this.cancelEvent = new Function("return false");
 
-this._dropzones = [];
-this._shiftablezones = [];
-this._containerzones = [];
-
 // cancel text selection
 document.onmousedown = this.cancelEvent;
 document.onselectstart = this.cancelEvent;
@@ -714,8 +710,6 @@
 var dragEvent = this.dragEvent.bindAsEventListener(
   Object.extend(this, {'widget': widget}));
 Event.observe(widget, "mousedown", dragEvent);
-var handle = dragging.handle || dragging.sources || [];
-this.handle_selector = new Selector(handle);
   },
 
   unregister: function(view) {
@@ -728,22 +722,22 @@
   _setupZones: function() {
 var widget = this.widget;
 var shifting = this.def.shifting;
-var dropzones = this._dropzones;
-var shiftablezones = this._shiftablezones;
-var containerzones = this._containerzones;
-if (shifting) {
+if (shifting && !this._shiftablezones) {
+  var shiftablezones = this._shiftablezones = [];
   if (shifting.element) {
 $$(shifting.element).each(function(el) {
   if (el.childOf(widget)) shiftablezones.push(el);
 });
   }
-  if (shifting.container) {
+  if (shifting.container && !this._containerzones) {
+var containerzones = this._containerzones = [];
 $$(shifting.container).each(function(el) {
   if (el.childOf(widget)) containerzones.push(el);
 });
   }
 }
-if (this.def.dropping) {
+if (this.def.dropping && !this._dropzones) {
+  var dropzones = this._dropzones = [];
   (this.def.dropping.targets || []).each(function(d) {
 $$(d).each(function(el) {
   if (el.childOf(widget)) dropzones.push(el);
@@ -753,14 +747,20 @@
   },
 
   _findDraggable: function(e) {
-var element = Event.element(e);
-var handle_selector = this.handle_selector;
+var element = $(Event.element(e));
+var handle = this.def.dragging.handle || this.def.dragging.sources || [];
 var widget = this.widget;
-while (element.parentNode && !handle_selector.match(element)) {
-  if (!$(element).childOf(widget)) return null;
-  element = element.parentNode;
-}
-return (element != document) ? element : null;
+
+var draggable = null;
+$A(handle).each(function(h) {
+  $$(h).each(function(el) {
+if (el == element || element.childOf(el)) {
+  draggable = el;
+  return;
+};
+  });
+});
+return draggable;
   },
 
   _getVerticalSpeed: function(y) {
@@ -889,7 +889,7 @@
 };
   }.bind(this));
 
-  if (!shifted) {
+  if (!shifted && this._containerzones) {
 this._containerzones.each(function(s) {
   if (Position.within(s, x, y)) {
 s.appendChild(this.dragged);
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins


[Z3lab-checkins] r2762 - cookbook/trunk

2006-04-02 Thread tziade
Author: tziade
Date: Sun Apr  2 19:25:03 2006
New Revision: 2762

Modified:
   cookbook/trunk/recipe00.en.tex
   cookbook/trunk/recipe_list.txt
Log:
using a formatted text, that will be used by xmlrpc scripts to display project 
status over the website

Modified: cookbook/trunk/recipe00.en.tex
==
--- cookbook/trunk/recipe00.en.tex  (original)
+++ cookbook/trunk/recipe00.en.tex  Sun Apr  2 19:25:03 2006
@@ -18,14 +18,14 @@
 A recipe is made of a problem and a solution section.
 
 \begin{itemize}
-\item The problem describe in less than 20 lines the problem to solve.
+\item The problem describes in less than 20 lines the problem to solve.
 
-\item The solution is made of sections and subsections, and provide the
+\item The solution is made of sections and subsections, and provides the
 solution.
 \end{itemize}
 
 The solution can contain text and code. The code can be made with several
-specific commands.
+specific commands
 
 \section*{Specific commands for the code blocs}
 

Modified: cookbook/trunk/recipe_list.txt
==
--- cookbook/trunk/recipe_list.txt  (original)
+++ cookbook/trunk/recipe_list.txt  Sun Apr  2 19:25:03 2006
@@ -1,95 +1,63 @@
-Recipes list
-
+# number - title - state1 - state2 - ...
 
-Categories
-==
+# for each language, the state can be:
+#   lang-0 : nothing done
+#   lang-1 : beeing written
+#   lang-2 : written
+#   lang-3 : being translated
+
+
+01 - zope installation - fr-0 - en-0
+02 - understanding runzope, zopectl, and other things - fr-0 - en-0
+03 - understanding the interface - fr-0 - en-0
+04 - the zope component architecture - fr-0 - en-0
+05 - understanding the development process - fr-0 - en-0
+06 - writing unit tests - fr-0 - en-0
+07 - writing functional tests - fr-2 - en-2
+08 - debugging the code - fr-0 - en-0
+09 - understanding Interfaces - fr-0 - en-0
+10 - understanding the traversal - fr-0 - en-0
+11 - mastering ZCML - fr-0 - en-0
+12 - mastering ZPT - fr-0 - en-0
+13 - adding an extension package - fr-0 - en-0
+14 - creating and publishing an object - fr-0 - en-0
+15 - creating resources - fr-0 - en-0
+16 - creating a global utility - fr-0 - en-0
+17 - creating a local utility - fr-0 - en-0
+18 - understanding Adapters - fr-0 - en-0
+19 - creating an Adapter - fr-0 - en-0
+20 - understanding forms - fr-0 - en-0
+21 - creating a object with forms - fr-0 - en-0
+22 - understanding Events - fr-0 - en-0
+23 - using Events - fr-0 - en-0
+24 - setting up a development environment (xx path) - fr-0 - en-0
+
+40 - setting up authentication - fr-0 - en-0
+41 - designing a publication workflow - fr-0 - en-0
+42 - working with metadata (annotations) - fr-0 - en-0
+43 - creating a new skin - fr-0 - en-0
+44 - driving the application with XML-RPC - fr-0 - en-0
+45 - creating an internationalized package - fr-0 - en-0
+46 - creating multilanguage content objects - fr-0 - en-0
+47 - changing and migrating existing objects - fr-0 - en-0
+48 - writing reSTructuredText for documentation and doctests - fr-2 - en-2
+49 - interacting with zope in tests - fr-1 - en-0
+50 - finding the good pace between coding, documenting, unit testing and 
functional testing - fr-2 - en-2
+51 - recording a user web session to write tests - fr-2 - en-2
+52 - organizing the code in a package - fr-2 - en-2
+53 - using ldap to store users - fr-0 - en-0
+54 - using a sql database to store data - fr-0 - en-0
+55 - testing forms with zope.testbrowser - fr-0 - en-0
+56 - organizing the code in a package - fr-0 - en-0
+57 - learning naming conventions - fr-0 - en-0
+58 - creating a new content object - fr-0 - en-0
+59 - retrieving an object url - fr-2 - en-2
+60 - creating a rss feed for a container - fr-0 - en-0
+61 - writing and reading dublincore metadatas - fr-0 - en-0
+
+70 - extending ZCML - fr-0 - en-0
+71 - extending ZPT - fr-0 - en-0
+72 - implementing a new publisher - fr-0 - en-0
 
-- Using Zope
-- Developping Zope - the concepts
-- Developping Zope - real-world recipes
-- Developping Zope - advanced recipes
-- Administrating Zope
-
-Levels
-==
-
-TODO
-
-
-Recipes
-===
-
-Using Zope
-~~
-
-01 - zope installation
-02 - understanding runzope, zopectl, and other things
-03 - understanding the interface
-
-Developping Zope - the concepts
-~~~
-
-04 - the zope component architecture
-05 - understanding the development process
-06 - writing unit tests
-07 - writing functional tests (TZ, fr->en:MR)
-08 - debugging the code
-09 - understanding Interfaces
-10 - understanding the traversal
-11 - mastering ZCML
-12 - mastering ZPT
-13 - adding an extension package
-14 - creating and publishing an object
-15 - creating resources
-16 - creating a global utility
-17 - creating a local utility
-18 - understanding Adapters
-19 - creating an Adapter
-20 - understanding forms
-21 - creatin

[Z3lab-checkins] r2763 - in cpsskins/branches/jmo-perspectives/ui: authoring framework framework/tests/functional

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 20:23:52 2006
New Revision: 2763

Modified:
   cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html
Log:

- optimizations: draggable, droppable and shiftable zones are defined by
  class names (not by CSS selectors anymore which require too much CPU
  to match).



Modified: cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
==
--- cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py  
(original)
+++ cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py  Sun Apr 
 2 20:23:52 2006
@@ -388,7 +388,7 @@
 'id': 'portlet-factory',
 'type': 'drag-and-drop',
 'dragging': {
-'sources': ['.toolbox .factory'],
+'source': ['factory'],
 'offset_x': -5,
 'offset_y': -5,
 'feedback': {
@@ -399,7 +399,7 @@
 }
 },
 'dropping': {
-'targets': ['.portletTarget'],
+'target': ['portletTarget'],
 'highlight': {
 'duration': 800,
 },
@@ -410,7 +410,7 @@
 'id': 'element-mover',
 'type': 'drag-and-drop',
 'dragging': {
-'sources': ['.elementMovable'],
+'source': ['elementMovable'],
 'feedback': {
 'opacity': 0.3,
 },
@@ -419,7 +419,7 @@
 }
 },
 'shifting': {
-'element': '.elementShiftable',
+'element': 'elementShiftable',
 },
 'dropping': {
 'highlight': {

Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Apr  2 
20:23:52 2006
@@ -698,6 +698,9 @@
 document.onmousedown = this.cancelEvent;
 document.onselectstart = this.cancelEvent;
 
+this._shiftablezones = [];
+this._containerzones = [];
+this._dropzones = [];
 this._last_updated = 0;
   },
 
@@ -722,45 +725,37 @@
   _setupZones: function() {
 var widget = this.widget;
 var shifting = this.def.shifting;
-if (shifting && !this._shiftablezones) {
-  var shiftablezones = this._shiftablezones = [];
+if (shifting) {
   if (shifting.element) {
-$$(shifting.element).each(function(el) {
-  if (el.childOf(widget)) shiftablezones.push(el);
-});
+this._shiftablezones = document.getElementsByClassName(
+shifting.element)
   }
-  if (shifting.container && !this._containerzones) {
-var containerzones = this._containerzones = [];
-$$(shifting.container).each(function(el) {
-  if (el.childOf(widget)) containerzones.push(el);
-});
+  if (shifting.container) {
+this._containerzones = document.getElementsByClassName(
+shifting.container, widget)
   }
 }
-if (this.def.dropping && !this._dropzones) {
-  var dropzones = this._dropzones = [];
-  (this.def.dropping.targets || []).each(function(d) {
-$$(d).each(function(el) {
-  if (el.childOf(widget)) dropzones.push(el);
-});
-  });
+if (this.def.dropping) {
+  this._dropzones = document.getElementsByClassName(
+this.def.dropping.target)
 }
   },
 
   _findDraggable: function(e) {
 var element = $(Event.element(e));
-var handle = this.def.dragging.handle || this.def.dragging.sources || [];
+var handle = this.def.dragging.handle || this.def.dragging.source || '';
 var widget = this.widget;
 
-var draggable = null;
-$A(handle).each(function(h) {
-  $$(h).each(function(el) {
-if (el == element || element.childOf(el)) {
-  draggable = el;
-  return;
-};
-  });
-});
-return draggable;
+while($(element).parentNode) {
+  if (element.hasClassName(handle)) {
+return element;
+  }
+  if (!element.childOf(widget)) {
+return null;
+  }
+  element = element.parentNode;
+}
+return null;
   },
 
   _getVerticalSpeed: function(y) {

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html
==
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html
(original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_dragdrop_test.html
Sun Apr  2 20:23:52 2006
@@ -28,24 +2

[Z3lab-checkins] r2764 - in cpsskins/branches/jmo-perspectives/ui/framework: . tests/functional/panels

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 20:44:30 2006
New Revision: 2764

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panels/cpsskins_panel_test.html
Log:

- fixed the drag handle.

- interaction zones are computed when the controller is registered (this is
  done fast now).



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sun Apr  2 
20:44:30 2006
@@ -698,9 +698,6 @@
 document.onmousedown = this.cancelEvent;
 document.onselectstart = this.cancelEvent;
 
-this._shiftablezones = [];
-this._containerzones = [];
-this._dropzones = [];
 this._last_updated = 0;
   },
 
@@ -710,44 +707,45 @@
   return;
 }
 var widget = view.widget;
-var dragEvent = this.dragEvent.bindAsEventListener(
-  Object.extend(this, {'widget': widget}));
-Event.observe(widget, "mousedown", dragEvent);
-  },
 
-  unregister: function(view) {
-var widget = view.widget;
-var dragEvent = this.dragEvent.bindAsEventListener(
-  Object.extend(this, {'widget': widget}));
-Event.stopObserving(widget, "mousedown", dragEvent);
-  },
-
-  _setupZones: function() {
-var widget = this.widget;
 var shifting = this.def.shifting;
 if (shifting) {
   if (shifting.element) {
 this._shiftablezones = document.getElementsByClassName(
-shifting.element)
+   shifting.element, widget)
   }
   if (shifting.container) {
 this._containerzones = document.getElementsByClassName(
-shifting.container, widget)
+   shifting.container, widget)
   }
 }
 if (this.def.dropping) {
   this._dropzones = document.getElementsByClassName(
-this.def.dropping.target)
+this.def.dropping.target, widget)
 }
+
+var dragEvent = this.dragEvent.bindAsEventListener(
+  Object.extend(this, {'widget': widget}));
+Event.observe(widget, "mousedown", dragEvent);
+  },
+
+  unregister: function(view) {
+var widget = view.widget;
+var dragEvent = this.dragEvent.bindAsEventListener(
+  Object.extend(this, {'widget': widget}));
+Event.stopObserving(widget, "mousedown", dragEvent);
   },
 
   _findDraggable: function(e) {
 var element = $(Event.element(e));
-var handle = this.def.dragging.handle || this.def.dragging.source || '';
+var source = this.def.dragging.source || '';
+var handle = this.def.dragging.handle || '';
 var widget = this.widget;
-
+if (handle && !element.hasClassName(handle)) {
+  return null;
+}
 while($(element).parentNode) {
-  if (element.hasClassName(handle)) {
+  if (element.hasClassName(source)) {
 return element;
   }
   if (!element.childOf(widget)) {
@@ -786,8 +784,6 @@
   return false;
 }
 
-this._setupZones();
-
 this.target = $(draggable);
 var pos = Position.cumulativeOffset(draggable);
 

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panels/cpsskins_panel_test.html
==
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panels/cpsskins_panel_test.html
(original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/panels/cpsskins_panel_test.html
Sun Apr  2 20:44:30 2006
@@ -240,8 +240,8 @@
   {"id": "drag",
"type": "drag-and-drop",
"dragging": {
- "sources": ["div.window"],
- "handle": ["div.window .title"]
+ "source": "window",
+ "handle": "title"
},
"dropping": {}
   }
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins


[Z3lab-checkins] r2765 - in cpsskins/branches/jmo-perspectives/ui: authoring authoring/icons panels screens/sitemanager

2006-04-02 Thread jmorliaguet
Author: jmorliaguet
Date: Sun Apr  2 23:30:43 2006
New Revision: 2765

Added:
   cpsskins/branches/jmo-perspectives/ui/authoring/icons/io-48.png   (contents, 
props changed)
   cpsskins/branches/jmo-perspectives/ui/authoring/icons/negotiation-48.png   
(contents, props changed)
   cpsskins/branches/jmo-perspectives/ui/panels/io.pt
  - copied, changed from r2762, 
cpsskins/branches/jmo-perspectives/ui/panels/management.pt
   cpsskins/branches/jmo-perspectives/ui/panels/negotiation.pt
  - copied, changed from r2762, 
cpsskins/branches/jmo-perspectives/ui/panels/associations.pt
Removed:
   cpsskins/branches/jmo-perspectives/ui/authoring/icons/associations-48.png
   cpsskins/branches/jmo-perspectives/ui/panels/associations.pt
   cpsskins/branches/jmo-perspectives/ui/panels/management.pt
Modified:
   cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
   cpsskins/branches/jmo-perspectives/ui/authoring/icons/configure.zcml
   cpsskins/branches/jmo-perspectives/ui/authoring/icons/settings-48.png
   cpsskins/branches/jmo-perspectives/ui/panels/configure.zcml
   cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.pt
Log:

- renamed panels, updated icons



Modified: cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py
==
--- cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py  
(original)
+++ cpsskins/branches/jmo-perspectives/ui/authoring/definitions.py  Sun Apr 
 2 23:30:43 2006
@@ -100,17 +100,17 @@
 }
 },
 
-'management': {
-'id': 'management',
+'io': {
+'id': 'io',
 'data': {
-'url': '@@management.html',
+'url': '@@io.html',
 }
 },
 
-'associations': {
-'id': 'associations',
+'negotiation': {
+'id': 'negotiation',
 'data': {
-'url': '@@associations.html',
+'url': '@@negotiation.html',
 }
 },
 }
@@ -268,23 +268,23 @@
 'controllers': ['site-manager-perspectives', 'settings-actions'],
 },
 
-'associations': {
-'id': 'associations',
+'negotiation': {
+'id': 'negotiation',
 'widget': {
 'type': 'panel',
 },
-'model': 'associations',
-'perspectives': ['associations'],
+'model': 'negotiation',
+'perspectives': ['negotiation'],
 'controllers': ['site-manager-perspectives'],
 },
 
-'management': {
-'id': 'management',
+'io': {
+'id': 'io',
 'widget': {
 'type': 'panel',
 },
-'model': 'management',
-'perspectives': ['management'],
+'model': 'io',
+'perspectives': ['io'],
 'controllers': ['site-manager-perspectives'],
 },
 

Modified: cpsskins/branches/jmo-perspectives/ui/authoring/icons/configure.zcml
==
--- cpsskins/branches/jmo-perspectives/ui/authoring/icons/configure.zcml
(original)
+++ cpsskins/branches/jmo-perspectives/ui/authoring/icons/configure.zcml
Sun Apr  2 23:30:43 2006
@@ -51,7 +51,11 @@
   layer="cpsskins.browser.skin.cpsskins" />
 
   
+
+  
 
   
 
 
 
 
 
   

Copied: cpsskins/branches/jmo-perspectives/ui/panels/io.pt (from r2762, 
cpsskins/branches/jmo-perspectives/ui/panels/management.pt)
==
--- cpsskins/branches/jmo-perspectives/ui/panels/management.pt  (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/io.pt  Sun Apr  2 23:30:43 2006
@@ -1,7 +1,7 @@
 
   
 
+ src="/++skin++cpsskins/@@/++resource++io-48.png" />
 export, import themes and settings ...
 
   

Copied: cpsskins/branches/jmo-perspectives/ui/panels/negotiation.pt (from 
r2762, cpsskins/branches/jmo-perspectives/ui/panels/associations.pt)
==
--- cpsskins/branches/jmo-perspectives/ui/panels/associations.pt
(original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/negotiation.pt Sun Apr  2 
23:30:43 2006
@@ -1,7 +1,7 @@
 
   
 
+ src="/++skin++cpsskins/@@/++resource++negotiation-48.png" />
 local themes, perspectives ...
 
   

Modified: 
cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.pt
==
--- cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.pt   
(original)
+++ cpsskins/branches/jmo-perspectives/ui/screens/sitemanager/site_manager.pt   
Sun Apr  2 23:30:43 2006
@@ -7,13 +7,13 @@
 
 
 
-
-Associations
-
-
+
+Negotiation
+
+
 
-
-Management
-
-
+
+Import / export
+
+
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins