use of blue.project.ProjectPluginEditor in project blue by kunstmusik.
the class ProjectPropertiesTopComponent method reinitialize.
public void reinitialize() {
BlueProject project = BlueProjectManager.getInstance().getCurrentProject();
ProjectProperties projectProperties = null;
BlueData data = null;
if (project != null) {
data = project.getData();
if (data != null) {
projectProperties = data.getProjectProperties();
}
}
for (ProjectPluginEditor editor : pluginEditors.values()) {
editor.edit(data);
}
this.projectInformationPanel1.setProjectProperties(projectProperties);
this.realtimeRenderSettingsPanel1.setProjectProperties(projectProperties);
this.diskRenderSettingsPanel1.setProjectProperties(projectProperties);
}
use of blue.project.ProjectPluginEditor in project blue by kunstmusik.
the class ProjectPropertiesTopComponent method setupProjectPluginEditors.
private void setupProjectPluginEditors() {
List<LazyPlugin<ProjectPluginEditor>> plugins = LazyPluginFactory.loadPlugins("blue/project/plugins/editors", ProjectPluginEditor.class);
for (LazyPlugin<ProjectPluginEditor> plugin : plugins) {
ProjectPluginEditor editor = plugin.getInstance();
String displayname = plugin.getDisplayName();
tabs.add(displayname, editor);
pluginEditors.put(displayname, editor);
}
}
Aggregations