ee.quest.widget.context
Class TabContext

java.lang.Object
  extended by ee.quest.widget.context.TabContext

public abstract class TabContext
extends Object


Field Summary
protected  Map<String,org.eclipse.swt.widgets.TabFolder> folders
           
protected  Map<String,org.eclipse.swt.widgets.TabItem> items
           
static String MAIN_FOLDER
           
 
Constructor Summary
TabContext(org.eclipse.swt.widgets.Composite parent)
           
 
Method Summary
 void addTabFolder(org.eclipse.swt.widgets.Composite parent, String name)
           
 void addTabFolder(String parent, String name)
           
 void addTabItem(String name, String label)
           
 void addTabItem(String target, String name, String label)
           
 void changeTab(String name)
           
protected abstract  org.eclipse.swt.widgets.Control initContext(String name, org.eclipse.swt.widgets.TabItem item, org.eclipse.swt.widgets.Composite parent)
           
 void setLayoutData(org.eclipse.swt.layout.GridData gridData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_FOLDER

public static final String MAIN_FOLDER
See Also:
Constant Field Values

folders

protected Map<String,org.eclipse.swt.widgets.TabFolder> folders

items

protected Map<String,org.eclipse.swt.widgets.TabItem> items
Constructor Detail

TabContext

public TabContext(org.eclipse.swt.widgets.Composite parent)
Method Detail

addTabFolder

public void addTabFolder(org.eclipse.swt.widgets.Composite parent,
                         String name)

addTabFolder

public void addTabFolder(String parent,
                         String name)

addTabItem

public void addTabItem(String name,
                       String label)

addTabItem

public void addTabItem(String target,
                       String name,
                       String label)

changeTab

public void changeTab(String name)

setLayoutData

public void setLayoutData(org.eclipse.swt.layout.GridData gridData)

initContext

protected abstract org.eclipse.swt.widgets.Control initContext(String name,
                                                               org.eclipse.swt.widgets.TabItem item,
                                                               org.eclipse.swt.widgets.Composite parent)
                                                        throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.