Hi Guille,
We recently added Keymapping to the Moose distribution (actually part of Glamour), but it seems that it breaks the image in subtle ways:
- Ctrl+v and Cmd+v lead to different behaviour
- pasting a piece of code leaves the cursor at the beginning of the pasted text
Do you happen to have time to look into these?
Cheers,
Doru
--
www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."
Hi!
I found the new easel often quite problematic. Here is a list of issues I have found:
- Time to time, pressing Ctrl-s does not execute the script, especially on Linux boxes. It instead accepts the text pane instead of executing. I cannot really reproduce it (I do not have a linux right now), but students have experienced this several times
- When the UI thread crashes, a new easel has to be opened. For example, execute the script:
-=-=-=-=-=-=-=-=-=
self foo
view nodes: (1 to: 20)
-=-=-=-=-=-=-=-=-=
It will raise a debugger. Remove the "self foo", and press the check or Cmd-s, then I have the same error, even though "self foo" is not in the script.
- Examples are crucially missing.
These 3 points are quite disturbing for the students. It would be cool to have a sprint on the new easel. I like the fact it is the same UI concept than the rest of the Moose UI.
Shall I open issues for each of these points?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi all,
i'm not sure this is a good idea to have to following method on ESDataObject
printOn:aStream
self model printOn:aStream
I built an instance of ESAxis in order to understand how it works:
|axis|
axis := ESAxis new.
axis values: #(1 2 3 4).
And when i inspect : axis values i was really disturbed because it
looks like an array of integer but in fact this is an array of
ESDataObject ...
I propose to remove printOn: method or to rewrite like:
printOn:aStream
aStream
nextPutAll: 'an ';
print: self class;
nextPutAll: '(';
print: self model;
nextPutAll: ')'
In the same class, the instance variable model is used by no one and
model method is defined as:
model
^entity
I propose to remove model inst var.
I put the previous modifications in EyeSee-Core-SergeStinckwich.77
Regards,
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Matsuno Laboratory, Kyoto University, Japan (until 12/2011)
http://www.mechatronics.me.kyoto-u.ac.jp/
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
hi guys,
one of my students encountered a case where
FAMIXMethod#invokingMethods is not correctly set. i wonder whether
that is a moose problem or an infamix one. anybody knows about this?
the original message is at the end of this mail.
thanks,
--
Dr. Mircea Lungu
Researcher
Software Composition Group
University of Bern
I assumed that FAMIXMethod >> invokingMethods would return all methods
that invoke the method represented by the FAMIXMethod instance, this
doesn't seem to be the case.
I created an mse file with inFamix from the code in svn at
http://svn.apache.org/repos/asf/incubator/stanbol/trunk/enhancer/engines/ke…
The class org.apache.stanbol.enhancer.engines.keywordextraction.linking.EntityLinker
has both private methods with an empty collection of invokingMethod as
well as with a non-empty one:
- The method getLinkedEntityTypes has an empty collection of invokingMethods
even though the method is in fact invoked:
public void process(){
...
if(linkedEntity == null){
linkedEntity = new LinkedEntity(selectedText,
suggestions, getLinkedEntityTypes(suggestions.subList(0, 1)));
linkedEntities.put(selectedText, linkedEntity);
}
By contrast in the same class
- porcessRedirects has {process} as collection of invokingMethods,
where processRedirects is invokes as follows:
public void process(){
...
if(config.getRedirectProcessingMode() != RedirectProcessingMode.IGNORE){
for(Suggestion suggestion : suggestions){
processRedirects(suggestion);
}
}
All the method I've looked at with an empty collection of
inkingMethods in fact had at least one invokation, I tried to make a
famix model for just the class EntityLinker as this class has both
private method with empty as well as with a non-empty set of ivokers
according to Moose, I hoped that with a small mse file it would be
easier to analyze the problem.
Unfortunately I didn't manage to create such an mse model, I'm getting
the following exception message running `inFamix -lang java -path
source -mse test.mse`:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1931)
at java.lang.String.substring(String.java:1904)
at com.intooitus.infusion.batch.JavaBatchModelBuilder.compute(JavaBatchModelBuilder.java:43)
at com.intooitus.infusion.batch.BatchApplication.run(BatchApplication.java:135)
at com.intooitus.infusion.batch.BatchApplication.start(BatchApplication.java:43)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Unfortunately as inFamix is not open source and because of section 2.3
of the SLA it's hard for me to tackle this problem so I would
appreciate some help.
Hi!
What about having
ESSingleAxisDiagram>>y: set to #yourself per default?
I would expect the following to plot the numbers:
-=-=-=-=-=-=-=-=-=-=-=-=
| diagram |
diagram := ESDiagramRenderer new.
diagram lineDiagram
valueAxis;
models: (1 to: 13) / 16.
diagram open
-=-=-=-=-=-=-=-=-=-=-=-=
But instead, I have to say
-=-=-=-=-=-=-=-=-=-=-=-=
| diagram |
diagram := ESDiagramRenderer new.
diagram lineDiagram
y: #yourself;
valueAxis;
models: (1 to: 13) / 16.
diagram open
-=-=-=-=-=-=-=-=-=-=-=-=
So, are you ok for a default initialize of y with #yourself?
Andre, shall I commit?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Based on some example (e.g., below), I inferred that #valueAxis set on labels for the vertical axis. The one on the horizontal axis are set by #identifier:
What #labels: is for exactly?
| diagram |
diagram := ESDiagramRenderer new.
(diagram verticalBarDiagram)
y: [:each | each];
labels: #yourself;
identifier: #yourself;
defaultColor: Color blue;
valueAxis;
width: 500;
rotatedLabels: false;
models: (1 to: 21).
^ diagram open
I have produced the following curve. How can I get the label on the vertical axis as float (with 2 decimal), but not fractions.
I will use your answers to comment some of the method in EyeSee.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Can someone explain what this method does?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi MooseLand,
i'm doing some experiments with cellular automata at the moment. I
would like to be able to visualize the cells value of a very simple
cellular automata with a kind
of Mondrian-like interface. Instead of Mondrian, i use EyeSee, because
of the ESMatrixDiagram class, that is really convenient to visualize
matrix-based information.
Apparently i can't put inside a ESMalArrayMatrix something else than
numbers (i would like to put cells with some state for example):
Yes i know, this is a misappropriation of EyeSee for my needs and
maybe this is better to design another scripting interface dedicated
to cellular automata visualization.
Any ideas ?
BTW, i push a new version of EyeSee-Support package in the repository
to correct a problem with the method ESMalArrayMatrix>>checkInvariant.
Regards,
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Matsuno Laboratory, Kyoto University, Japan (until 12/2011)
http://www.mechatronics.me.kyoto-u.ac.jp/
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
Hi,
I started using #textBackgroundColor: which fits pretty good for my purposes as i don't want to overuse icons :)
However, I think there is a conflict with the background color and the selected item color depending on the width of the panel. I attached two screenshots.
The first shows the selection of "14.....", here as the text is short it's easy to see that this item is selected.
But in the second it's very complicate to appreciate that "13 ...." is my item of interest.
Is there a way to make the selection stronger?
Best regards,
Veronica
Hi buddies!
I need to know how implement a simple wizard using the glamour. For
example, i need include two radio buttons, a text box and maybe a label, in
this wizard.
Glamour offers this items?
Julio Martins
--
View this message in context: http://forum.world.st/Glamour-tp4160211p4160211.html
Sent from the Moose mailing list archive at Nabble.com.