Examples of FormEntryAdapter


Examples of com.dubture.composer.ui.editor.FormEntryAdapter

  private void createNameEntry(Composite client, FormToolkit toolkit) {
    nameEntry = new FormEntry(client, toolkit, "Name", null, false);
    nameEntry.setValue(composerPackage.getName(), true);
   
    nameEntry.addFormEntryListener(new FormEntryAdapter() {
      public void textValueChanged(FormEntry entry) {
        composerPackage.set("name", entry.getValue());
      }
    });
    composerPackage.addPropertyChangeListener("name", new PropertyChangeListener() {
View Full Code Here

Examples of com.dubture.composer.ui.editor.FormEntryAdapter

 
  private void createDescriptionEntry(Composite client, FormToolkit toolkit) {
    descriptionEntry = new FormEntry(client, toolkit, "Description", null, false);
    descriptionEntry.setValue(composerPackage.getDescription(), true);
   
    descriptionEntry.addFormEntryListener(new FormEntryAdapter() {
      public void textValueChanged(FormEntry entry) {
        composerPackage.set("description", entry.getValue());
      }
    });
    composerPackage.addPropertyChangeListener("description", new PropertyChangeListener() {
View Full Code Here

Examples of com.dubture.composer.ui.editor.FormEntryAdapter

        decoration.setShowOnlyOnFocus(true);
   
    new AutoCompleteField(typeEntry.getText(), new TextContentAdapter(), ComposerConstants.TYPES);
   
   
    typeEntry.addFormEntryListener(new FormEntryAdapter() {
      public void textValueChanged(FormEntry entry) {
        composerPackage.set("type", entry.getValue());
      }
    });
    composerPackage.addPropertyChangeListener("type", new PropertyChangeListener() {
View Full Code Here

Examples of com.dubture.composer.ui.editor.FormEntryAdapter

    keywordsEntry = new FormEntry(client, toolkit, "Keywords", null, false);
   
    final Keywords2StringConverter converter = new Keywords2StringConverter();
    keywordsEntry.setValue(converter.convert(composerPackage.getKeywords()), true);
   
    keywordsEntry.addFormEntryListener(new FormEntryAdapter() {
      String2KeywordsConverter converter;
      public void focusGained(FormEntry entry) {
        converter = new String2KeywordsConverter(composerPackage);
      }
     
View Full Code Here

Examples of com.dubture.composer.ui.editor.FormEntryAdapter

 
  private void createHomepageEntry(Composite client, FormToolkit toolkit) {
    homepageEntry = new WeblinkFormEntry(client, toolkit, "Homepage");
    homepageEntry.setValue(composerPackage.getHomepage());
   
    homepageEntry.addFormEntryListener(new FormEntryAdapter() {
      public void textValueChanged(FormEntry entry) {
        composerPackage.set("homepage", entry.getValue());
      }
    });
    composerPackage.addPropertyChangeListener("homepage", new PropertyChangeListener() {
View Full Code Here

Examples of com.dubture.composer.ui.editor.FormEntryAdapter

    new AutoCompleteField(licenseEntry.getText(), new LicenseContentAdapter(), ComposerConstants.LICENSES);
   
    final License2StringConverter converter = new License2StringConverter();
    licenseEntry.setValue(converter.convert(composerPackage.getLicense()), true);
   
    licenseEntry.addFormEntryListener(new FormEntryAdapter() {
      String2LicenseConverter converter;
      public void focusGained(FormEntry entry) {
        converter = new String2LicenseConverter(composerPackage);
      }
     
View Full Code Here

Examples of hidb2.gui.util.FormEntryAdapter

    Composite container = Parts.createStaticSectionClient(fde.toolkit, section);

    IActionBars actionBars = fde.getEditorSite().getActionBars();

    _fDescrColCount = new FormEntry(container, fde.toolkit, "Column Count", null, false);
    _fDescrColCount.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          _adLayout.setColumnCount(Integer.parseInt(entry.getValue()));
          }
      });

    _fDescrColCount.setEditable(fde.isEditable());

    _fDescrImgIdx = new FormEntry(container, fde.toolkit, "Image Index", null, false);
    _fDescrImgIdx.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          _adLayout.setImageIdx(Integer.parseInt(entry.getValue()));
          }
View Full Code Here

Examples of hidb2.gui.util.FormEntryAdapter

  private AttributTableViewer _tabvCdAttr;

  private void createNameEntry(Composite client, IActionBars actionBars)
    {
    _fNameEntry = new FormEntry(client, toolkit, "Name", null, false);
    _fNameEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setName(entry.getValue());
          getFD().modify();
View Full Code Here

Examples of hidb2.gui.util.FormEntryAdapter

    }

  private void createCmtEntry(Composite client, IActionBars actionBars)
    {
    _fCmtEntry = new FormEntry(client, toolkit, "Comment", null, false);
    _fCmtEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setComment(entry.getValue());
          getFD().modify();
View Full Code Here

Examples of hidb2.gui.util.FormEntryAdapter

    }

  private void createLabelIdxEntry(Composite client, IActionBars actionBars)
    {
    _fIdxLabelEntry = new FormEntry(client, toolkit, "Label Index", null, false);
    _fIdxLabelEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setLabelAttrIndex(Integer.parseInt(entry.getValue()));
          getFD().modify();
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.