Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7853941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:51:45+00:00 2026-06-02T19:51:45+00:00

How to add PackageExplorerView’s all toolbars and functionalities to eclipse RCP applications? I used

  • 0

How to add PackageExplorerView’s all toolbars and functionalities to eclipse RCP applications? I used PackageExplorer view id to show the PackageExplorer view. It is showing the view in the rcp application. But after creating the project in the PackageExplorer view, it is not showing the project icons for the prjects created. How to ressolve this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:51:47+00:00Added an answer on June 2, 2026 at 7:51 pm

    This is a known issue in Eclipse RCP applications.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=234252

    The work around is to add some code to your ApplicationWorkbenchAdvisor.java

    Here’s some more documentation about this issue in RCP

    http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf_rcp.htm

    I’ve add this code to my initialize method in order to get the images to show up in the Project Explorer, so you’ll need to track down the correct images to add for the Package Explorer if those images are different from these.

      public void initialize(IWorkbenchConfigurer configurer) {
         super.initialize(configurer);
    
         // here's some of my code that does some typical RCP type configuration
         configurer.setSaveAndRestore(true);
         PlatformUI.getPreferenceStore().setValue(
                IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
    
        // here is the work around code
        /*
         * This is a hack to get Project tree icons to show up in the Project Explorer.
         * It is descriped in the Eclipse Help Documents here.
         * 
         * http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf_rcp.htm
         * 
         */
    
        IDE.registerAdapters();
    
        final String ICONS_PATH = "icons/full/";
    
        Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH);
    
        declareWorkbenchImage(
                configurer, 
                ideBundle,
                IDE.SharedImages.IMG_OBJ_PROJECT, 
                ICONS_PATH + "obj16/prj_obj.gif",
                true);
    
        declareWorkbenchImage(
                configurer, 
                ideBundle,
                IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, 
                ICONS_PATH + "obj16/cprj_obj.gif", 
                true);
    
    
        /*
         * End of hack in this method... 
         */
    }
    
    private void declareWorkbenchImage(IWorkbenchConfigurer configurer_p, Bundle ideBundle, String symbolicName, String path, boolean shared)  
    {
        URL url = ideBundle.getEntry(path);
        ImageDescriptor desc = ImageDescriptor.createFromURL(url);
        configurer_p.declareImage(symbolicName, desc, shared);
    }
    

    Hope this helps.

    Thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I add a label on to the view UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10.0f,
Add a toolbar to a view in Interface Builder, and then add buttons to
Add expires headers in iis is very Easy,but this cache all the static files.
I add a toolbar with some standard Delphi components to my application. Unfortunately, the
I add menu's in my application dynamically depending on the values i get from
I add sample product module to my project, set it as show in documentation,
I add in an interface builder a scroll view to the view, and included
I add 3 views for an application and they need to switch from 1-2-3.
To add a new value to a dotnet Hashtable I've always used: myHashtable.Add(myNewKey, myNewValue);
I add UINavigationBar via Library to view.But I don't know how to change this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.