Package com.cb.eclipse.folding.preferences

Examples of com.cb.eclipse.folding.preferences.PreferencesTab


    mediator = new PreferencesMediator(preferences);
   
    TabFolder tabFolder = new TabFolder(parent, SWT.NONE);
       
    TabItem item = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab generalTab = new GeneralTab(mediator);
    item.setText(generalTab.getTabName());
    item.setControl(generalTab.getTabControl(tabFolder));

    TabItem item2 = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab advancedTab = new AdvancedTab(mediator);
    item2.setText(advancedTab.getTabName());
    item2.setControl(advancedTab.getTabControl(tabFolder));   
   
    TabItem item3 = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab userDefTab = new UserDefinedTab(mediator);
    item3.setText(userDefTab.getTabName());
    item3.setControl(userDefTab.getTabControl(tabFolder));   
   
    tabFolder.pack();
   
    parent.pack();
    return tabFolder;
View Full Code Here


    mediator = new PreferencesMediator(preferences);
   
    TabFolder tabFolder = new TabFolder(parent, SWT.NONE);
       
    TabItem item = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab generalTab = new GeneralTab(mediator);
    item.setText(generalTab.getTabName());
    item.setControl(generalTab.getTabControl(tabFolder));

    TabItem item2 = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab advancedTab = new AdvancedTab(mediator);
    item2.setText(advancedTab.getTabName());
    item2.setControl(advancedTab.getTabControl(tabFolder));   
   
    TabItem item3 = new TabItem(tabFolder, SWT.NONE);
    PreferencesTab userDefTab = new UserDefinedTab(mediator);
    item3.setText(userDefTab.getTabName());
    item3.setControl(userDefTab.getTabControl(tabFolder));   
   
    tabFolder.pack();
   
    parent.pack();
    return tabFolder;
View Full Code Here

TOP

Related Classes of com.cb.eclipse.folding.preferences.PreferencesTab

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.