How to open a custom swing dialog when a custom file in project view double clicked?
Answered
Hi,
I made a custom file type.
Now, Double click on the file in project view, There shows a default file editor.
How to display a swing dialog that designed by myself instend of default editor?
Can anyone give some guidance?
Thanks.
Please sign in to leave a comment.
plugin.xml:
GCIFileType.java:
GCILanguage.java
GCIEditorProvider.java:
GCIEditorImpl.java:
GCIBaseDialog.java is created by ideallij, right click on projectview, new -> swing ui designer ->GUI form: