Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and Nebula
RAP and Nebula [message #741330] Wed, 19 October 2011 12:30 Go to next message
Angelo is currently offline AngeloFriend
Messages: 27
Registered: July 2009
Junior Member
Hi,

I would like know if somebody has already used http://eclipse.org/nebula/ in a RAP Application. I would like use http://eclipse.org/nebula/widgets/datechooser/datechooser.php from Nebula to manage date field.

For the moment, I have implemented http://code.google.com/p/xdocreport/source/browse/?repo=eclipse#git%2Fcommons%2Ffr.opensagres.eclipse.forms%2Fsrc%2Ffr%2Fopensagres%2Feclipse%2Fforms%2Fwidgets which is a Composite with Text + Button which opens a dialog which display a SWT DateTime, but I find that http://eclipse.org/nebula/widgets/datechooser/datechooser.php is more powerful.

I have not tested Nebula with RAP but I have seen the Nebula code http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.nebula/org.eclipse.nebula.widgets.datechooser/src/org/eclipse/nebula/widgets/datechooser/DateChooserCombo.java?view=markup&root=Technology_Project and there is :

static {
buttonImage = new Image(Display.getCurrent(),
DateChooserCombo.class.getResourceAsStream(IMAGE));
}

If I have understand, this code cannot work with RAP because Display belongs to a session, and buttonImage is static value. What do you think about that?

Thank a lot for your help.

Regards Angelo
Re: RAP and Nebula [message #741629 is a reply to message #741330] Wed, 19 October 2011 18:29 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Angelo,

that's right. You would have to change the code to create a new image on
creation and destroy it on destruction of the widget. Apart from that,
it should be simple to find out whether the code compiles with RAP.

Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP and Nebula [message #742375 is a reply to message #741629] Thu, 20 October 2011 12:47 Go to previous message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Ralf,

Thank a lot for your answer. I will try to contact Nebula project to see if they are interested to support RAP too.

Regards Angelo
Previous Topic:RAP and Nebula
Next Topic:Javascript error
Goto Forum:
  


Current Time: Wed Apr 24 14:10:29 GMT 2024

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

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

Back to the top