mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +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();
|
||||
|
||||
/**
|
||||
* 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>
|
||||
* 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 {
|
||||
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;
|
||||
}
|
||||
|
||||
public void setSelectedConfigurationID(String id) {
|
||||
protected void setSelectedConfigurationID(String id) {
|
||||
this.selectedConfiguration = id;
|
||||
}
|
||||
|
||||
|
@ -265,6 +265,10 @@ public class WorkingSetProjectConfiguration implements IWorkingSetProjectConfigu
|
|||
return resolveProject().getName();
|
||||
}
|
||||
|
||||
public void setSelectedConfigurationID(String id) {
|
||||
super.setSelectedConfigurationID(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
return workspace.isActive(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue