Package de.innovationgate.eclipse.utils.ui

Examples of de.innovationgate.eclipse.utils.ui.DefaultedText


    _grpCreateContentStore.setLayout(new GridLayout(2, false));
    GridData innerGrpData = new GridData(GridData.FILL_HORIZONTAL);
    label = new Label(_grpCreateContentStore, SWT.NONE);
    label.setText("Database key:");
    _txtDatabaseKey = new Text(_grpCreateContentStore, SWT.BORDER);
    DefaultedText dflHandler = new DefaultedText(DEFAULT_DBKEY);
    dflHandler.apply(_txtDatabaseKey);
    _txtDatabaseKey.setLayoutData(GridDataFactory.copyData(innerGrpData));
    _txtDatabaseKey.addModifyListener(new ModifyListener() {

      public void modifyText(ModifyEvent e) {
        dialogChanged(e);
      }
     
    });
   
    label = new Label(_grpCreateContentStore, SWT.NONE);
    label.setText("Title:");
    _txtTitle = new Text(_grpCreateContentStore, SWT.BORDER);
    dflHandler = new DefaultedText(DEFAULT_TITLE);
    dflHandler.apply(_txtTitle);
    _txtTitle.setLayoutData(GridDataFactory.copyData(innerGrpData));
    _txtTitle.addModifyListener(new ModifyListener() {

      public void modifyText(ModifyEvent e) {
        dialogChanged(e);
View Full Code Here

TOP

Related Classes of de.innovationgate.eclipse.utils.ui.DefaultedText

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.