Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I hide the select software site portion of the UI on the Eclipse Install New Software dialog in my RCP application?
    primarykey
    data
    text
    <p>I found documentation that states I can hide some of the UI elements in the Install New Software dialog in an Eclipse RCP application.</p> <p>It's all described <a href="http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_RCP_Application#Configuring_the_p2_UI" rel="nofollow">here</a>.</p> <p>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.</p> <p>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.</p> <p>The main difference I've found so far is this.</p> <p>When I run my application and try to use this code to get the Policy...</p> <pre><code>ProvisioningUI.getDefaultUI().getPolicy() </code></pre> <p>I get a different Policy then the one I registered with this code...</p> <pre><code>policy = new RestrictedP2UIPolicy(); policyRegistration = context.registerService(Policy.class.getName(), policy, null); </code></pre> <p>My ResrictedP2UIPolicy class is the same thing as the CloudPolicy class in the RCP Mail example application.</p> <p>The Policy I get back at runtime is an implementation class called SDKPolicy.</p> <p>Does anyone have any ideas why I'm getting this other Policy instead of the one I'm trying to register?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload