-
Notifications
You must be signed in to change notification settings - Fork 7
Code tab for other models #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This feels like one of the big ones. I don't know how much time @qiemem spent on looking into it already but maybe @mrerrormessage can take this one? up to you of course, but if you haven't looked into it yet..? |
|
Is this needed for IDC? This seems like a potentially huge project, so if it's needed it should be started right away. |
|
If this is at all possible, then YES! :) This would be a massive improvement to LS modeling in general, and it wold On Mon, May 11, 2015, 8:31 AM Robert Grider notifications@github.com
|
|
Was thinking about this issue this morning when @cbradyatinquire and I talked about LevelSpace. I was wondering if there is any way to force the changes to a model into already-opened models, like we do when we recompile models that already have an existing state. Does this question/request make sense? |
|
I think the question makes sense. I don't know enough about LevelSpace and loading to know for sure whether that's possible, and how much effort it would be if it is possible. Why don't you create a separate issue and mention this one in there. Once this one is complete, we can revisit that issue and give a full answer on it. |
|
Good call - will do! |
|
I think we can keep this one open, as saving to the included models seems like a step in the process. |
|
Didn't mean to close it. Sorry about that! |
|
Will be adding menu items under "Tabs" Each adds a tab with the filename, just like an include nls would. |
|
When we merge this we need to take out TPL reporting. But don't do it in this branch - LevelSpaceXWGUI depends on it. |
d2a7fb5 to
8300bfd
Compare
- Converts GUIPanel, GUIChildModel to scala - Adds ZoomableInterfaceComponent and friends - Adds a ZoomMenu to the menu bar for LevelSpace frames
…e by avoiding anonymous classes
1bf71e8 to
db71b12
Compare
db71b12 to
96ad493
Compare
src/main/ChildModel.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like this is used anywhere. Left over from debugging?
src/main/GUIChildModel.scala
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can make this an object instead, right? There's no need to instantiate a new one for every invocation.
|
Comments addressed. Thanks for reviewing! |
6a927fc to
056ccf6
Compare
056ccf6 to
1a49e12
Compare
|
These changes look good, I just had one comment. We're still opening and closing headless models as needed, which is inefficient in the case of reloading (I was incorrect in thinking that the code didn't actually swap models out earlier). |
Are you sure about that? I see a way for headless models to be swapped in, but no way for them to be swapped out again. Anyway, I didn't make the change as I was uncomfortable with making such an extensive architectural change the day before demo. |
|
I am not aware of the existence of any support in HeadlessWorkspace for loading a new model. |
We need to 'hijack' the include function to allow opening, writing, and saving several models at the same time. Probably with a
ls:include <file-path-name>or something like that. It's going to be a bit awkward, so if we can find another way of doing this, that would be neat.