public GotoController(final BrowserController parent, final Cache<Path> cache) { this.parent = parent; this.cache = cache; folderCombobox = NSComboBox.textfieldWithFrame(new NSRect(0, 26)); folderCombobox.setCompletes(true); folderCombobox.setUsesDataSource(true); folderComboboxModel = new FolderComboboxModel(parent.workdir()); folderCombobox.setDataSource(folderComboboxModel.id()); folderCombobox.setStringValue(parent.workdir().getAbsolute()); }
item.setPaletteLabel(quickconnect.label()); item.setToolTip(quickconnect.tooltip()); final NSComboBox button = NSComboBox.textfieldWithFrame(new NSRect(170, 26)); button.setTarget(controller.id()); button.setAction(quickconnect.action());