question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown/Combobox for loader options dialog

See original GitHub issue

Is your feature request related to a problem? Please describe. Im writing a loader for C64 programs. Those come in form of disk images that contain multiple programs, I would like to have a way to give an option that contains a list of strings, from which the user can choose. for now I solved it by creating a checkbox for every program, but the user could select multiple and make it unusable (im checking for it now to prevent it)

image

Describe the solution you’d like

List<Option> list = new ArrayList<Option>();
List<String> filenames = ...;
list.add(new Option("Program to load", filenames));

and when testing the value int selIndex = (int)(option.getValue)

Describe alternatives you’ve considered

Additional context

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
dev747368commented, Oct 18, 2019

It is an interface with many implementations in Ghidra. You can see it in action by using the “File System Browser” (File -> Open File System, and pick a supported container file, like zip files or apple firmware images or ext3 linux images, etc). If you implement a C64 disk image filesystem, users will be able to browse the disk images, and select a program and import it from the filesystem browser interface.

1reaction
dev747368commented, Oct 18, 2019

Have you considered implementing a GFileSystem to handle the disk image?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dropdown Menu (Combo Box) Guidelines - Balsamiq
A Dropdown menu (or Combo Box, Pull Down menu, Picker) gives you a list of items to select from. It's a common element...
Read more >
LDC #88: Dialog Boxes Part IV — Combo Boxes
A combo box is a great tool to allow users to select options. Combo boxes, as the name implies, combine the functionality of...
Read more >
ComboBox.DropDown Event (System.Windows.Forms)
Enables the user to select a single option from a group of choices when paired with other RadioButton controls. ComboBox.SelectedIndexChanged Event (System.
Read more >
Loading items in a dialog edit_text popUpEdit drop down list
this is an edit_text element of the dialog object that has its popUpEdit property marked, true. It seems to me like this should...
Read more >
How to change a ComboBox to display items in a Loader?
I would like to have a ComboBox that handles large amounts of content by loading them asynchronously inside a Loader, so I can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found