~fredericp/zaluum/rt

« back to all changes in this revision

Viewing changes to org.zaluum.ide.editor/src/org/zaluum/ide/editor/cmodel/textview/CModelEditor.java

  • Committer: Frederic Perez Ordeig
  • Date: 2010-04-07 07:55:38 UTC
  • mfrom: (308.1.63 wip-scala)
  • Revision ID: frederic@zaluum.com-20100407075538-muaneuoz134fqu5o
merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                try {
117
117
                        i = new ObjectInputStream(file.getContents());
118
118
                        cmodel = (CModel) i.readObject();
119
 
                        setPartName(cmodel.getName());
 
119
                        setPartName(file.getName());
120
120
                } catch (Exception e) {
121
121
                        Activator.logError(e.getMessage(), e);
122
122
                        IStatus s = new Status(Status.ERROR, org.zaluum.ide.util.Activator.PLUGIN_ID,