public DropDbObjectAction( String labelKey, DbObjectList client, WbSelectionModel list, Reloadable r) { super(); this.initMenuDefinition(labelKey); this.source = client; this.data = r; selection = list; selectionChanged(list); selection.addSelectionListener(this); }
private CreateDummySqlAction( String key, DbObjectList client, WbSelectionModel list, String type) { super(); isConfigurable = false; initMenuDefinition(key); source = client; scriptType = type; selection = list; checkEnabled(); selection.addSelectionListener(this); }