[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [emf-dev] [EMF Compare] How to connect emf compare controls with "Properties" view ?
|
Hi,
Please use the EMF newsgroup (
http://www.eclipse.org/forums/index.php?t=thread&frm_id=108&S=8b9ad5470f3a798e81f61e459d5711a1
) for questions related to EMF Compare.
This seem however to be something that EMF Compare should do on his
side rather than have third-party plugins implement. The missing
selection providing should be done (or so I think after a quick
glance at the code) from
ModelContentMergeTabFolder#createTreePart(). Could you raise an
enhancement request against EMF Compare (
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EMF&component=Compare
) to track this?
Laurent Goubet
Obeo
On 17/03/2011 02:58, 周昊 wrote:
Hi,
Excuse me, I just wanna know how to show the model's properties
in "Properties" view, which is provided by eclipse workbench,
when I select an item in the tree view.
For example, at first, by using
CompareUI.openCompareEditor(new ModelCompareEditorInput(...)),
we will create a new editor in the workbench, in which the
comparison results are shown. Then, when I select an element in
the tree, I wanna show its properties in "Properties" view.
There is already an adapter factory to produce
IPropertyDescriptors for the model been selected, all I wanna
do is to inform the workbench page that I have selected an
element, something like getSite().setSelectionProvider(the
comparing tree). I just do not know where to add this clause, or
is there any better solution for this problem?
--
Best regards!
_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/emf-dev
|
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard