I've read the documentation about JDT Support and also took a look at the samples. But unfortunately I couldn't find anything for selecting a Java Package. Also the browsing support does not cover JDT packages.
In our use case we want to select a existing java package or create a new. Is there anything I missed in the out-of-the-box features?
I was looking for something like the Java Package selection when creating a new Java artifact using JDT.
I already have a non-sapphire wizard, where I've integrated this kind of dialog. I could image to also use this dialog via a Custom Form Component. I could not found documentation/sample for creating a Custom Form Component. What would be the steps to integrate such a custom dialog.
There is currently no browse support for Java packages. Please open an enhancement request.
You do not need to make a custom form component to provide custom browsing, all you need to do is to implement a browse action handler. Then attach it either locally to specific property editor instances in sdef or globally via Sapphire extension system by providing an activation condition. See JavaTypeBrowseActionHandler in org.eclipse.sapphire.java.jdt.ui bundle as one example. If you wish to contribute a patch for this enhancement, it would be most welcome. We can help you get started with patch development and contribution process.
I already got the git projects imported, so the basic setup for development is fine.
- You might need to tell me where to find code formatter template (in case you use one)
- Sapphire does not use eclipse's gerrit. where are you pushing to?