Book a Demo

Author Topic: GUI model - include window API classes into model  (Read 2534 times)

woodz

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
GUI model - include window API classes into model
« on: April 04, 2012, 04:37:58 am »
Dear Guys,

I wonder how to include a simple dialog class into my class model? Currently I believe I am having a so called PMI (platform independent model), later I will target to Java but that shouldn't matter.
I'd like to point to a simple file open dialog and model some basics like
- modality
- visible buttons
- icon type
- setting default path
- calling OpenFile method
- return result

Now if I would decide to use the FileDialog class of AWT tool kit, how to reference to that class? Does EA support something like pointing to a path where it can find such a class library (e.g. traverse *.jar files)?
Maybe later I'd like to reference components like trees and tables of Swing tool kit or any arbitrary GUI class to include them into my model.
Please don't tell me I have to build such classes by my own.

Thanks for helping

cheers
woodz
« Last Edit: April 04, 2012, 05:54:43 am by woodz »