Hi Alex,
I need some new features in sqMondrian: - to fix a width for MOLabelShape (method width: ) - preserve the height of a MORectangleShape when a MOLabelShape is inserted in it - have the property text: working in MORectangleShape - edges in top of the figure - fix edges :
this code doesn't work fine: ---- | view | view := MOViewRenderer new. view interaction popupText: [:e | e asString]. view nodes: (1 to: 2) forEach: [:each | view interaction popupText: [:e | e asString]. view nodes: (1 to: 5). view gridLayout]. view edges: view domain from: [:ea | ea] to: [:ea | ea+1] fromGlobal: false toGlobal: false. view open ----
Cheers --- Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr ---
Thanks Jannik, working on it now
Cheers, Alexandre
On 8 Apr 2009, at 16:37, Laval Jannik wrote:
Hi Alex,
I need some new features in sqMondrian:
- to fix a width for MOLabelShape (method width: )
- preserve the height of a MORectangleShape when a MOLabelShape is
inserted in it
- have the property text: working in MORectangleShape
- edges in top of the figure
- fix edges :
this code doesn't work fine:
| view | view := MOViewRenderer new. view interaction popupText: [:e | e asString]. view nodes: (1 to: 2) forEach: [:each | view interaction popupText: [:e | e asString]. view nodes: (1 to: 5). view gridLayout]. view edges: view domain from: [:ea | ea] to: [:ea | ea+1] fromGlobal: false toGlobal: false. view open
Cheers
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Jannik,
- fix edges :
this code doesn't work fine:
| view | view := MOViewRenderer new. view interaction popupText: [:e | e asString]. view nodes: (1 to: 2) forEach: [:each | view interaction popupText: [:e | e asString]. view nodes: (1 to: 5). view gridLayout]. view edges: view domain from: [:ea | ea] to: [:ea | ea+1] fromGlobal: false toGlobal: false. view open
I fix these. I am working on the next issues
Cheers, Alexandre
- edges in top of the figure
I am not quite sure to understand this. I updated MOLineShape. Let me know whether you're happy with the new version.
Cheers, Alexandre
- have the property text: working in MORectangleShape
Done. I added MORectangleSize>>text: . Probably on some point MOLabelShape will be removed. Or maybe it could be a subclass of MORectangleShape that does not draw a box.
Currently, you cannot change the size of the text. If this is something highly wished, I can fix this.
I added few tests in a new 'labels' method category.
Cheers, Alexandre