Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Eclipse plugin with extensions

Posted on 2004-03-29
5
Medium Priority
?
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

618 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