Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a5960af9afd755e0cf45a67c93823361c8c04731 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.tcf.te.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
      <appinfo>
         <meta.schema plugin="org.eclipse.tcf.te.ui" id="viewers" name="Tree Viewer Extension"/>
      </appinfo>
      <documentation>
         This extension point is used to declare the columns and the filters for a specified tree viewer.
      </documentation>
   </annotation>

   <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>

   <element name="extension">
      <annotation>
         <appinfo>
            <meta.element />
         </appinfo>
      </annotation>
      <complexType>
         <choice minOccurs="1" maxOccurs="unbounded">
            <element ref="viewer"/>
            <element ref="columnContribution"/>
            <element ref="filterContribution"/>
            <element ref="contentContribution"/>
         </choice>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="viewer">
      <annotation>
         <documentation>
            Declares a viewer with a viewerId to columns or filters. Definitions of this element with the same viewerId can occur multiple time to contribute columns and filters to a same viewer.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="creation" minOccurs="0" maxOccurs="1"/>
            <element ref="dragSupport" minOccurs="0" maxOccurs="1"/>
            <element ref="dropSupport" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  The viewer&apos;s id which uniquely defines a single tree viewer.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="contentProvider" type="string" use="required">
            <annotation>
               <documentation>
                  The content provider of the tree viewer.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn=":org.eclipse.jface.viewers.ITreeContentProvider"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="persistent" type="boolean">
            <annotation>
               <documentation>
                  If the state of the tree viewer is persistent. The state includes its columns selected, filters selected, etc.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="autoExpandLevel" type="string">
            <annotation>
               <documentation>
                  The auto expand level of the tree viewer when it is first displayed.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="columnContribution">
      <annotation>
         <documentation>
            The root of the column contributions.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="column" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="viewerId" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the tree viewer which the columns declared contribute to.
               </documentation>
               <appinfo>
                  <meta.attribute kind="identifier" basedOn="org.eclipse.tcf.te.ui.viewers/viewer/@id"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="filterContribution">
      <annotation>
         <documentation>
            The root of the filter contributions.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="filter" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="viewerId" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the tree viewer which the filters declared contribute to.
               </documentation>
               <appinfo>
                  <meta.attribute kind="identifier" basedOn="org.eclipse.tcf.te.ui.viewers/viewer/@id"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="contentContribution">
      <annotation>
         <documentation>
            The root of the content contributions.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="content" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="viewerId" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the tree viewer which the content declared contribute to.
               </documentation>
               <appinfo>
                  <meta.attribute kind="identifier" basedOn="org.eclipse.tcf.te.ui.viewers/viewer/@id"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="column">
      <annotation>
         <documentation>
            Declares a tree viewer column with the specified attributes.
         </documentation>
      </annotation>
      <complexType>
         <sequence minOccurs="0" maxOccurs="1">
            <element ref="activation"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the column which must be unique in the same viewer.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of the tree viewer column. It is used as the column&apos;s label.
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="description" type="string">
            <annotation>
               <documentation>
                  The description of the column used as the tooltip text of the column.
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="moveable" type="boolean">
            <annotation>
               <documentation>
                  Declares if the column is moveable. The default value is false.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="resizable" type="boolean">
            <annotation>
               <documentation>
                  Declares if the column is resizable. The default value is true.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="visible" type="boolean">
            <annotation>
               <documentation>
                  Declares if the column is visible. The default value is true.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="style">
            <annotation>
               <documentation>
                  The style of the column when it is created, SWT.LEFT by default.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="SWT.LEFT">
                  </enumeration>
                  <enumeration value="SWT.RIGHT">
                  </enumeration>
                  <enumeration value="SWT.CENTER">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="alignment">
            <annotation>
               <documentation>
                  The alignment of the column&apos;s header text, SWT.LEFT by default.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="SWT.LEFT">
                  </enumeration>
                  <enumeration value="SWT.RIGHT">
                  </enumeration>
                  <enumeration value="SWT.CENTER">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="width" type="string">
            <annotation>
               <documentation>
                  The column&apos;s initial width when it is created, 150 by default.
