Lines 10-34
Link Here
|
10 |
*******************************************************************************/ |
10 |
*******************************************************************************/ |
11 |
package org.eclipse.ui.views.properties.tabbed; |
11 |
package org.eclipse.ui.views.properties.tabbed; |
12 |
|
12 |
|
13 |
import java.util.ArrayList; |
13 |
import java.util.*; |
14 |
import java.util.Collection; |
|
|
15 |
import java.util.HashMap; |
16 |
import java.util.Iterator; |
17 |
import java.util.List; |
18 |
import java.util.Map; |
19 |
|
14 |
|
20 |
import org.eclipse.core.runtime.IAdaptable; |
15 |
import org.eclipse.core.runtime.IAdaptable; |
21 |
import org.eclipse.core.runtime.Platform; |
16 |
import org.eclipse.core.runtime.Platform; |
22 |
import org.eclipse.jface.action.IAction; |
17 |
import org.eclipse.jface.action.IAction; |
23 |
import org.eclipse.jface.viewers.ILabelProviderListener; |
18 |
import org.eclipse.jface.viewers.*; |
24 |
import org.eclipse.jface.viewers.ISelection; |
|
|
25 |
import org.eclipse.jface.viewers.ISelectionChangedListener; |
26 |
import org.eclipse.jface.viewers.IStructuredContentProvider; |
27 |
import org.eclipse.jface.viewers.IStructuredSelection; |
28 |
import org.eclipse.jface.viewers.LabelProvider; |
29 |
import org.eclipse.jface.viewers.LabelProviderChangedEvent; |
30 |
import org.eclipse.jface.viewers.SelectionChangedEvent; |
31 |
import org.eclipse.jface.viewers.StructuredSelection; |
32 |
import org.eclipse.swt.SWT; |
19 |
import org.eclipse.swt.SWT; |
33 |
import org.eclipse.swt.events.ControlAdapter; |
20 |
import org.eclipse.swt.events.ControlAdapter; |
34 |
import org.eclipse.swt.events.ControlEvent; |
21 |
import org.eclipse.swt.events.ControlEvent; |
Lines 40-60
Link Here
|
40 |
import org.eclipse.swt.layout.FormLayout; |
27 |
import org.eclipse.swt.layout.FormLayout; |
41 |
import org.eclipse.swt.widgets.Composite; |
28 |
import org.eclipse.swt.widgets.Composite; |
42 |
import org.eclipse.swt.widgets.Control; |
29 |
import org.eclipse.swt.widgets.Control; |
43 |
import org.eclipse.ui.IActionBars; |
30 |
import org.eclipse.ui.*; |
44 |
import org.eclipse.ui.IEditorPart; |
|
|
45 |
import org.eclipse.ui.IPartListener; |
46 |
import org.eclipse.ui.IViewPart; |
47 |
import org.eclipse.ui.IWorkbenchPart; |
48 |
import org.eclipse.ui.IWorkbenchWindow; |
49 |
import org.eclipse.ui.actions.ActionFactory; |
31 |
import org.eclipse.ui.actions.ActionFactory; |
50 |
import org.eclipse.ui.internal.views.properties.tabbed.view.Tab; |
32 |
import org.eclipse.ui.internal.views.properties.tabbed.view.*; |
51 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabDescriptor; |
|
|
52 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabListContentProvider; |
53 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyComposite; |
54 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry; |
55 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory; |
56 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyTitle; |
57 |
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyViewer; |
58 |
import org.eclipse.ui.part.IContributedContentsView; |
33 |
import org.eclipse.ui.part.IContributedContentsView; |
59 |
import org.eclipse.ui.part.Page; |
34 |
import org.eclipse.ui.part.Page; |
60 |
import org.eclipse.ui.views.properties.IPropertySheetPage; |
35 |
import org.eclipse.ui.views.properties.IPropertySheetPage; |
Lines 64-69
Link Here
|
64 |
* A property sheet page that provides a tabbed UI. |
39 |
* A property sheet page that provides a tabbed UI. |
65 |
* |
40 |
* |
66 |
* @author Anthony Hunter |
41 |
* @author Anthony Hunter |
|
|
42 |
* @version 31 May 2007 |
67 |
*/ |
43 |
*/ |
68 |
public class TabbedPropertySheetPage |
44 |
public class TabbedPropertySheetPage |
69 |
extends Page |
45 |
extends Page |
Lines 94-100
Link Here
|
94 |
|
70 |
|
95 |
private TabbedPropertyViewer tabbedPropertyViewer; |
71 |
private TabbedPropertyViewer tabbedPropertyViewer; |
96 |
|
72 |
|
97 |
private Tab currentTab; |
73 |
private TabContents currentTab; |
|
|
74 |
|
75 |
private ITabDescriptor[] currentTabs; |
98 |
|
76 |
|
99 |
private Map descriptorToTab; |
77 |
private Map descriptorToTab; |
100 |
|
78 |
|
Lines 105-115
Link Here
|
105 |
private boolean selectionQueueLocked; |
83 |
private boolean selectionQueueLocked; |
106 |
|
84 |
|
107 |
private List tabSelectionListeners; |
85 |
private List tabSelectionListeners; |
|
|
86 |
private List tabSelectionListeners2; |
108 |
|
87 |
|
109 |
private IWorkbenchWindow cachedWorkbenchWindow; |
88 |
private IWorkbenchWindow cachedWorkbenchWindow; |
110 |
|
89 |
|
111 |
private boolean hasTitleBar; |
90 |
private boolean hasTitleBar; |
112 |
|
91 |
|
|
|
92 |
private TabDescriptorProviderManager tabDescriptorManager; |
93 |
|
113 |
/** |
94 |
/** |
114 |
* a listener that is interested in part activation events. |
95 |
* a listener that is interested in part activation events. |
115 |
*/ |
96 |
*/ |
Lines 132-137
Link Here
|
132 |
} |
113 |
} |
133 |
}; |
114 |
}; |
134 |
|
115 |
|
|
|
116 |
|
117 |
|
135 |
private class TabbedPropertySheetPageContributorFromSelection |
118 |
private class TabbedPropertySheetPageContributorFromSelection |
136 |
implements ITabbedPropertySheetPageContributor { |
119 |
implements ITabbedPropertySheetPageContributor { |
137 |
|
120 |
|
Lines 165-172
Link Here
|
165 |
extends LabelProvider { |
148 |
extends LabelProvider { |
166 |
|
149 |
|
167 |
public String getText(Object element) { |
150 |
public String getText(Object element) { |
168 |
if (element instanceof TabDescriptor) { |
151 |
if (element instanceof AbstractTabDescriptor) { |
169 |
return ((TabDescriptor) element).getLabel(); |
152 |
return ((ITabDescriptor) element).getLabel(); |
170 |
} |
153 |
} |
171 |
return null; |
154 |
return null; |
172 |
} |
155 |
} |
Lines 184-191
Link Here
|
184 |
public void selectionChanged(SelectionChangedEvent event) { |
167 |
public void selectionChanged(SelectionChangedEvent event) { |
185 |
IStructuredSelection selection = (IStructuredSelection) event |
168 |
IStructuredSelection selection = (IStructuredSelection) event |
186 |
.getSelection(); |
169 |
.getSelection(); |
187 |
Tab tab = null; |
170 |
TabContents tab = null; |
188 |
TabDescriptor descriptor = (TabDescriptor) selection |
171 |
ITabDescriptor descriptor = (ITabDescriptor) selection |
189 |
.getFirstElement(); |
172 |
.getFirstElement(); |
190 |
|
173 |
|
191 |
if (descriptor == null) { |
174 |
if (descriptor == null) { |
Lines 195-201
Link Here
|
195 |
// create tab if necessary |
178 |
// create tab if necessary |
196 |
// can not cache based on the id - tabs may have the same id, |
179 |
// can not cache based on the id - tabs may have the same id, |
197 |
// but different section depending on the selection |
180 |
// but different section depending on the selection |
198 |
tab = (Tab) descriptorToTab.get(descriptor); |
181 |
tab = (TabContents) descriptorToTab.get(descriptor); |
199 |
|
182 |
|
200 |
if (tab != currentTab) { |
183 |
if (tab != currentTab) { |
201 |
hideTab(currentTab); |
184 |
hideTab(currentTab); |
Lines 234-240
Link Here
|
234 |
/** |
217 |
/** |
235 |
* Shows the given tab. |
218 |
* Shows the given tab. |
236 |
*/ |
219 |
*/ |
237 |
private void showTab(Tab target) { |
220 |
private void showTab(TabContents target) { |
238 |
if (target != null) { |
221 |
if (target != null) { |
239 |
Composite tabComposite = (Composite) tabToComposite.get(target); |
222 |
Composite tabComposite = (Composite) tabToComposite.get(target); |
240 |
if (tabComposite != null) { |
223 |
if (tabComposite != null) { |
Lines 252-258
Link Here
|
252 |
/** |
235 |
/** |
253 |
* Hides the given tab. |
236 |
* Hides the given tab. |
254 |
*/ |
237 |
*/ |
255 |
private void hideTab(Tab target) { |
238 |
private void hideTab(TabContents target) { |
256 |
if (target != null) { |
239 |
if (target != null) { |
257 |
Composite tabComposite = (Composite) tabToComposite.get(target); |
240 |
Composite tabComposite = (Composite) tabToComposite.get(target); |
258 |
if (tabComposite != null) { |
241 |
if (tabComposite != null) { |
Lines 275-281
Link Here
|
275 |
contributor = tabbedPropertySheetPageContributor; |
258 |
contributor = tabbedPropertySheetPageContributor; |
276 |
tabToComposite = new HashMap(); |
259 |
tabToComposite = new HashMap(); |
277 |
selectionQueue = new ArrayList(10); |
260 |
selectionQueue = new ArrayList(10); |
278 |
tabSelectionListeners = new ArrayList(); |
261 |
tabSelectionListeners2 = new ArrayList(); |
|
|
262 |
tabDescriptorManager = new TabDescriptorProviderManager(); |
279 |
initContributor(contributor.getContributorId()); |
263 |
initContributor(contributor.getContributorId()); |
280 |
} |
264 |
} |
281 |
|
265 |
|
Lines 382-387
Link Here
|
382 |
*/ |
366 |
*/ |
383 |
private void initContributor(String contributorId) { |
367 |
private void initContributor(String contributorId) { |
384 |
descriptorToTab = new HashMap(); |
368 |
descriptorToTab = new HashMap(); |
|
|
369 |
TabbedPropertyRegistry oldRegistry = registry; |
370 |
|
385 |
if (contributor.getContributorId().equals(contributorId)) { |
371 |
if (contributor.getContributorId().equals(contributorId)) { |
386 |
/** |
372 |
/** |
387 |
* default contributor from the workbench part. |
373 |
* default contributor from the workbench part. |
Lines 397-402
Link Here
|
397 |
registry = TabbedPropertyRegistryFactory.getInstance() |
383 |
registry = TabbedPropertyRegistryFactory.getInstance() |
398 |
.createRegistry(selectionContributor); |
384 |
.createRegistry(selectionContributor); |
399 |
} |
385 |
} |
|
|
386 |
if (oldRegistry != null && !oldRegistry.equals(registry)) { |
387 |
tabDescriptorManager.removeTabDescriptorProvider(oldRegistry); |
388 |
} |
389 |
tabDescriptorManager.insertTabDescriptorProvider(0, registry); |
390 |
|
400 |
currentContributorId = contributorId; |
391 |
currentContributorId = contributorId; |
401 |
tabListContentProvider = getTabListContentProvider(); |
392 |
tabListContentProvider = getTabListContentProvider(); |
402 |
hasTitleBar = registry.getLabelProvider() != null; |
393 |
hasTitleBar = registry.getLabelProvider() != null; |
Lines 420-426
Link Here
|
420 |
* @return the tab list content provider for the contributor. |
411 |
* @return the tab list content provider for the contributor. |
421 |
*/ |
412 |
*/ |
422 |
protected IStructuredContentProvider getTabListContentProvider() { |
413 |
protected IStructuredContentProvider getTabListContentProvider() { |
423 |
return new TabListContentProvider(registry); |
414 |
return new TabListContentProvider(this); |
424 |
} |
415 |
} |
425 |
|
416 |
|
426 |
/** |
417 |
/** |
Lines 543-549
Link Here
|
543 |
} |
534 |
} |
544 |
|
535 |
|
545 |
/** |
536 |
/** |
546 |
* Stores the current tab label in the selection queue. Tab labels are used |
537 |
* Stores the current tab label in the selection queue. TabContents labels are used |
547 |
* to carry the tab context from one input object to another. The queue |
538 |
* to carry the tab context from one input object to another. The queue |
548 |
* specifies the selection priority. So if the first tab in the queue is not |
539 |
* specifies the selection priority. So if the first tab in the queue is not |
549 |
* available for the input we try the second tab and so on. If none of the |
540 |
* available for the input we try the second tab and so on. If none of the |
Lines 579-585
Link Here
|
579 |
|
570 |
|
580 |
private void disposeTabs(Collection tabs) { |
571 |
private void disposeTabs(Collection tabs) { |
581 |
for (Iterator iter = tabs.iterator(); iter.hasNext();) { |
572 |
for (Iterator iter = tabs.iterator(); iter.hasNext();) { |
582 |
Tab tab = (Tab) iter.next(); |
573 |
TabContents tab = (TabContents) iter.next(); |
583 |
Composite composite = (Composite) tabToComposite.remove(tab); |
574 |
Composite composite = (Composite) tabToComposite.remove(tab); |
584 |
tab.dispose(); |
575 |
tab.dispose(); |
585 |
if (composite != null) { |
576 |
if (composite != null) { |
Lines 589-598
Link Here
|
589 |
} |
580 |
} |
590 |
|
581 |
|
591 |
/** |
582 |
/** |
592 |
* Returns the last known selected tab for the given input. |
583 |
* Returns the last known selected tab for the current input |
593 |
*/ |
584 |
*/ |
594 |
private int getLastTabSelection(IWorkbenchPart part, ISelection input) { |
585 |
private int getLastTabSelection() { |
595 |
TabDescriptor[] descriptors = registry.getTabDescriptors(part, input); |
586 |
ITabDescriptor[] descriptors = currentTabs; |
596 |
if (descriptors.length != 0) { |
587 |
if (descriptors.length != 0) { |
597 |
for (Iterator iter = selectionQueue.iterator(); iter.hasNext();) { |
588 |
for (Iterator iter = selectionQueue.iterator(); iter.hasNext();) { |
598 |
String text = (String) iter.next(); |
589 |
String text = (String) iter.next(); |
Lines 612-629
Link Here
|
612 |
* disposed. If the current visible tab will not be reused (i.e. will be |
603 |
* disposed. If the current visible tab will not be reused (i.e. will be |
613 |
* disposed) we have to send it an aboutToBeHidden() message. |
604 |
* disposed) we have to send it an aboutToBeHidden() message. |
614 |
*/ |
605 |
*/ |
615 |
protected void updateTabs(TabDescriptor[] descriptors) { |
606 |
protected void updateTabs(ITabDescriptor[] descriptors) { |
616 |
Map newTabs = new HashMap(descriptors.length * 2); |
607 |
Map newTabs = new HashMap(descriptors.length * 2); |
617 |
boolean disposingCurrentTab = (currentTab != null); |
608 |
boolean disposingCurrentTab = (currentTab != null); |
618 |
for (int i = 0; i < descriptors.length; i++) { |
609 |
for (int i = 0; i < descriptors.length; i++) { |
619 |
Tab tab = (Tab) descriptorToTab.remove(descriptors[i]); |
610 |
TabContents tab = (TabContents) descriptorToTab.remove(descriptors[i]); |
620 |
|
611 |
|
621 |
if (tab != null && tab.controlsHaveBeenCreated()) { |
612 |
if (tab != null && tab.controlsHaveBeenCreated()) { |
622 |
if (tab == currentTab) { |
613 |
if (tab == currentTab) { |
623 |
disposingCurrentTab = false; |
614 |
disposingCurrentTab = false; |
624 |
} |
615 |
} |
625 |
} else { |
616 |
} else { |
626 |
tab = (descriptors[i]).createTab(); |
617 |
tab = createTab(descriptors[i]); |
627 |
} |
618 |
} |
628 |
|
619 |
|
629 |
newTabs.put(descriptors[i], tab); |
620 |
newTabs.put(descriptors[i], tab); |
Lines 641-646
Link Here
|
641 |
} |
632 |
} |
642 |
|
633 |
|
643 |
/** |
634 |
/** |
|
|
635 |
* Creates a new {@link TabContents} for the given tabDescriptor |
636 |
* @param aDescriptor the descriptor to create the new TabContents for |
637 |
* @return the new TabContents |
638 |
*/ |
639 |
protected TabContents createTab(ITabDescriptor tabDescriptor) { |
640 |
return tabDescriptor.createTab(); |
641 |
} |
642 |
|
643 |
/** |
644 |
* Helper method for creating property tab composites. |
644 |
* Helper method for creating property tab composites. |
645 |
*/ |
645 |
*/ |
646 |
private Composite createTabComposite() { |
646 |
private Composite createTabComposite() { |
Lines 670-686
Link Here
|
670 |
|
670 |
|
671 |
// see if the selection provides a new contributor |
671 |
// see if the selection provides a new contributor |
672 |
validateRegistry(selection); |
672 |
validateRegistry(selection); |
673 |
TabDescriptor[] descriptors = registry.getTabDescriptors(part, |
673 |
ITabDescriptor[] descriptors = getTabDescriptorsForSelection(part, currentSelection); |
674 |
currentSelection); |
|
|
675 |
// If there are no descriptors for the given input we do not need to |
674 |
// If there are no descriptors for the given input we do not need to |
676 |
// touch the tab objects. We might reuse them for the next valid |
675 |
// touch the tab objects. We might reuse them for the next valid |
677 |
// input. |
676 |
// input. |
678 |
if (descriptors.length > 0) { |
677 |
if (descriptors.length > 0) { |
679 |
updateTabs(descriptors); |
678 |
updateTabs(descriptors); |
680 |
} |
679 |
} |
|
|
680 |
// update the content provider, which must return exactly the above descriptors |
681 |
currentTabs = descriptors; |
682 |
|
681 |
// update tabs list |
683 |
// update tabs list |
682 |
tabbedPropertyViewer.setInput(part, currentSelection); |
684 |
tabbedPropertyViewer.setInput(part, currentSelection); |
683 |
int lastTabSelectionIndex = getLastTabSelection(part, currentSelection); |
685 |
int lastTabSelectionIndex = getLastTabSelection(); |
684 |
Object selectedTab = tabbedPropertyViewer |
686 |
Object selectedTab = tabbedPropertyViewer |
685 |
.getElementAt(lastTabSelectionIndex); |
687 |
.getElementAt(lastTabSelectionIndex); |
686 |
selectionQueueLocked = true; |
688 |
selectionQueueLocked = true; |
Lines 698-703
Link Here
|
698 |
} |
700 |
} |
699 |
|
701 |
|
700 |
/** |
702 |
/** |
|
|
703 |
* Returns the {@link ITabDescriptor} applicable to the given part and selection. |
704 |
* These descriptors will be used and shown in the property sheet. |
705 |
* @param part |
706 |
* @param currentSelection |
707 |
* @return The tab descriptors for the given selection |
708 |
*/ |
709 |
protected ITabDescriptor[] getTabDescriptorsForSelection(IWorkbenchPart part, ISelection currentSelection) { |
710 |
ITabDescriptor[] descriptors = tabDescriptorManager.getTabDescriptors(part, |
711 |
currentSelection); |
712 |
return descriptors; |
713 |
} |
714 |
|
715 |
/** |
701 |
* Refresh the currently active tab. |
716 |
* Refresh the currently active tab. |
702 |
*/ |
717 |
*/ |
703 |
public void refresh() { |
718 |
public void refresh() { |
Lines 709-733
Link Here
|
709 |
* |
724 |
* |
710 |
* @return the currently active tab. |
725 |
* @return the currently active tab. |
711 |
*/ |
726 |
*/ |
712 |
public Tab getCurrentTab() { |
727 |
public TabContents getCurrentTab() { |
713 |
return currentTab; |
728 |
return currentTab; |
714 |
} |
729 |
} |
715 |
|
730 |
|
716 |
/** |
731 |
/** |
|
|
732 |
* @return Returns the descriptors for the currently used tabs |
733 |
*/ |
734 |
public ITabDescriptor[] getCurrentTabs() { |
735 |
return currentTabs; |
736 |
} |
737 |
|
738 |
/** |
717 |
* Handle the tab selected change event. |
739 |
* Handle the tab selected change event. |
718 |
* |
740 |
* |
719 |
* @param tabDescriptor |
741 |
* @param tabDescriptor |
720 |
* the new selected tab. |
742 |
* the new selected tab. |
721 |
*/ |
743 |
*/ |
722 |
private void handleTabSelection(TabDescriptor tabDescriptor) { |
744 |
private void handleTabSelection(ITabDescriptor tabDescriptor) { |
723 |
if (selectionQueueLocked) { |
745 |
if (selectionQueueLocked) { |
724 |
/* |
746 |
/* |
725 |
* don't send tab selection events for non user changes. |
747 |
* don't send tab selection events for non user changes. |
726 |
*/ |
748 |
*/ |
727 |
return; |
749 |
return; |
728 |
} |
750 |
} |
729 |
for (Iterator i = tabSelectionListeners.iterator(); i.hasNext();) { |
751 |
if (tabSelectionListeners != null && tabDescriptor instanceof TabDescriptor) { |
730 |
ITabSelectionListener listener = (ITabSelectionListener) i.next(); |
752 |
for (Iterator i = tabSelectionListeners.iterator(); i.hasNext();) { |
|
|
753 |
ITabSelectionListener listener = (ITabSelectionListener) i.next(); |
754 |
listener.tabSelected((TabDescriptor) tabDescriptor); |
755 |
} |
756 |
} |
757 |
|
758 |
for (Iterator i = tabSelectionListeners2.iterator(); i.hasNext();) { |
759 |
ITabSelectionListener2 listener = (ITabSelectionListener2) i.next(); |
731 |
listener.tabSelected(tabDescriptor); |
760 |
listener.tabSelected(tabDescriptor); |
732 |
} |
761 |
} |
733 |
} |
762 |
} |
Lines 737-744
Link Here
|
737 |
* |
766 |
* |
738 |
* @param listener |
767 |
* @param listener |
739 |
* a tab selection listener. |
768 |
* a tab selection listener. |
|
|
769 |
* @deprecated use {@link #addTabSelectionListener(ITabSelectionListener2)} instead |
740 |
*/ |
770 |
*/ |
741 |
public void addTabSelectionListener(ITabSelectionListener listener) { |
771 |
public void addTabSelectionListener(ITabSelectionListener listener) { |
|
|
772 |
if (tabSelectionListeners == null) { |
773 |
tabSelectionListeners = new ArrayList(); |
774 |
} |
742 |
tabSelectionListeners.add(listener); |
775 |
tabSelectionListeners.add(listener); |
743 |
} |
776 |
} |
744 |
|
777 |
|
Lines 747-755
Link Here
|
747 |
* |
780 |
* |
748 |
* @param listener |
781 |
* @param listener |
749 |
* a tab selection listener. |
782 |
* a tab selection listener. |
|
|
783 |
* @deprecated use {@link #removeTabSelectionListener(ITabSelectionListener2)} |
750 |
*/ |
784 |
*/ |
751 |
public void removeTabSelectionListener(ITabSelectionListener listener) { |
785 |
public void removeTabSelectionListener(ITabSelectionListener listener) { |
752 |
tabSelectionListeners.remove(listener); |
786 |
tabSelectionListeners.remove(listener); |
|
|
787 |
if (tabSelectionListeners.isEmpty()) { |
788 |
tabSelectionListeners = null; |
789 |
} |
790 |
} |
791 |
|
792 |
/** |
793 |
* Add a tab selection listener. |
794 |
* |
795 |
* @param listener |
796 |
* a tab selection listener. |
797 |
*/ |
798 |
public void addTabSelectionListener(ITabSelectionListener2 listener) { |
799 |
tabSelectionListeners2.add(listener); |
800 |
} |
801 |
|
802 |
/** |
803 |
* Remove a tab selection listener. |
804 |
* |
805 |
* @param listener |
806 |
* a tab selection listener. |
807 |
*/ |
808 |
public void removeTabSelectionListener(ITabSelectionListener2 listener) { |
809 |
tabSelectionListeners2.remove(listener); |
753 |
} |
810 |
} |
754 |
|
811 |
|
755 |
/** |
812 |
/** |