Package com.dubture.composer.ui.editor

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


 
  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

        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

    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

 
  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

    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

TOP

Related Classes of com.dubture.composer.ui.editor.FormEntryAdapter

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.