AS

Hi,

How is it possible to catch events inside dialogs (double clicks, press button ...)?

Thanks.

by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Mon, 02/29/2016 - 08:02

Hi,

I only know how to get the button pressed:

 

iDialogTemplate1.PushButton(30, 442, 90, 20, "Standard", "buttonStandard");

 

    this.buttonStandard_pressed = function(){

        

        return true;

    }

 

0
by Albina Schupak Author
Posted on Mon, 02/29/2016 - 08:15

In reply to by rgoldenbaum

Thank you very much for your replay. I'm asking about Java Swing dialogs in Aris, not an Aris Dialogs.

0
by Ilya Seletkov
Posted on Mon, 02/29/2016 - 08:39

Hello!

May be I have not tested all possibilities, but I haven't found a way to do this task using ARIS script only.

For some reason inheritance from java class to java script object is not working correctly.

So finally I decide to write custom dialogs in java (Eclipse), and then call them from aris script.

Hope, this helps.

0
by Albina Schupak Author
Posted on Mon, 02/29/2016 - 09:37

In reply to by iseletkov

It's weird. I can build dialog in Aris macro, but I could not caught events you mean? The Eclipse is possibility, but much complicated though. I need to create jar and so on. 

0
by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Mon, 02/29/2016 - 09:26

Hi,

do you have an example here for us ?

BR Robert

0
by Michael Idengren
Posted on Mon, 06/13/2016 - 20:57

Hi, also interested in custom dialogs using Java, and calling them from an ARIS script.  Mostly, I just need to be able display a pop-up window with a graphic progress bar (series of PNG's switched out, or even some better animation, ie animated SVG) that can be controlled from a loop within the ARIS report at run-time.

0
by Ariene Kroeze
Posted on Tue, 06/14/2016 - 09:13

Is Context.writeStatus ( String sText,int percentFinished  ) not good enough for you?

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock