-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
[feature proposal] Find/Replace on Element Names #48
Comments
I have created some initial code (which does nothing other than show a non-working dialog box). This is temporary code that might get messy. I have fixed up the main menu item for "Find/Replace" so it is enabled when the Model Tree and the Diagram Views have focus. When the menu item is selected a non-modal dialog box will appear. This is a global Find/Replace dialog box that will (eventually) update depending on the current context and selection. This is not going to be a quick or easy job. The Find/Replace actions will depend on a "context provider". The "context provider" will be reponsible for the actual Find and Replace actions. This is a big job, so I'm taking it a bit at a time. |
Hey! Thats nice: I suggest a feature, create a dorky pull request, and you step in to do it right ;-) More projects should work like that! ;-) No, seriously, I am very happy you do this; adding the functionality "in the right way" is out of my league, both in terms of knowledge/experience regarding Eclipse RCF, gui programming in general, and Archis codebase. I created the patch from #64 mostly to solve my own problem, secondarely to try and get some feedback on the feature suggestion. Mission solved! :-) Let me know if I can help out, perhaps test some code, or something. Meanwhile, I am going to address another feature request ( #60 ) - perhaps this will work out just as well! :-) If y |
Implemented and commited to master branch. Will be in Archi 3.0 |
Closing this because I've implemented in Archi 3.0 |
I would like to suggest that Archi was made to support search and replace on element names, in the model tree or in the current view or in the current selection.
Usecase: If I make a seperate model to hold "patterns", I can copy and paste elements and connection from this into my "real" model. If I then select the freshly pasted elements, and make a "search and replace", I can quickly create e.g. hosts, applications, etc, from a set of patterns.
Currently I can do the same, but I have to manually search and replace in all the names to correct the name (and remove the "(copy)" that is automatically added.
Of course, if there is an easier way to support this usecase, feel free to let me know :-)
The text was updated successfully, but these errors were encountered: