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 9108357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:47:23+00:00 2026-06-17T02:47:23+00:00

I found documentation that states I can hide some of the UI elements in

  • 0

I found documentation that states I can hide some of the UI elements in the Install New Software dialog in an Eclipse RCP application.

It’s all described here.

I want my RCP application (based on Eclipse 3.7) to hide the available software sites just like the RCP Mail example app does, so I’ve implemented my RCP application using this example. But, it’s not working.

I’ve even gone so far as to import the RCP Mail project into my Eclipse IDE and launch it and debug it to see what it’s doing. The RCP Mail project works like a charm when I run it in my IDE. It hides the UI just like I want my RCP app to do.

The main difference I’ve found so far is this.

When I run my application and try to use this code to get the Policy…

ProvisioningUI.getDefaultUI().getPolicy()

I get a different Policy then the one I registered with this code…

policy = new RestrictedP2UIPolicy();
policyRegistration = context.registerService(Policy.class.getName(), policy, null);

My ResrictedP2UIPolicy class is the same thing as the CloudPolicy class in the RCP Mail example application.

The Policy I get back at runtime is an implementation class called SDKPolicy.

Does anyone have any ideas why I’m getting this other Policy instead of the one I’m trying to register?

  • 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-17T02:47:25+00:00Added an answer on June 17, 2026 at 2:47 am

    The SDK policy is coming from the p2.ui.sdk bundle. In an RCP application you shouldn’t use this bundle as it provides the same p2 experience as the Eclipse SDK.

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

Sidebar

Related Questions

I found it in Jquery documentation that fadeOut() accepts callback function but in my
I found the following claim in the documentation for Net::OpenSSH : Note that using
Reading Kohana's documentation, I found out that the main difference in 3.0 version is
On Dapper's documentation found here it states: Limitations and caveats Dapper caches information about
Can the php5apache_filter be used as an input filter ? Haven't found much documentation
Git-tag documentation states that a tag should target a commit. So does the git
The MSDN documentation for sys.database_permissions says that the state column can be either 'G',
The documentation for CFindFile states that Nonzero if there are more files; zero if
I'm using the Memcached::set() and Memcached::get() methods. The documentation states that if an error
The Documentation of the java.util.Properties-class states: A property list can contain another property list

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.