&lt;p&gt;
&lt;b&gt;Note:&lt;/b&gt; The width specified here is a hint. All columns will be resized automatically to consume the full initial width of the tree control. The calculation is based on the hint specified here.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="image" type="string">
            <annotation>
               <documentation>
                  The column&apos;s header image. No image by default.
               </documentation>
               <appinfo>
                  <meta.attribute kind="resource"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="labelProvider" type="string" use="required">
            <annotation>
               <documentation>
                  The label provider of the column.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn=":org.eclipse.jface.viewers.ILabelProvider"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="comparator" type="string">
            <annotation>
               <documentation>
                  The comparator of the column, used to sort the viewer. If it is not set, then this column is not sortable.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn=":java.util.Comparator"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="filter">
      <complexType>
         <sequence minOccurs="0" maxOccurs="1">
            <element ref="activation" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the filter which must be unique in this viewer.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of the filter used to display in the viewer&apos;s filter configuration dialog.
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="description" type="string">
            <annotation>
               <documentation>
                  The description of the filter.
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="image" type="string">
            <annotation>
               <documentation>
                  The filter&apos;s displaying image. No image by default.
               </documentation>
               <appinfo>
                  <meta.attribute kind="resource"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="enabled" type="boolean">
            <annotation>
               <documentation>
                  If this filter is enabled. Disabled by default.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The viewer filter that extends &lt;samp&gt;org.eclipse.jface.viewers.ViewerFilter&lt;/samp&gt;.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jface.viewers.ViewerFilter:"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="visibleInUI" type="boolean">
            <annotation>
               <documentation>
                  If this filter appears in the filter configuration dialog. It is false, i.e., invisible by default.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="content">
      <complexType>
         <sequence minOccurs="0" maxOccurs="1">
            <element ref="activation" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the content contribution which must be unique in this viewer.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The content contribution that extends &lt;samp&gt;org.eclipse.tcf.te.ui.trees.AbstractContentContribution&lt;/samp&gt;.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.tcf.te.ui.trees.AbstractContentContribution:"/>
               </appinfo>
            </annotation>
         </attribute>
         <attribute name="rank" type="string">
            <annotation>
               <documentation>
                  The rank of the content contribution. Used to sort elements from different content contributions within the viewer. If not specified, the default rank 100 is associated.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="activation">
      <annotation>
         <documentation>
            The &lt;b&gt;activation&lt;/b&gt; expression defines a condition under which the column, filter or content should be activated.
         </documentation>
      </annotation>
      <complexType>
         <choice>
            <element ref="not"/>
            <element ref="and"/>
            <element ref="or"/>
            <element ref="instanceof"/>
            <element ref="test"/>
            <element ref="systemTest"/>
            <element ref="equals"/>
            <element ref="count"/>
            <element ref="with"/>
            <element ref="resolve"/>
            <element ref="adapt"/>
            <element ref="iterate"/>
            <element ref="reference"/>
         </choice>
      </complexType>
   </element>

   <element name="creation">
      <annotation>
         <documentation>
            The creation flag of the tree viewer.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="style" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
      </complexType>
   </element>

   <element name="dragSupport">
      <annotation>
         <documentation>
            The drag support added to the tree viewer.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="operations"/>
            <element ref="transferTypes"/>
         </sequence>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  A drag source listener that implements &lt;samp&gt;org.eclipse.swt.dndDragSourceListener&lt;/samp&gt;. This listener should have a one-parameter constructor. The only parameter is the tree viewer that the drag source listener is added to.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn=":org.eclipse.swt.dnd.DragSourceListener"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="dropSupport">
      <annotation>
         <documentation>
            The drop support added to the tree viewer.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="operations"/>
            <element ref="transferTypes"/>
         </sequence>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  A drop target listener that implements &lt;samp&gt;org.eclipse.swt.dnd.DropTargetListener&lt;/samp&gt;. This listener should have a one-parameter constructor. The only parameter is the tree viewer that the drop target listener is added to.
               </documentation>
               <appinfo>
                  <meta.attribute kind="java" basedOn=":org.eclipse.swt.dnd.DropTargetListener"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="operations">
      <annotation>
         <documentation>
            The DND operations supported.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="operation" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
      </complexType>
   </element>

   <element name="transferTypes">
      <annotation>
         <documentation>
            The DND transfer types supported.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="transferType" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
      </complexType>
   </element>

   <element name="style">
      <annotation>
         <documentation>
            A creation style declaration.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="name" use="required">
            <annotation>
               <documentation>
                  The name of the style including SWT.NONE, SWT.SINGLE, SWT&gt;MULTI, SWT.CHECK, SWT.FULL_SELECTION, SWT.VIRTUAL, SWT.NO_SCROLL.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="SWT.NONE">
                  </enumeration>
                  <enumeration value="SWT.SINGLE">
                  </enumeration>
                  <enumeration value="SWT.MULTI">
                  </enumeration>
                  <enumeration value="SWT.CHECK">
                  </enumeration>
                  <enumeration value="SWT.FULL_SELECTION">
                  </enumeration>
                  <enumeration value="SWT.VIRTUAL">
                  </enumeration>
                  <enumeration value="SWT.NO_SCROLL">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="operation">
      <annotation>
         <documentation>
            A DND operation declaration.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="name" use="required">
            <annotation>
               <documentation>
                  The name of the operation including DND.DROP_COPY, DND.DROP_MOVE,DND.DROP_LINK.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="DND.DROP_COPY">
                  </enumeration>
                  <enumeration value="DND.DROP_MOVE">
                  </enumeration>
                  <enumeration value="DND.DROP_LINK">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="transferType">
      <annotation>
         <documentation>
            A transfer type declaration.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="name">
            <annotation>
               <documentation>
                  The name of the transfer type including TextInstance, ImageTransfer, FileTransfer and LocalSelectionTransfer.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="TextTransfer">
                  </enumeration>
                  <enumeration value="ImageTransfer">
                  </enumeration>
                  <enumeration value="FileTransfer">
                  </enumeration>
                  <enumeration value="LocalSelectionTransfer">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appinfo>
         <meta.section type="since"/>
      </appinfo>
      <documentation>
         Target Explorer 1.0.0
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="examples"/>
      </appinfo>
      <documentation>
         &lt;pre&gt;
   &lt;extension point=&quot;org.eclipse.tcf.te.ui.viewers&quot;&gt;
       &lt;viewer
             autoExpandLevel=&quot;0&quot;
             contentProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.controls.FSTreeContentProvider&quot;
             doubleClickCommand=&quot;org.eclipse.ui.navigator.Open&quot;
             helpId=&quot;org.eclipse.tcf.te.tcf.filesystem.FSExplorerEditorPage&quot;
             id=&quot;org.eclipse.tcf.te.ui.controls.viewer.fs&quot;
             menuId=&quot;org.eclipse.tcf.te.ui.controls.menu.fs&quot;
             persistent=&quot;true&quot;&gt;
          &lt;creation&gt;
             &lt;style name=&quot;SWT.FULL_SELECTION&quot; /&gt;
             &lt;style name=&quot;SWT.MULTI&quot; /&gt;
          &lt;/creation&gt;
          &lt;dragSupport
                class=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.dnd.FSDragSourceListener&quot;&gt;
             &lt;operations&gt;
              &lt;operation name=&quot;DND.DROP_COPY&quot; /&gt;
              &lt;operation name=&quot;DND.DROP_MOVE&quot; /&gt;
              &lt;operation name=&quot;DND.DROP_LINK&quot; /&gt;
             &lt;/operations&gt;
             &lt;transferTypes&gt;
              &lt;transferType name =&quot;LocalSelectionTransfer&quot; /&gt;
    &lt;/transferTypes&gt;
          &lt;/dragSupport&gt;
          &lt;dropSupport
                class=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.dnd.FSDropTargetListener&quot;&gt;
             &lt;operations&gt;
              &lt;operation name=&quot;DND.DROP_COPY&quot; /&gt;
              &lt;operation name=&quot;DND.DROP_MOVE&quot; /&gt;
              &lt;operation name=&quot;DND.DROP_LINK&quot; /&gt;
             &lt;/operations&gt;
             &lt;transferTypes&gt;
              &lt;transferType name =&quot;LocalSelectionTransfer&quot; /&gt;
    &lt;/transferTypes&gt;
          &lt;/dropSupport&gt;
      &lt;/viewer&gt;
      &lt;columnContribution viewerId=&quot;org.eclipse.tcf.te.ui.controls.viewer.fs&quot;&gt;
         &lt;column
               alignment=&quot;SWT.LEFT&quot;
               comparator=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.FSTreeElementComparator&quot;
               id=&quot;name&quot;
               labelProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.FSTreeElementLabelProvider&quot;
               moveable=&quot;true&quot;
               name=&quot;%column.name.name&quot;
               resizable=&quot;true&quot;
               style=&quot;SWT.LEFT&quot;
               visible=&quot;true&quot;
               width=&quot;300&quot;&gt;
         &lt;/column&gt;
         &lt;column
               alignment=&quot;SWT.RIGHT&quot;
               comparator=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.SizeComparator&quot;
               id=&quot;size&quot;
               labelProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.SizeLabelProvider&quot;
               moveable=&quot;true&quot;
               name=&quot;%column.name.size&quot;
               resizable=&quot;true&quot;
               style=&quot;SWT.RIGHT&quot;
               visible=&quot;true&quot;
               width=&quot;100&quot;&gt;
         &lt;/column&gt;
         &lt;column
               alignment=&quot;SWT.LEFT&quot;
               comparator=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.FileTypeComparator&quot;
               id=&quot;type&quot;
               labelProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.FileTypeLabelProvider&quot;
               moveable=&quot;true&quot;
               name=&quot;%column.name.type&quot;
               resizable=&quot;true&quot;
               style=&quot;SWT.LEFT&quot;
               visible=&quot;false&quot;
               width=&quot;100&quot;&gt;
         &lt;/column&gt;
         &lt;column
               alignment=&quot;SWT.RIGHT&quot;
               comparator=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.ModificationTimeComparator&quot;
               id=&quot;modified&quot;
               labelProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.ModificationTimeLabelProvider&quot;
               moveable=&quot;true&quot;
               name=&quot;%column.name.modified&quot;
               resizable=&quot;true&quot;
               style=&quot;SWT.RIGHT&quot;
               visible=&quot;true&quot;
               width=&quot;120&quot;&gt;
         &lt;/column&gt;
         &lt;column
               alignment=&quot;SWT.RIGHT&quot;
               comparator=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.AccessTimeComparator&quot;
               id=&quot;accessed&quot;
               labelProvider=&quot;org.eclipse.tcf.te.tcf.filesystem.internal.columns.AccessTimeLabelProvider&quot;
               moveable=&quot;true&quot;
               name=&quot;%column.name.accessed&quot;
               resizable=&quot;true&quot;
               style=&quot;SWT.RIGHT&quot;
               visible=&quot;false&quot;
               width=&quot;120&quot;&gt;
         &lt;/column&gt;
      &lt;/columnContribution&gt;
      
      &lt;filterContribution viewerId=&quot;org.eclipse.tcf.te.ui.controls.viewer.fs&quot;&gt;
         &lt;filter
               class=&quot;org.eclipse.tcf.te.tcf.filesystem.filters.HiddenFilesViewerFilter&quot;
               description=&quot;%filter.description.hidden&quot;
               enabled=&quot;true&quot;
               id=&quot;org.eclipse.tcf.te.tcf.filesystem.filters.hiddenFiles&quot;
               image=&quot;icons/obj16/hidden_file_filter.png&quot;
               name=&quot;%filter.name.hidden&quot;&gt;
         &lt;/filter&gt;
         &lt;filter
               class=&quot;org.eclipse.tcf.te.tcf.filesystem.filters.SystemFilesViewerFilter&quot;
               description=&quot;%filter.description.system&quot;
               enabled=&quot;true&quot;
               id=&quot;org.eclipse.tcf.te.tcf.filesystem.filters.systemFiles&quot;
               image=&quot;icons/obj16/system_file_filter.png&quot;
               name=&quot;%filter.name.system&quot;&gt;
            &lt;activation&gt;
               &lt;with variable=&quot;input&quot;&gt;
                  &lt;test property=&quot;org.eclipse.tcf.te.tcf.filesystem.propertytester.peer.isWindows&quot;/&gt;
               &lt;/with&gt;
            &lt;/activation&gt;
         &lt;/filter&gt;
      &lt;/filterContribution&gt;
   &lt;/extension&gt;
