I am designing an editor. On my UI, there is an icon for importing a file. When user opens the editor and clicks on “Import” icon, that file is opened in editor. Now I want that if user clicks “Import” icon second time, and opens a file, that file must be appended to already opened file. On my UI, currently I’m using single “Import” icon to do this. But I have three options:
- If user clicks “Import” icon when a file is already opened, a warning message appears asking user to Import a new file and replace existing one or to append the file to existing one.
- Icon for “Import” changes to “Append” icon when at least there is one file already opened.
- There can be two separate icons for “Import” and “Append”. When user wants to import a new file and replace existing one, he can click “Import”. And when he wants to append a file to existing one, he can click “Append” icon.
Which option out of these looks better in UI reference? Do let me know if there can be better options for this.