Package org.sintef.umt.propertyeditor

Examples of org.sintef.umt.propertyeditor.PropertyEditor$PropertyCellEditor


      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


  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

 
  /**
   * 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

   * @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

Related Classes of org.sintef.umt.propertyeditor.PropertyEditor$PropertyCellEditor

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.