Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Plugin Deleopment
Plugin Deleopment [message #279644] Thu, 20 January 2005 23:41 Go to next message
Eclipse UserFriend
Originally posted by: aprakash.visolve.com

Hello All,

I had a problem while developing view plugin. Program is, just display an
message in an view. I created an plugin.xml and jar file for the plugin. I
placed these files in the plugin folder. What when i open the eclipse
eclipse next time, the view is not there and there is an error log message.

Java Program:

package HelloWorld;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.ui.part.ViewPart;
public class HelloWorldView extends ViewPart {
Label label;
public HelloWorldView() {
super();
}
public void createPartControl(Composite parent) {
label = new Label(parent,SWT.WRAP);
label.setText("Hello World");
}
public void setFocus() {
}
}

plugin.xml:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="HelloWorld"
name="HelloWorld Plug-in"
version="1.0.0"
provider-name=""
class="HelloWorld.HelloWorldView">

<runtime>
<library name="HelloWorld.jar">
<export name="*"/>
</library>
</runtime>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
</requires>

<extension
point="org.eclipse.ui.views">
<catagory
id="org.eclipse.examples.helloworld.hello"
name="Hello"/>
<view
id="org.eclipse.examples.helloworld.helloworldview"
name="Hello Greetings"
catagory="org.eclipse.examples.helloworld.hello"
class="org.eclipse.examples.helloworld.HelloWorldView"/>
</extension>

</plugin>

Error Message:
Problems encountered while PDE was scanning the Target platform
Missing required plugin org.eclipse.perfmsr.core_0.0.0


Thanks in Advance,
Prakash.A
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Re: Plugin Deleopment [message #279688 is a reply to message #279644] Fri, 21 January 2005 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

The error is unrelated to your view. You have to open the view by hand.
See Window > Show view > Other...

--
Chris Laffra, http://eclipsefaq.org


"Prakash" <aprakash@visolve.com> wrote in message
news:opskxrbenqo9gg4b@pra-co...
>
> Hello All,
>
> I had a problem while developing view plugin. Program is, just display an
> message in an view. I created an plugin.xml and jar file for the plugin. I
> placed these files in the plugin folder. What when i open the eclipse
> eclipse next time, the view is not there and there is an error log
message.
>
> Java Program:
>
> package HelloWorld;
> import org.eclipse.swt.widgets.*;
> import org.eclipse.swt.widgets.Label;
> import org.eclipse.swt.SWT;
> import org.eclipse.ui.part.ViewPart;
> public class HelloWorldView extends ViewPart {
> Label label;
> public HelloWorldView() {
> super();
> }
> public void createPartControl(Composite parent) {
> label = new Label(parent,SWT.WRAP);
> label.setText("Hello World");
> }
> public void setFocus() {
> }
> }
>
> plugin.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin
> id="HelloWorld"
> name="HelloWorld Plug-in"
> version="1.0.0"
> provider-name=""
> class="HelloWorld.HelloWorldView">
>
> <runtime>
> <library name="HelloWorld.jar">
> <export name="*"/>
> </library>
> </runtime>
>
> <requires>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.eclipse.core.runtime"/>
> </requires>
>
> <extension
> point="org.eclipse.ui.views">
> <catagory
> id="org.eclipse.examples.helloworld.hello"
> name="Hello"/>
> <view
> id="org.eclipse.examples.helloworld.helloworldview"
> name="Hello Greetings"
> catagory="org.eclipse.examples.helloworld.hello"
> class="org.eclipse.examples.helloworld.HelloWorldView"/>
> </extension>
>
> </plugin>
>
> Error Message:
> Problems encountered while PDE was scanning the Target platform
> Missing required plugin org.eclipse.perfmsr.core_0.0.0
>
>
> Thanks in Advance,
> Prakash.A
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Re: Plugin Deleopment [message #279747 is a reply to message #279688] Mon, 24 January 2005 02:03 Go to previous message
Eclipse UserFriend
Originally posted by: aprakash.visolve.com

Hello,
Thank you for your reply. But the problem is, there is no new view
present in
Window > Show view > other. I think there is some problem in the program
and pde plugin.
i downloaded the PDE from
( http://download.eclipse.org/downloads/drops/R-3.0-2004062512 08/eclipse-PDE-3.0.zip).
Once Again i remind you the error i got:

Error Message:
Problems encountered while PDE was scanning the Target platform
Missing required plugin org.eclipse.perfmsr.core_0.0.0

On Fri, 21 Jan 2005 10:51:51 -0500, Chris Laffra <Chris_Laffra@ca.ibm.com>
wrote:

> The error is unrelated to your view. You have to open the view by hand.
> See Window > Show view > Other...
>

"Prakash" <aprakash@visolve.com> wrote in message
news:opskxrbenqo9gg4b@pra-co...
>
> Hello All,
>
> I had a problem while developing view plugin. Program is, just display an
> message in an view. I created an plugin.xml and jar file for the plugin.
> I
> placed these files in the plugin folder. What when i open the eclipse
> eclipse next time, the view is not there and there is an error log
message.
>
> Java Program:
>
> package HelloWorld;
> import org.eclipse.swt.widgets.*;
> import org.eclipse.swt.widgets.Label;
> import org.eclipse.swt.SWT;
> import org.eclipse.ui.part.ViewPart;
> public class HelloWorldView extends ViewPart {
> Label label;
> public HelloWorldView() {
> super();
> }
> public void createPartControl(Composite parent) {
> label = new Label(parent,SWT.WRAP);
> label.setText("Hello World");
> }
> public void setFocus() {
> }
> }
>
> plugin.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin
> id="HelloWorld"
> name="HelloWorld Plug-in"
> version="1.0.0"
> provider-name=""
> class="HelloWorld.HelloWorldView">
>
> <runtime>
> <library name="HelloWorld.jar">
> <export name="*"/>
> </library>
> </runtime>
>
> <requires>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.eclipse.core.runtime"/>
> </requires>
>
> <extension
> point="org.eclipse.ui.views">
> <catagory
> id="org.eclipse.examples.helloworld.hello"
> name="Hello"/>
> <view
> id="org.eclipse.examples.helloworld.helloworldview"
> name="Hello Greetings"
> catagory="org.eclipse.examples.helloworld.hello"
> class="org.eclipse.examples.helloworld.HelloWorldView"/>
> </extension>
>
> </plugin>
>
> Error Message:
> Problems encountered while PDE was scanning the Target platform
> Missing required plugin org.eclipse.perfmsr.core_0.0.0
>
>
> Thanks in Advance,
> Prakash.A
> --Using Opera's revolutionary e-mail client: http://www.opera.com/m2

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Previous Topic:Need FTP Synchronization API
Next Topic:How to Open two Editors in different folder in eclipse
Goto Forum:
  


Current Time: Fri Jul 18 01:59:47 EDT 2025

Powered by FUDForum. Page generated in 0.29221 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top