Solved

Eclipse plugin with extensions

Posted on 2004-03-29
5
252 Views
Last Modified: 2013-11-18
I'm programming a plugin and i want this plugin to be able
to use other plugins, like a plugin in a plugin. How do they
have to look like which classes can i use?
0
Comment
Question by:stdio
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:mmuruganandam
ID: 10702519
This code snippet is taken from eclipse GEF plugin.


   <requires>
      <import plugin="org.eclipse.draw2d" export="true" version="2.1.1"/>
      <import plugin="org.eclipse.core.runtime" export="true"/>
      <import plugin="org.eclipse.core.resources" export="true"/>
      <import plugin="org.eclipse.ui" export="true"/>
   </requires>


within this requires tag you have place all your required (refered) plugin-ids.  export="true" suggests that
those libraries are used in the runtime.


Regards,
Muruga
0
 

Author Comment

by:stdio
ID: 10702585
Hmm i haven't tried yet, here is briefly what i wanna do:

I got a plugin which extends a view, i wanna print out the
time and the date

i wanna the user 2 be able 2 chose if he wants only 2 display
the time or the date does this work with your solution above?

i'll handle which extensions R activated or not in a preference page
i think that is possible and over this page i will modify the plugin.xml

once again is this possible with your given solution?
0
 
LVL 9

Accepted Solution

by:
mmuruganandam earned 250 total points
ID: 10702599
The given solution is for using of other plugins for your plugin.

Just try out.  Since I have done an IDE using eclipse for our server product, I am sure, it will work if you need to use the other plugins in your plugin.


Regards,
Muruga
0
 

Author Comment

by:stdio
ID: 10889081
I have no time right now to evalute on this problem but i will in a few
weeks is this a crime to hav no time =D
but the problem still persists
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question