Update transient actions of configurations in the same way as actions of matrix project

This commit is contained in:
lvotypko committed 2012-06-25 11:48:35 +02:00
1 parent 2dd0398aa3
commit fb8376eb43
2 files changed
+16

No files matched your search

@@ -77,6 +77,13 @@ public class MatrixConfiguration extends Project<MatrixConfiguration,MatrixRun>
// directory name is not a name for us --- it's taken from the combination name
super.onLoad(parent, combination.toString());
}
@Override
protected void updateTransientActions(){
// This method is exactly the same as in {@link #AbstractProject}.
// Enabling to call this method from MatrixProject is the only reason for overriding.
super.updateTransientActions();
}
/**
* Used during loading to set the combination back.
@@ -370,6 +370,15 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
return r;
}
@Override
protected void updateTransientActions(){
super.updateTransientActions();
// update all transient actions in configurations too.
for(MatrixConfiguration configuration: getActiveConfigurations()){
configuration.updateTransientActions();
}
}
/**
* Gets the subset of {@link AxisList} that are not system axes.