mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
added description control on Build Variables page
Change-Id: Ib2f6b30bedb88e6ab2c886306171a5668ac1a415
This commit is contained in:
parent
e7ef5fb9ac
commit
f57e0c8acf
4 changed files with 15 additions and 12 deletions
|
@ -34,7 +34,7 @@ public interface IMakeCommonBuildInfo {
|
|||
IPath getBuildLocation();
|
||||
|
||||
/**
|
||||
* @deprecated - use setBuildString(BUILD_LOCATION...)
|
||||
* @deprecated - use {@link #setBuildAttribute(BUILD_LOCATION, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
void setBuildLocation(IPath location) throws CoreException;
|
||||
|
|
|
@ -77,6 +77,7 @@ public class Messages extends NLS {
|
|||
public static String CMainWizardPage_1;
|
||||
public static String CNewWizard_0;
|
||||
public static String CPropertyVarsTab_0;
|
||||
public static String CPropertyVarsTab_Description;
|
||||
public static String CWizardHandler_0;
|
||||
public static String CWizardHandler_1;
|
||||
public static String CWizardHandler_2;
|
||||
|
|
|
@ -47,6 +47,7 @@ ArtifactTab_1=Artifact name:
|
|||
ArtifactTab_2=Artifact extension:
|
||||
ArtifactTab_3=Output prefix:
|
||||
CPropertyVarsTab_0=Show system variables
|
||||
CPropertyVarsTab_Description=Build Variables are IDE only variables, which can be used for string substitution when defining external builder configuration, such as environment variable value or command line parameter in form of ${VAR}, internal builder may use them directly.
|
||||
DiscoveryTab_0=Discovery profiles scope
|
||||
DiscoveryTab_1=Per Language
|
||||
DiscoveryTab_2=Configuration-wide
|
||||
|
|
|
@ -39,6 +39,7 @@ import org.eclipse.cdt.utils.envvar.EnvVarOperationProcessor;
|
|||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.jface.dialogs.Dialog;
|
||||
import org.eclipse.jface.dialogs.MessageDialog;
|
||||
import org.eclipse.jface.layout.GridDataFactory;
|
||||
import org.eclipse.jface.preference.JFacePreferences;
|
||||
import org.eclipse.jface.resource.JFaceResources;
|
||||
import org.eclipse.jface.viewers.ColumnLayoutData;
|
||||
|
@ -356,14 +357,14 @@ public class CPropertyVarsTab extends AbstractCPropertyTab {
|
|||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
|
||||
*/
|
||||
@Override
|
||||
public void createControls(Composite parent) {
|
||||
super.createControls(parent);
|
||||
initButtons(new String[] {ADD_STR, EDIT_STR, DEL_STR});
|
||||
usercomp.setLayout(new GridLayout(2, true));
|
||||
Label desc = new Label(usercomp.getParent(), SWT.WRAP);
|
||||
desc.setText(Messages.CPropertyVarsTab_Description);
|
||||
GridDataFactory.fillDefaults().grab(true, false).span(2, 1).applyTo(desc);
|
||||
initButtons(new String[] {ADD_STR, EDIT_STR, DEL_STR});
|
||||
createTableControl();
|
||||
|
||||
// Create a "show parent levels" button
|
||||
|
|
Loading…
Add table
Reference in a new issue