Closed markiewb closed 8 years ago
Hi markiewb. Your code works fine, but there is a problem: the action is enabled with the cookie DataObject. At the moment i believe you can enable disable the action choosing one of:
-) Project -) Open cookie -) EditCookie -) EditorCookie -) DataObject
So the action in that case would be disabled. One thing i have done though is the following: you can open favourite root folders by using the "open terminal (or filesystem) in" ... action. I know there are a few more clicks but I think it could work, Here is a screenshot of what i have done, tell me what you think. Or if you know how to write a custom action enabler....
Or if you know how to write a custom action enabler....
Alternative a) Use a CookieAction
Alternative b) Extend from AbstractAction
I know this will be some refactoring within your code, but afterwards it is more flexible then. I hope that will help you.
Do you need any support?
Hi markieweb, thank you! Well, if you want, i cannot find not even 5 minutes to work on it. Hopefully next week i will not be so busy.
@kinkadzs : Any news here?
@kinkadzs : How about merging my pull request? Did you managed to review the patch? A new version for the plugin center would be very nice.
@markiewb i did review it but still for 7.3 friday 25 october will be done for 7.4 and will publish the plugin! :-)
@kinkadzs Thank you!
working on it now....
@markiewb hi, i have just uploaded the 7.4 version, I merged your pull request but the root of favorites nodes still have the actions disabled... do you mind having a quick look at it? Now i should be able to work on this plugin a bit more btw.... And thanks, I mentioned you on netbeans center.
@kinkadzs I will have a look within the next days. IIRC my patched worked times ago. I will figure it out and provide a new pull request if neccessary
@markiewb That's great! Thanks
@kinkadzs : Please review https://github.com/kinkadzs/QuickOpener-NetBeans/issues/30#ref-commit-44f55d2 The actions now work for favorite root nodes too, but I now the toolbar icons are gone. Can you figure that out?
cool, will check that on the weekend.
Fixed in 1.1.0
It was easier than I originally thought
Currently it is not possible to open a console for the selected root-node in the favorites window. The action is not enabled.
EXPECTED: Support datashadow Taken from my own plugin: