Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Some doubts
Some doubts [message #4445] Wed, 07 March 2007 17:08 Go to next message
Eclipse UserFriend
Originally posted by: mhoram.clandlan.net

This is a multi-part message in MIME format.
--------------020201080604000301060606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi, i
Re: Some doubts [message #4591 is a reply to message #4445] Thu, 08 March 2007 07:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi Raul,

thanks for testing out RAP.
1) you simply have to create a plugin project without enabling RCP.
2) here is a code snippet that will work correctly and solve your problems:

public Display createUI() {
Display display = PlatformUI.createDisplay();
Shell ventana = new Shell( display, RWT.SHELL_TRIM );
ventana.setText( "Ventanilla de prueba cachonda y marchosa" );
ventana.setLayout( new FillLayout( RWT.VERTICAL ) );

TabFolder folder = new TabFolder( ventana, RWT.TOP );
TabItem ventana1 = new TabItem( folder, RWT.NONE );
Composite compositeTab1 = new Composite( folder, RWT.BORDER );
ventana1.setControl( compositeTab1 );
ventana1.setText( "Ventana de saludo" );
compositeTab1.setLayout( new GridLayout( 1, false ) );

Label saludo = new Label( compositeTab1, RWT.WRAP );
saludo.setText( "Bienvenido a esta peque
Re: Some doubts [message #4728 is a reply to message #4591] Thu, 08 March 2007 08:32 Go to previous message
Eclipse UserFriend
Thank you very much Frank, i understand now.

RAP is impressive, i´m having a lot of fun testing it so if anyone have
to say "thanks" is me ;)

Thanks!
Previous Topic:M2 released
Next Topic:Use RAP widgets as WST
Goto Forum:
  


Current Time: Thu May 08 22:59:50 EDT 2025

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

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

Back to the top