&lt;/pre&gt;
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="apiinfo"/>
      </appinfo>
      <documentation>
         &lt;p&gt;
In the &quot;column&quot; element, the class referenced by the attribute &quot;labelProvider&quot; must implement &lt;samp&gt;org.eclipse.jface.viewers.ILabelProvider&lt;/samp&gt;. The class referenced by the attribute &quot;comparator&quot; must implement &lt;samp&gt;java.util.Comparator&lt;/samp&gt; that compares the elements of the tree viewer.
&lt;p&gt;
In the &quot;filter&quot; element, the class referenced by the attribute &quot;class&quot; must extend &lt;samp&gt;org.eclipse.jface.viewers.ViewerFilter&lt;/samp&gt;.
&lt;p&gt;
In the &quot;activation&quot; element, the evaluation context has only one variable &quot;input&quot;, which stores the current input object of the viewer.
      </documentation>
   </annotation>


   <annotation>
      <appinfo>
         <meta.section type="copyright"/>
      </appinfo>
      <documentation>
         Copyright (c) 2011 Wind River Systems, Inc. and others.

All rights reserved.

This program and the accompanying materials are made available under the terms
of the Eclipse Public License v1.0 which accompanies this distribution, and is
available at http://www.eclipse.org/legal/epl-v10.html.
      </documentation>
   </annotation>

</schema>

Back to the top