Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Commit

Permalink
Really fix bug 857595
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian committed Sep 27, 2011
1 parent 6e92b9d commit 01d2e38
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void setValue(AttributeValue value) {
if (attributeTable.getColumn(column.getIndex()) != column) {
column = attributeTable.getColumn(column);
if (column == null) {
throw new IllegalArgumentException("The value column doesn't exist");
throw new IllegalArgumentException("The "+attributeTable.getName()+" value column "+value.getColumn().getId()+" with index "+value.getColumn().getIndex()+" doesn't exist");
}
value = attributeTable.getFactory().newValue(column, value.getValue());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void readRow(XMLStreamReader reader, AbstractAttributeModel model, Attrib
AttributeType type = col.getType();
Object v = type.parse(value);
v = model.getManagedValue(v, type);
row.setValue(col, value);
row.setValue(col, v);
}
value = "";
col = null;
Expand Down
4 changes: 2 additions & 2 deletions DesktopProject/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=2d04b18c
build.xml.data.CRC32=4f2cd888
build.xml.script.CRC32=6d746a4b
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=2d04b18c
nbproject/build-impl.xml.data.CRC32=4f2cd888
nbproject/build-impl.xml.script.CRC32=a2d36245
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
8 changes: 0 additions & 8 deletions DesktopProject/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
<code-name-base>org.gephi.desktop.project</code-name-base>
<suite-component/>
<module-dependencies>
<dependency>
<code-name-base>org.gephi.data.attributes.api</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>0.8.0.2</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.gephi.desktop.mrufiles.api</code-name-base>
<build-prerequisite/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ License, or (at your option) any later version.
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import org.gephi.data.attributes.api.AttributeController;
import org.gephi.desktop.importer.api.ImportControllerUI;
import org.gephi.desktop.mrufiles.api.MostRecentFiles;
import org.gephi.desktop.project.api.ProjectControllerUI;
import org.gephi.io.importer.api.FileType;
import org.gephi.io.importer.api.ImportController;
import org.gephi.project.api.Project;
import org.gephi.project.api.ProjectController;
import org.gephi.project.api.ProjectInformation;
Expand Down Expand Up @@ -83,9 +83,6 @@ public class ProjectControllerUIImpl implements ProjectControllerUI {
public ProjectControllerUIImpl() {

controller = Lookup.getDefault().lookup(ProjectController.class);

//Make sure the attribute controller is inited
AttributeController attributeController = Lookup.getDefault().lookup(AttributeController.class);

//Project IO executor
longTaskExecutor = new LongTaskExecutor(true, "Project IO");
Expand Down

0 comments on commit 01d2e38

Please sign in to comment.