Results 1 to 11 of 11
  1. #1
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Question PDE(plugins development environment)

    Hi,
    I have a problem in my viewaction extension point.
    Referenced identifier 'com.mytestplugin.views.ResourceManagerView' in attribute 'targetID' cannot be found.
    Please help me!
    Regards
    ihsan

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    Is this a compile or execution error?
    Is there a missing import?

  3. #3
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default PDE(plugins development in java)

    Hello,
    Thanks for your reply. It is a compile error.My xml file has this error for the targetID attribute.

    Regards
    Arif

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    It is a compile error
    Please post the full text of the error message.

  5. #5
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default PDE(plugins development in java)

    The following error i get in my plugin xml file.

    Referenced identifier 'com.mytestplugin.views.ResourceManagerView' in attribute 'targetID' cannot be found

    Regards/
    Arif

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    That doesn't look like the error messages I get. Here is an example:
    Please copy full text of error message and paste it here. Here is a sample:
    Java Code:
    TestSorts.java:138: cannot find symbol
    symbol  : variable var
    location: class TestSorts
             var = 2;
             ^

  7. #7
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default

    I get this compile time error on the targetID="com.mytestplugin.views.ResourceManagerVi ew">
    <extension
    point="org.eclipse.ui.viewActions">
    <viewContribution
    id="com.mytestplugin.ResourceManagerViewContributi on"
    targetID="com.mytestplugin.views.ResourceManagerVi ew">
    <action
    class="com.mytestplugin.ResourceManagerViewActionD elegate2"
    icon="icons/sample.gif"
    id="com.mytestplugin.ResourceManagerViewAction"
    label="Click me"
    style="push"
    toolbarPath="additions">
    </action>
    </viewContribution>

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    What compiler are you using? I was using the javac command to compile a .java file.
    What program is reading your xml file and giving the error?
    How does this relate to java programming?

  9. #9
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default PDE(plugins development in java)

    Actually i am working on plugin development in Eclipse.
    i want to develop my own plugin.so for this we have to code in xml as well as in java and then we integrate these two by extensions points.

  10. #10
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    Sorry, I don't know anything about coding XML.

  11. #11
    lnukhan is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default

    Ok no problem,but do you know which id we have to write in targetID. My plugins working on builtin view id but when i write my own view id its generate the mentioned error.

Similar Threads

  1. Replies: 5
    Last Post: 04-23-2010, 07:08 PM
  2. development in support environment
    By mac in forum Suggestions & Feedback
    Replies: 1
    Last Post: 12-22-2009, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •