Examples of PropertyEditor


Examples of nz.govt.natlib.meta.ui.tree.PropertyEditor

  private class PropertyWizardItem extends WizardItem {

    PropertyEditor editor = null;

    PropertyWizardItem(PropertyContainer properties) {
      editor = new PropertyEditor(properties);
    }
View Full Code Here

Examples of org.apache.ojb.tools.mapping.reversedb2.propertyEditors.PropertyEditor

                {
                    if(!this.hmPropertyEditors.containsKey(p.getPropertyEditorClass()))
                    {
                        this.hmPropertyEditors.put(p.getPropertyEditorClass(), p.getPropertyEditorClass().newInstance());
                    }
                    PropertyEditor propertyEditor = (PropertyEditor)hmPropertyEditors.get(p.getPropertyEditorClass());
                    this.jScrlProperty.setViewportView(propertyEditor);
                    propertyEditor.setEditorTarget(p);
                }
                catch (Throwable t)
                {
                    t.printStackTrace();
                    this.jScrlProperty.setViewportView(null);
View Full Code Here

Examples of org.apdplat.platform.criteria.PropertyEditor

     * @return 数据字典项
     */
    public DicItem getDicItemByCode(String dicEnglish,String code){
        LOG.debug("根据 数据字典英文名称 ["+dicEnglish+"] 以及 数据字典编码 ["+code+"] 查找 数据字典项");
        PropertyCriteria propertyCriteria=new PropertyCriteria(Criteria.and);
        propertyCriteria.addPropertyEditor(new PropertyEditor("dic.english",Operator.eq,dicEnglish));
        propertyCriteria.addPropertyEditor(new PropertyEditor("code",Operator.eq,"String",code));

        List<DicItem> page=serviceFacade.query(DicItem.class, null, propertyCriteria).getModels();
        if(page.size() != 1){
            return null;
        }
View Full Code Here

Examples of org.eclipse.wb.internal.core.model.property.editor.PropertyEditor

          properties.add(directionProperty);
        }
      }

      private Property createDirectionProperty(final WidgetInfo widget) throws Exception {
        PropertyEditor propertyEditor =
            new StringComboPropertyEditor("NORTH",
                "SOUTH",
                "WEST",
                "EAST",
                "CENTER",
View Full Code Here

Examples of org.jboss.as.console.client.shared.properties.PropertyEditor

            }
        });

        // ----

        propertyEditor = new PropertyEditor(this, true);

        // ----
        MultipleToOneLayout layoutBuilder = new MultipleToOneLayout()
                .setPlain(true)
                .setTitle("Resource Adapter")
View Full Code Here

Examples of org.openbp.jaspira.propertybrowser.editor.PropertyEditor

   *
   * @param event Event
   */
  public void defaultHandlePropertyBrowserEvent(PropertyBrowserEvent event)
  {
    PropertyEditor pe = event.propertyEditor;

    switch (event.eventType)
    {
    case PropertyBrowserEvent.PROPERTY_CHANGED:
      // TODO Feature 4: Later Sometime should go a request for an object lock here...
      fireObjectModified();
      break;

    case PropertyBrowserEvent.FOCUS_GAINED:
      currentPE = pe;

      // We should be able to save the object again if necessary
      saveDisabled = false;

      break;

    case PropertyBrowserEvent.FOCUS_LOST:
      // Save the property value when the focus gets lost

      // First, let the property editor's validator check the value and save the property to the object
      if (!pe.saveProperty())
        return;

      currentPE = null;

      if (objectModified)
View Full Code Here

Examples of org.sintef.umt.propertyeditor.PropertyEditor

      propvector.add(((PropertyGroup)props.next()).getItem());
    }     
    _propertylist = new JList (propvector);
    _propertylist.addListSelectionListener(this);
    _propertylist.setPreferredSize(new Dimension (100,70));     
    _propertyeditor = new PropertyEditor (_propertymanager);
    _propertyeditor.setNameEditable(false);   
    setPreferredColors(_propertyeditor);
    setPreferredColors(_propertylist);
     
    _notelabel = new JLabel ("");
View Full Code Here

Examples of org.sintef.umt.propertyeditor.PropertyEditor

  private Vector _projectlisteners;
  private PIMViewer _pimviewer;
 
  public ProjectManager (Component dialog_owner, PIMViewer pimviewer) {
    _propertymanager = new PropertyManager (_projectfile);
    _propertyeditor = new PropertyEditor (_propertymanager);
    _propertyeditor.setNameEditable(false);       
    _dialog_owner = dialog_owner;
    _projectlisteners = new Vector ();
    _projectlist = new JList ();
    _project_ids = new Vector ();               
View Full Code Here

Examples of org.sintef.umt.propertyeditor.PropertyEditor

 
  /**
   * Opens an editor for user/tool preferences.
   */
  private void showPreferences () {
    PropertyEditor editor = new PropertyEditor (preference_file);
    editor.setHeadings("Property name", "Property value");
    editor.setNameEditable(false);
    editor.setProperties("Preferences","","");         
    launchEditor (editor, "Edit Preferences");
    editor.getPropertyManager().storeProperties();   
  }
View Full Code Here

Examples of org.sintef.umt.propertyeditor.PropertyEditor

   * @param property
   * @return
   */
  public static String getProperty (String property) {
    try {
      PropertyEditor editor = new PropertyEditor (preference_file);   
      PropertyGroup pg = editor.getPropertyManager().getPropertyGroupForItem("Preferences");
      return pg.getProperty(property);
    } catch (Exception ex) {
      return "";
    }
  }
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.