Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipse-dev] RE: Syntax Templates

Zenil,

These kinds of questions are better located in the the newsgroup.
However, you should not in general share content provider instances with 
different viewers.
The content provider is told of the viewer's input and may hang onto it, 
and you might have different inputs for different viewers.

Nick






Zenil_Hussain@xxxxxxxxxx
Sent by: eclipse-dev-admin@xxxxxxxxxxx
02/10/02 10:48 AM
Please respond to eclipse-dev

 
        To:     eclipse-dev@xxxxxxxxxxx
        cc: 
        Subject:        RE: [eclipse-dev] RE: Syntax Templates

Hi,

Are there any issues involved if you are using the same 
TreeContentProvider
instance for two different TreeViewers.???

I am trying to develop a 'Syntax Template' screen(Similar to an Windows
explorer screen), where the templates are categorized in to groups. 
The template categories are shown in a tree structure on the left side, 
and
when the user clicks on a node, the sub tree structure is shown on the 
right
side. 
As you can see the functionality of the TreeContentProvider is the same 
for
both the trees.So I was hoping to use the same TreeContentProvider( the 
same
instance ) for both the trees.(I have already worked the code, but I want 
to
know whether there are any issues involved wrt performance/others.. )

Any suggestions?? 

Regards,
Zenil
************************************************************************** 

This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying 
or
distribution or forwarding of any or all of the contents in this message 
is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev





Back to the top