2012-02-06 80 views
0

我有RCP和2個產品,基於fetures。我有my.project.gui插件,它們有一些gui-extensios,比如views,perspectives,prefetencePages。從幾個插件的RCP擴展

第一個產品有一些gui(該產品的功能包括my.project.gui)。我想讓我的第二個產品有一些延伸的gui。我創建了插件,命名爲my.project.gui.extended,並將其添加到我的第二個項目功能。然後在my.project.gui.extended中添加了一些gui-excels。但是這樣做工作!我讚歎我的第二個產品,只看到my.project.gui-extensions,並沒有看到my.project.gui.extended-extensions。

試圖將my.project.gui.extended添加到所有依賴項,但這並沒有解決問題。

有什麼事情我需要做,使這項工作?或者我需要以其他方式工作?

===================================

新增信息:

1st product feature has: 
my.product.main1 (plugin with 1st product, application class, etc... has gui in dependences), 
my.product.gui, 
my.product.shared, 
my.product.others1 

2nd product feature has: 
my.product.main2 (plugin with 2nd product, application class, etc... has gui and gui.extended in dependences), 
my.product.gui, 
my.product.gui.extended, 
my.product.shared, 
my.product.others2 

型的擴展是org.eclipse.ui.preferencePages(第二產品具有服務器首頁,但第一次沒有)

我覺得這是不運行時的問題。

+0

您必須在更多細節中描述這些內容。您的功能如何定義?和產品?插件之間的依賴關係?我們在談論哪些擴展?等 – 2012-02-06 14:05:18

+0

擴展的類型很重要。例如,如果您更新了影響透視的內容,但您已在運行時將其打開,則不會看到更改生效。 – 2012-02-06 15:53:48

回答

0

通過向my.product.main2添加此擴展來解決我的問題,而不是my.product.gui.extended。這不是我想要的,但它的工作原理