Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] [Team] Hiding real resources from user when sysnchronizing??


Joseph,

The simple answer is that we do not currently have support for either of the issues you raise.
Platform UI does not curently provide any means to associate one logical model element with multiple underlying files.
Nor does the Synchronize view let you view the overall file structure in terms of Java packages (it can however show a structured diff on a single file in terms of Java elements).

But this is an interesting area.  Showing Synchronize, or other resource-based operations, in terms of Java elements is called the "logical to physical mapping problem" (or at least, that's what we call it).

We recently added an interface, org.eclipse.ui.IContainmentAdapter, which tries to address the logical to physical mapping problem.  Specifically, this was to address a problem seen when using Java working sets, whereby resource-based views incorrectly include .java files in subpackages of packages specified in the working set.  For details, see:
http://dev.eclipse.org/bugs/show_bug.cgi?id=25274

Closer to your request is the scenario described in:
http://dev.eclipse.org/bugs/show_bug.cgi?id=32090

While we will be unable to do anything in this area for 2.1, I suggest you file feature requests in bugzilla against Platform UI, Platform VCM and/or JDT UI so that we can consider this for future versions.
See also the "Provide a general purpose navigator" item on the 2.2 draft plan:
http://eclipse.org/eclipse/development/eclipse_project_plan_2_2.html

Regards,
Nick Edgar
Platform UI Team Lead



Joseph Khalil/Egypt/Contr/IBM@IBMEG
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

02/20/03 02:59 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-ui-dev] [Team] Hiding real resources from user when sysnchronizing??



Is it possible that when i use team development that i can hide the real
resources of my model , and the user sees the model objects not the real
resources when he synchronizes with the repository
for example:
in the case of the jdt , was it possible that the Synchronize view  (under
Team Category) shows the package hierarchy like the package explorer view ,
instead of showing the real directory sturcture like what's happening
now....
is it possible that the plugin developer contribute by something that make
that mapping (ViewPart or ContentProvider and LabelProvider or anything) so
as the user always see consistent views that represents his model
elements....

another question , in my model some of my objects is persistened in 2
different files where a primary file contains objects that's linked to
other objects in the secondry file (using emf) and when i change somethings
in the primary file , the secondry file is changed also...
what's the best practice for my work when i deal with Team enviroment , can
i hide this from the user so the user is not aware that he's dealing with 2
files, and he feels that he's dealing only with 1 model object ????

Best regards,
Joseph G.M. Khalil
Software Engineer
Business Integration Product Development
Cairo Technology Development Center (TDC)
-------------------------------------------------------------------------------------------

IBM Egypt
Address: 72 Gameat Al-Dowal Al-Arabia St., Fifth Floor, Mohandesseen, Giza
12311, Egypt
Phone:    +202 761-7391
       +202 761-7392
       +202 761-7393, Ext.123
Email:jkhalil@xxxxxxxxxx
Visit our web sites: http://ctdc.cai.eg.ibm.com , www.ibm.com/eg
-------------------------------------------------------------------------------------------

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top