mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
[272416] - fixed API problem with setter
This commit is contained in:
parent
13726315f4
commit
3178dfdffc
2 changed files with 13 additions and 9 deletions
|
@ -66,14 +66,6 @@ public interface IWorkingSetProjectConfiguration extends IWorkingSetConfiguratio
|
||||||
*/
|
*/
|
||||||
String getSelectedConfigurationID();
|
String getSelectedConfigurationID();
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the ID of the build configuration that is currently selected for my project.
|
|
||||||
*
|
|
||||||
* @param id
|
|
||||||
* my selected build configuration ID
|
|
||||||
*/
|
|
||||||
void setSelectedConfigurationID(String id);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* Resolves my selected configuration reference to the C model's description handle for it.
|
* Resolves my selected configuration reference to the C model's description handle for it.
|
||||||
|
@ -166,5 +158,13 @@ public interface IWorkingSetProjectConfiguration extends IWorkingSetConfiguratio
|
||||||
*/
|
*/
|
||||||
interface ISnapshot extends IWorkingSetProjectConfiguration, IWorkingSetConfigurationElement.ISnapshot {
|
interface ISnapshot extends IWorkingSetProjectConfiguration, IWorkingSetConfigurationElement.ISnapshot {
|
||||||
IWorkingSetConfiguration.ISnapshot getWorkingSetConfiguration();
|
IWorkingSetConfiguration.ISnapshot getWorkingSetConfiguration();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the ID of the build configuration that is currently selected for my project.
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* my selected build configuration ID
|
||||||
|
*/
|
||||||
|
void setSelectedConfigurationID(String id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ public class WorkingSetProjectConfiguration implements IWorkingSetProjectConfigu
|
||||||
return selectedConfiguration;
|
return selectedConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSelectedConfigurationID(String id) {
|
protected void setSelectedConfigurationID(String id) {
|
||||||
this.selectedConfiguration = id;
|
this.selectedConfiguration = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -265,6 +265,10 @@ public class WorkingSetProjectConfiguration implements IWorkingSetProjectConfigu
|
||||||
return resolveProject().getName();
|
return resolveProject().getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setSelectedConfigurationID(String id) {
|
||||||
|
super.setSelectedConfigurationID(id);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isActive() {
|
public boolean isActive() {
|
||||||
return workspace.isActive(this);
|
return workspace.isActive(this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue