Samples Gallery on Eclipse similar to Eclipse marketplace - eclipse

I want to implement a functionality in eclipse similar to eclipse market place. The main aim to show the list of samples/archives which are to be listed in the UI and the same can be imported into the Eclipse workspace.
Can some one guide me on how to do it?

Follow steps for eclipse 3.X :
Figure a way to place or choose the directory where your updatesite are
Parse it and display to your user a list of choices (as a combox in coolbar, or a button that display a list ....)
Create URI pointing to the selection
initialize a P2Agent
Load Repository
Proceed to Install (I assume it's only for installing plugin, not update)
Retrieve from install a provisioningJob and schedule() it
Check vogella tutorial but beware that UpdateOperation() applies to plugin already in installed in eclipse, and InstallOperation() is for new plugin.
OperationFactory doc from which you get the operation you need.
Additional source, specially in the end of the link

Related

Where to download MITK Workbench plugins

I'm new to MITK Workbench and I can't seem to find where to download plugins. Specifically, I'm looking for a link to download the Registration plugin so that I can align two images with the deformable image registration method. Any direction to a link would be greatly appreciated.
-KBS
Currently MITK does not allow to download Plugins for Extentions, you would have to build it from source and activate them in Cmake.
However, the Registration Plugin is included into the latest Release 2016.11 (its the MatchPoint Plugin).
As chriswe wrote, MITK doesn't work by downloading plugin. You simply need to download the MITK Workbench from their website and it will already contain all the plugins MITK created.
If you want to know how to code a new plugin, that's a totally different question! By the way, the MITK Mailing List is really active so it's a good place to ask questions.

Naming audio plug-ins using JUCE framework

I've been working on developing some audio plugins recently using the JUCE framework. I'm having an issue regarding naming the plugin. I've created separate projects for entirely different plugins. However when I load the plugin by starting Logic Pro X, I seem to only get the most recent plugin that I built, however, the plugin is always title as the very first plugin that I made. That is to say, It seems that when I make a new plugin, it takes on the name of my previous plugin and replaces it.
I've tried renaming the Plugin Code, but the AU validation tool recognizes the plugin as having the Plugin Code of the previous plugin.
Has anyone come across this problem or have any suggesting as to what might be causing it?
Additionally, I was using the WDL framework before using JUCE and had the same problem. This of course makes me think that the problem is not specific to JUCE or WDL.
Any input is appreciated, Thanks!
Open the Introjucer with one of your projects and select the "Config" tab in the left panel. Then select your project at the top of the tree view.
In the right panel, you should see 2 fields called "Plugin Manufacturer Code" and "Plugin Code".
Your other project should have the same Plugin Manufacturer code, but a different Plugin Code to uniquely identify each plugin.

Create plug-in that creates a snapshot of the source code currently opened on editor - Eclipse CDT

I need to create a plug-in for Eclipse CDT that sends a "snapshot" of the source code of the currently opened editor each time the code is "built".
I am already capable of doing it each time the user presses a custom button created by me, but it would be great if it could be done when the "standard" "build" action is performed.
Do i need no create a plug-in of the type "builder"?
I am using Eclipse 4.4.0...
Can someone help me?! (Sorry for some english mistakes... :( )
One solution would be to create your own custom "Builder". Instead of actually building the code, it would invoke the functionality you already have.
For information on how to use the eclipse build system, please have a look here: https://wiki.eclipse.org/Eclipse/FAQ/How_do_I_implement_an_Eclipse_builder%3F.
Also, this website goes into more details about building in eclipse: https://www.eclipse.org/articles/Article-Builders/builders.htm. However, I think that the first one should do.
As a side note, this works with any kind of eclipse project (JDT and CDT). The build described there is common to all flavours.
Hope it helps,
-Caius

Finding out the source files of an Eclipse (Java EE) functionality

I want to look at the sources of the "New Web Service Client (from WSDL)" functionality. I thought it was the Axis 2.0 ws Code Generator plugin, but it is not, it's another code generator and I can't figure out its name or where is it located in eclipse sources.
Any hint on where should i look for?
EDIT: using ALT+SHIFT+F1 I found out the "contributing plugin" to the wizard I'm interested in is org.eclipse.wst.command.env.ui, but i can't find the source files of this package...
There is a neat tool in Eclipse for checking where a particular piece of functionality (such as a wizard or a view) comes from. Just focus on what you want to check and press ALT+SHIFT+F1. You will get a popup with information about your selection, including which plugin contributes it.

Eclipse - New Project

I need to modify project creation in eclipse. I would like to add my own project creation. For example, when developer selectes File->New->Project, I want my option (i.e, XYZ Java Project) under to be available. Is this possible ? If yes, i am looking for some direction to begin with ?
Thanks.
To begin with you need to contribute your own Eclipse Plug in. Download Eclipse plugin developers IDE from this Location.
You can contribute a Custom Project Wizard through Extensions.
Define your Project Nature
For reference you can check this example Create a Custom Project in Eclipse – New Project Wizard: the Behavior
Hope this helps !!
Yes you can. A robust way to do this is to make an eclipse plugin so that it gets added to the menu. I was just looking into this myself a couple of days ago and this is what I found.
Here are some links:
O'Reilly
Better yet though, let me just show you an answer about this: https://stackoverflow.com/a/299316/879485
If you use Maven you can have a look at archetypes. Maven also has the ability to create Eclipse projects. With this you should have all the tools necessary to automate whatever project layout you need to have.