mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
Added notification
This commit is contained in:
parent
5e931a8a52
commit
6a393ba1c6
2 changed files with 12 additions and 0 deletions
|
@ -28,11 +28,13 @@ import org.eclipse.swt.SWT;
|
|||
import org.eclipse.swt.events.SelectionAdapter;
|
||||
import org.eclipse.swt.events.SelectionEvent;
|
||||
import org.eclipse.swt.graphics.Image;
|
||||
import org.eclipse.swt.layout.FillLayout;
|
||||
import org.eclipse.swt.layout.GridData;
|
||||
import org.eclipse.swt.layout.GridLayout;
|
||||
import org.eclipse.swt.widgets.Button;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Control;
|
||||
import org.eclipse.swt.widgets.Group;
|
||||
import org.eclipse.swt.widgets.Label;
|
||||
import org.eclipse.swt.widgets.Table;
|
||||
import org.eclipse.swt.widgets.TableItem;
|
||||
|
@ -44,6 +46,7 @@ public class CConfigWizardPage extends MBSCustomPage {
|
|||
private static final Image IMG = ManagedBuilderUIImages.get(ManagedBuilderUIImages.IMG_BUILD_CONFIG);
|
||||
private static final String TITLE = IDEWorkbenchMessages.getString("CConfigWizardPage.0"); //$NON-NLS-1$
|
||||
private static final String MESSAGE = IDEWorkbenchMessages.getString("CConfigWizardPage.1"); //$NON-NLS-1$
|
||||
private static final String COMMENT = IDEWorkbenchMessages.getString("CConfigWizardPage.12"); //$NON-NLS-1$
|
||||
private static final String DELIMITER = "_with_"; //$NON-NLS-1$
|
||||
private static final String EMPTY_STR = ""; //$NON-NLS-1$
|
||||
|
||||
|
@ -161,6 +164,14 @@ public class CConfigWizardPage extends MBSCustomPage {
|
|||
public void widgetSelected(SelectionEvent e) {
|
||||
handler.setShowProperties(((Button)e.widget).getSelection());
|
||||
}});
|
||||
|
||||
Group gr = new Group(parent, SWT.NONE);
|
||||
gd = new GridData(GridData.FILL_HORIZONTAL);
|
||||
gd.horizontalSpan = 3;
|
||||
gr.setLayoutData(gd);
|
||||
gr.setLayout(new FillLayout());
|
||||
Label lb = new Label(gr, SWT.NONE);
|
||||
lb.setText(COMMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,6 +11,7 @@ CConfigWizardPage.8=Deselect all
|
|||
CConfigWizardPage.9=Edit properties after project creation
|
||||
CConfigWizardPage.10=At least one configuration should be available. Project cannot be created.
|
||||
CConfigWizardPage.11=At least one configuration should be selected. Please check needed configurations.
|
||||
CConfigWizardPage.12=Additional configurations can be added after project creation.\nUse "Manage configurations" buttons either on toolbar or on property pages.
|
||||
CMainWizardPage.0=Project types:
|
||||
CMainWizardPage.1=Show project types and toolchains only if they are supported on the platform
|
||||
CMainWizardPage.2=Edit properties after project creation
|
||||
|
|
Loading…
Add table
Reference in a new issue