Hello,
Yes, BE 2.5 is compatible with BE 2.0 code.
BE 2.0 features form a subset of BE 2.5 features.
In BE 2.5 you can put in onClick event, code like below:
[$WINDOW TYPE = COMMAND]
[$COMMENT INFO = Do not select any sample size to use compute statistics method instead of estimate statistics]
analyze #otype #object [+Sample size (%)="estimate"] [-Sample size (%)="compute"] statistics
[+Sample size (%)="sample "][Sample size (%)=*,10,20,30,40,50,60,70,80,90][+Sample size (%)=" percent"];
It is simply a PL/SQL Developer template with BE variables inside. When BE executes such code, first off all replaces substitution variables, then calls PL/SQL Developer plug-in API to execute a template. All work is done in the context of selected browser item of course.
Greetings,
Joachim Rupik