Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Getting a browse button in the properties window(One of my attributes is a filename, how can I put a browse button in the properties window)
Getting a browse button in the properties window [message #498846] Wed, 18 November 2009 19:14 Go to next message
peter staelens is currently offline peter staelensFriend
Messages: 17
Registered: October 2009
Junior Member
Hi,

I have a class with as attribute a filename, in fact it can as well be a file. I need a browse button in the properties window a bit like enumerations are handled, how do I do this?

Peter
Re: Getting a browse button in the properties window [message #498863 is a reply to message #498846] Wed, 18 November 2009 20:40 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I done such things in JASMINe Design, but it was a time ago... So I don't remember it perfectly, I won't be able to explain it correctly
and I included it in customized template so it will perhaps be not very understandable.

The code is here :
http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/jasmine/j asmine-design/trunk/Util/org.ow2.jasmine.design.gmf.codegen/ templates/xpt/propsheet/

In fact you need to customize the PropertySource, the PropertySection and the PropertyDescriptor. You can surely find better documentation knowing that.

Regards,

Aurelien Pupier



Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Error when adding a link mapping
Next Topic:Disabling Connection Anchors of custom figures
Goto Forum:
  


Current Time: Tue May 07 16:24:37 GMT 2024

Powered by FUDForum. Page generated in 0.02452 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top