|
From: <ma...@us...> - 2011-01-16 12:23:42
|
Revision: 253
http://openautomation.svn.sourceforge.net/openautomation/?rev=253&view=rev
Author: mayerch
Date: 2011-01-16 12:23:36 +0000 (Sun, 16 Jan 2011)
Log Message:
-----------
* Changed tree view to use only local icons
* Added correctly sized (= 16x16) block icon
Modified Paths:
--------------
PyWireGate/trunk/logic_editor/logicEditor.js
Added Paths:
-----------
PyWireGate/trunk/logic_editor/icon/16/
PyWireGate/trunk/logic_editor/icon/16/code-block.png
Added: PyWireGate/trunk/logic_editor/icon/16/code-block.png
===================================================================
(Binary files differ)
Property changes on: PyWireGate/trunk/logic_editor/icon/16/code-block.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: PyWireGate/trunk/logic_editor/logicEditor.js
===================================================================
--- PyWireGate/trunk/logic_editor/logicEditor.js 2011-01-16 12:17:49 UTC (rev 252)
+++ PyWireGate/trunk/logic_editor/logicEditor.js 2011-01-16 12:23:36 UTC (rev 253)
@@ -39,27 +39,27 @@
json_data : {
data : [
{
- data : "A node",
+ data : 'System 1',
attr : { rel : 'logic' },
children : [
{
- data: 'My Child',
+ data: 'Subsystem 1',
attr: { rel: 'subsystem' },
children : [
{
- data: 'My second child',
+ data: 'Subsubsystem',
attr: { rel: 'subsystem' }
}
]
},
- "Child 1",
- "Child 2"
+ 'Subsystem 2',
+ 'Subsystem 3'
]
},
{
attr : { rel : 'logic' },
data : {
- title : "Long format demo",
+ title : 'System 2',
attr : { href : "#" }
}
}
@@ -72,8 +72,8 @@
},
types: {
types: {
- logic : { icon: { image: "http://static.jstree.com/v.1.0rc/_docs/_drive.png" } },
- subsystem: { icon: { image: "http://static.jstree.com/v.1.0rc/_docs/syntax/help.png" } }
+ logic : { icon: { image: 'icon/16/code-block.png' } },
+ subsystem: { icon: { image: 'icon/16/code-block.png' } }
}
}
});
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|