KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > presentations > defaultpresentation > DetachedViewTabItem


1 package org.eclipse.ui.internal.presentations.defaultpresentation;
2
3
4 public class DetachedViewTabItem extends DefaultTabItem {
5
6     private DetachedViewTabFolder folder;
7     
8     public DetachedViewTabItem(DetachedViewTabFolder folder, int index, int flags) {
9         super(folder.getTabFolder(), index, flags);
10         
11         this.folder = folder;
12     }
13
14     public void dispose() {
15         super.dispose();
16         
17         folder.itemRemoved();
18     }
19 }
20
Popular Tags