Examples of TabFolder


Examples of org.eclipse.swt.widgets.TabFolder

     */
    public void createFieldEditors() {

        Composite fieldEditorParent = getFieldEditorParent();

        TabFolder tabFolder = new TabFolder(fieldEditorParent, SWT.TOP);
        tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));

        TabItem tabPrefs = new TabItem(tabFolder, SWT.NONE);
        tabPrefs.setText(BytecodeOutlinePlugin
          .getResourceString("BCOPreferencePage.defaultsGroup"));

View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        gridLayout_1.marginRight = 5;
        gridLayout_1.marginLeft = 5;
        gridLayout_1.marginBottom = 5;
        schedulerGroup.setLayout(gridLayout_1);

        final TabFolder tabFolder = new TabFolder(schedulerGroup, SWT.NONE);
        final GridData gridData_1 = new GridData(GridData.FILL, GridData.FILL, true, true, 1, 4);
        gridData_1.heightHint = 178;
        tabFolder.setLayoutData(gridData_1);

        final TabItem propertiesTabItem = new TabItem(tabFolder, SWT.NONE);
        propertiesTabItem.setText("Properties");

        final Group group = new Group(tabFolder, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    edGlobalConfigurationPath = new Text(gpGlobalSettings, SWT.BORDER);
    edGlobalConfigurationPath.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
    new Label(gpGlobalSettings, SWT.NONE);
    new Label(gpGlobalSettings, SWT.NONE);
   
    TabFolder tabFolder = new TabFolder(gpGlobalSettings, SWT.NONE);
    tabFolder.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
    GridData gd_tabFolder = new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1);
    gd_tabFolder.heightHint = 251;
    tabFolder.setLayoutData(gd_tabFolder);
   
 
    TabItem tbtmFtp = new TabItem(tabFolder, SWT.NONE);
    tbtmFtp.setText("FTP");
   
    Group group = new Group(tabFolder, SWT.NONE);
    group.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    tbtmFtp.setControl(group);
    group.setLayout(new GridLayout(2, false));
   
    Label lblPort = new Label(group, SWT.NONE);
    lblPort.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblPort.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblPort.setText("Port");
   
    edGlobalFTPPort = new Text(group, SWT.BORDER);
    edGlobalFTPPort.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblUser = new Label(group, SWT.NONE);
    lblUser.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblUser.setText("User");
   
    edGlobalFTPUser = new Text(group, SWT.BORDER);
    edGlobalFTPUser.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblNewLabel_9 = new Label(group, SWT.NONE);
    lblNewLabel_9.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblNewLabel_9.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblNewLabel_9.setText("Password");
   
    edGlobalFTPPassword = new Text(group, SWT.BORDER | SWT.PASSWORD);
    edGlobalFTPPassword.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblLocalDir = new Label(group, SWT.NONE);
    lblLocalDir.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblLocalDir.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblLocalDir.setText("Local dir");
   
    edGlobalFTPLocalDir = new Text(group, SWT.BORDER);
    edGlobalFTPLocalDir.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblRemoteDir = new Label(group, SWT.NONE);
    lblRemoteDir.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblRemoteDir.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblRemoteDir.setText("Remote dir");
   
    edGlobalFTPRemoteDir = new Text(group, SWT.BORDER);
    edGlobalFTPRemoteDir.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    TabItem tbtmSsh = new TabItem(tabFolder, SWT.NONE);
    tbtmSsh.setText("SSH");
   
    Group group_1 = new Group(tabFolder, SWT.NONE);
    group_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    tbtmSsh.setControl(group_1);
    group_1.setLayout(new GridLayout(2, false));
   
    Label lblPort_1 = new Label(group_1, SWT.NONE);
    lblPort_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblPort_1.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblPort_1.setText("Port");
   
    edGlobalSSHPort = new Text(group_1, SWT.BORDER);
    edGlobalSSHPort.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblNewLabel_11 = new Label(group_1, SWT.NONE);
    lblNewLabel_11.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblNewLabel_11.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblNewLabel_11.setText("User");
   
    edGlobalSSHUser = new Text(group_1, SWT.BORDER);
    edGlobalSSHUser.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblAuthMethod = new Label(group_1, SWT.NONE);
    lblAuthMethod.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblAuthMethod.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblAuthMethod.setText("Auth method");
   
    Combo edGlobalSSHAuthMethod = new Combo(group_1, SWT.NONE);
    edGlobalSSHAuthMethod.setItems(new String[] {"password", "publickey"});
    edGlobalSSHAuthMethod.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblNewLabel_12 = new Label(group_1, SWT.NONE);
    lblNewLabel_12.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblNewLabel_12.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblNewLabel_12.setText("Auth file");
   
    edGlobalSSHAuthFile = new Text(group_1, SWT.BORDER);
    edGlobalSSHAuthFile.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblPassword = new Label(group_1, SWT.NONE);
    lblPassword.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblPassword.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblPassword.setText("Password");
   
    edGlobalSSHPassword = new Text(group_1, SWT.BORDER | SWT.PASSWORD);
    edGlobalSSHPassword.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label lblSudopwd = new Label(group_1, SWT.NONE);
    lblSudopwd.setBackground(SWTResourceManager.getColor(SWT.COLOR_LIST_BACKGROUND));
    lblSudopwd.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblSudopwd.setText("SudoPwd");
   
    edGlobalSSHSudoPassword = new Text(group_1, SWT.BORDER | SWT.PASSWORD);
    GridData gd_edGlobalSSHSudoPassword = new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1);
    gd_edGlobalSSHSudoPassword.heightHint = 17;
    edGlobalSSHSudoPassword.setLayoutData(gd_edGlobalSSHSudoPassword);
   
    Label lblCommand = new Label(group_1, SWT.NONE);
    lblCommand.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    lblCommand.setText("Command");
   
    edGlobalSSHCommand = new Text(group_1, SWT.BORDER);
    edGlobalSSHCommand.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Group gpInstallationItem = new Group(shlJobSchedulerAgent, SWT.NONE);
    gpInstallationItem.setLayoutData(new GridData(SWT.LEFT, SWT.FILL, false, false, 1, 1));
    gpInstallationItem.setText("Installation Item");
    gpInstallationItem.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
    gpInstallationItem.setLayout(new GridLayout(2, false));
   
    Label label = new Label(gpInstallationItem, SWT.NONE);
    label.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label.setText("Scheduler ID");
    label.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edSchedulerId = new Text(gpInstallationItem, SWT.BORDER);
    GridData gd_edSchedulerId = new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1);
    gd_edSchedulerId.widthHint = 103;
    edSchedulerId.setLayoutData(gd_edSchedulerId);
   
    Label label_1 = new Label(gpInstallationItem, SWT.NONE);
    label_1.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_1.setText("Host");
    label_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edHost = new Text(gpInstallationItem, SWT.BORDER);
    edHost.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_2 = new Label(gpInstallationItem, SWT.NONE);
    label_2.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_2.setText("Port");
    label_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edPort = new Text(gpInstallationItem, SWT.BORDER);
    edPort.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_3 = new Label(gpInstallationItem, SWT.NONE);
    label_3.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_3.setText("Licence Key");
    label_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edLicenceKey = new Text(gpInstallationItem, SWT.BORDER);
    edLicenceKey.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_4 = new Label(gpInstallationItem, SWT.NONE);
    label_4.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_4.setText("Licence Type");
    label_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    Combo cbLicenceTyp = new Combo(gpInstallationItem, SWT.NONE);
    cbLicenceTyp.setVisibleItemCount(2);
    cbLicenceTyp.setItems(new String[] {"GPL", "Commercial"});
    cbLicenceTyp.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_5 = new Label(gpInstallationItem, SWT.NONE);
    label_5.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_5.setText("Allowed Hosts");
    label_5.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edAllowedHosts = new Text(gpInstallationItem, SWT.BORDER);
    edAllowedHosts.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_6 = new Label(gpInstallationItem, SWT.NONE);
    label_6.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_6.setText("Install Path");
    label_6.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edInstallPath = new Text(gpInstallationItem, SWT.BORDER);
    edInstallPath.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
   
    Label label_7 = new Label(gpInstallationItem, SWT.NONE);
    label_7.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
    label_7.setText("Configuration Path");
    label_7.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    edConfigurationPath = new Text(gpInstallationItem, SWT.BORDER);
    edConfigurationPath.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
    new Label(gpInstallationItem, SWT.NONE);
    new Label(gpInstallationItem, SWT.NONE);
   
    TabFolder tabFolder_1 = new TabFolder(gpInstallationItem, SWT.NONE);
    GridData gd_tabFolder_1 = new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1);
    gd_tabFolder_1.heightHint = 251;
    tabFolder_1.setLayoutData(gd_tabFolder_1);
    tabFolder_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_INFO_BACKGROUND));
   
    
    TabItem tbtmFtp_1 = new TabItem(tabFolder_1, SWT.NONE);
    tbtmFtp_1.setText("FTP");
   
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

      gridLayout_1.marginRight = 5;
      gridLayout_1.marginLeft = 5;
      gridLayout_1.marginBottom = 5;
      schedulerGroup.setLayout(gridLayout_1);

      final TabFolder tabFolder = new TabFolder(schedulerGroup, SWT.NONE);
      final GridData gridData_1 = new GridData(GridData.FILL, GridData.FILL, true, true, 1, 4);
      gridData_1.heightHint = 178;
      tabFolder.setLayoutData(gridData_1);

      final TabItem propertiesTabItem = new TabItem(tabFolder, SWT.NONE);
      propertiesTabItem.setText("Properties");

      final Group group = new Group(tabFolder, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

      gridLayout_1.marginRight = 5;
      gridLayout_1.marginLeft = 5;
      gridLayout_1.marginBottom = 5;
      schedulerGroup.setLayout(gridLayout_1);

      final TabFolder tabFolder = new TabFolder(schedulerGroup, SWT.NONE);
      final GridData gridData_1 = new GridData(GridData.FILL, GridData.FILL, true, true, 1, 4);
      gridData_1.heightHint = 178;
      tabFolder.setLayoutData(gridData_1);

      final TabItem propertiesTabItem = new TabItem(tabFolder, SWT.NONE);
      propertiesTabItem.setText("Properties");

      final Group group = new Group(tabFolder, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

    group.setText("Execute");
    createGroup1();
    group.setLayout(gridLayout4);
    createGroup12();

    tabFolder = new TabFolder(group, SWT.NONE);
    tabFolder.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(final SelectionEvent e) {
        reInit();

      }
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

      shell.setLayout(gridLayout);
      shell.setSize(577, 714);
      shell.setText("Run Time/ Periods");      

      {
        tabFolder = new TabFolder(shell, SWT.NONE);       

        tabFolder.addSelectionListener(new SelectionAdapter() {
          public void widgetSelected(final SelectionEvent e) {
            discardChanges();
            if(comboWeekDay != null)
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        GridData gd = new GridData( GridData.FILL_BOTH );
        gd.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH ) * 3 / 2;
        gd.heightHint = convertVerticalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH ) * 2 / 3;
        composite.setLayoutData( gd );

        tabFolder = new TabFolder( composite, SWT.TOP );
        GridLayout mainLayout = new GridLayout();
        mainLayout.marginWidth = 0;
        mainLayout.marginHeight = 0;
        tabFolder.setLayout( mainLayout );
        tabFolder.setLayoutData( new GridData( GridData.FILL_BOTH ) );
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

        gl_container.marginWidth = 0;
        gl_container.marginHeight = 0;
        gl_container.horizontalSpacing = 0;
        container.setLayout(gl_container);

        tabFolder = new TabFolder(container, SWT.NONE);
        tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));

        tbtmResults = new TabItem(tabFolder, SWT.NONE);
        tbtmResults.setText("Results");
        tbtmResults.setControl(createResultsTabControl(tabFolder));
View Full Code Here

Examples of org.eclipse.swt.widgets.TabFolder

     */
    protected Control createContents( Composite parent )
    {
        final IBrowserConnection connection = getConnection( getElement() );

        tabFolder = new TabFolder( parent, SWT.TOP );
        RowLayout mainLayout = new RowLayout();
        mainLayout.fill = true;
        mainLayout.marginWidth = 0;
        mainLayout.marginHeight = 0;
        tabFolder.setLayout( mainLayout );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.