Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » problem with Group in AbstractLaunchConfigurationTab
problem with Group in AbstractLaunchConfigurationTab [message #329233] Tue, 17 June 2008 01:26
Eclipse UserFriend
hi all

I have a little prob, I try to create a launch tab

and, with some example, I have that

private void createArgsComponent(Composite parent) {
Group group = new Group(parent, GridData.FILL_BOTH);
group.setText("Arguments");
Label programLabel = new Label(group, 1);
programLabel.setFont(parent.getFont());
programLabel.setText("Args");
GridData gd = new GridData();
gd.horizontalSpan = 3;
programLabel.setLayoutData(gd);

}


the prob is that doesn't work, I have the group (with arg in name, but
nothing in the box)
so I look the code of common tab
and he use this

Group favComp = SWTFactory.createGroup(parent,
LaunchConfigurationsMessages.CommonTab_Display_in_favorites_ menu__10, 1,
1, GridData.FILL_BOTH);


but when I use that, thats work (more or less) but I have a warning in
elclipse who say it is discrouraged.

so what I have to use?

thanks

a++
Previous Topic:How to get parent item for any subitem in Package Explorer?
Next Topic:How to get Windows List view like behaviour by JFace viewers
Goto Forum:
  


Current Time: Fri Apr 25 21:53:13 EDT 2025

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

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

Back to the top