Skip to content
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

Provide extended handling of removable media #126

Open
GoogleCodeExporter opened this issue Oct 11, 2015 · 3 comments
Open

Provide extended handling of removable media #126

GoogleCodeExporter opened this issue Oct 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

This is perhaps something that would make more sense as another plugin, 
dependent on Gemstone, but thought I'd bring it up, as I think it may require a 
new dynamic menu type.

I'd like to be able to have a main menu entry for each removable media item 
currently inserted.  I would then be creating a submenu that contained a few 
custom entries.  Play Disc, Import to Library, etc.

I'm thinking it could be done actively by another process monitoring the 
sources, and sending calls to the menu system to add/remove the appropriate 
menu entries, but I thought it might end up being smoother if it used the 
already implemented dynamic menu system, like the current Gemstone Flows* menu 
item.  Certainly would be easier for the end user this way. 

I'll have to start by figuring out how to even detect this information from 
within Java, and then figure out what items to include for each particular 
media type.

Original issue reported on code.google.com by [email protected] on 2 Jan 2013 at 3:16

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by [email protected] on 2 Jan 2013 at 3:17

  • Changed state: New
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Contributor Author

If I recall, Sage has a built in detect mechanism for when new external drives 
become available... perhaps something can be tied to that.

But basically wouldn't this just be a dynamic list of drives available at the 
time the menu was opened?  Perhaps if possible, narrowed down to just removable 
drives...

The next trick would be what to do when one of these dynamic items is 
selected... are you thinking another menu level opens for the one selected with 
the "Play, Import etc" as menu items or ???  Right now if I recall all the 
dynamic lists in the menus are the last level and selecting the item just goes 
to an action not another child menu... need to think this one through.

k

Original comment by [email protected] on 2 Jan 2013 at 1:53

@GoogleCodeExporter
Copy link
Contributor Author

Yes and no.  Yes, it does detect when a new drive is added (meaning a new drive 
letter appears, like plugging in a thumb drive), but this doesn't detect when 
media is inserted into an existing drive (like an optical drive, or memory card 
slot).

And yes, that's what I was thinking, a submenu below the drive itself with the 
appropriate action items (the name of the list item should ideally come from 
the disc volume name, or detected media name if available)

Original comment by [email protected] on 2 Jan 2013 at 2:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants