File targeted by InstructionView is now accessible
authorFabian Stemmler <stemmler@in.tum.de>
Sat, 5 Oct 2019 20:26:32 +0000 (22:26 +0200)
committerFabian Stemmler <stemmler@in.tum.de>
Sat, 5 Oct 2019 21:53:19 +0000 (23:53 +0200)
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/InstructionView.java

index 12f3139..801082d 100644 (file)
@@ -241,4 +241,9 @@ public class InstructionView extends EditorPart
                memory.deregisterCellModifiedListener(cellModifiedListener);
                super.dispose();
        }
+
+       public IFile getFile()
+       {
+               return file;
+       }
 }