Basically only property settings and
initialization statements are executed. If it is not a property or an initialization
statement (i.e. XYX x = ...) then the _expression_ is ignored.
If a method doesn't have a initialization
statement in it, then it is ignored.
There are other subtle things but that
is basically it.
Rich
"Janak Mulani"
<janak.mulani@xxxxxxxxx> Sent by: ve-dev-bounces@xxxxxxxxxxx
10/25/2005 01:29 PM
Please respond to
Discussions people developing code for the Visual Editor project
To
"ve-Dev@Eclipse. Org"
<ve-dev@xxxxxxxxxxx>
cc
Subject
[ve-dev] which code is parsed
and executed on the VM
Dear VE team,
Suppose I have a bean with generated code as follows:
class MyClass extends MyBean {
private Context context;
public void MyClass() {
super();
initialize();
}
private void initailize() {
context
= XXX.getContext()
this.setBackgroundColor(Color.blue); // a method affecting visual attribute
setForegroundColor(Color.red); // will this be executed?
this.myBusinesMethod(); // will this be executed
}