problem with Group in AbstractLaunchConfigurationTab [message #329233] |
Tue, 17 June 2008 01:26 |
Eclipse User |
|
|
|
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++
|
|
|
Powered by
FUDForum. Page generated in 0.02417 seconds