Package org.eclipse.ui.views.properties

Examples of org.eclipse.ui.views.properties.PropertySheetEntry


  private PropertySheetEntry entry;

  public DialogEditor() {
    featureDisplay = new PropertySheetPage();
    entry = new PropertySheetEntry();
    featureDisplay.setRootEntry(entry);
  }
View Full Code Here


      setErrorMessage(null);
     
      // Update the status line
      if (item != null) {
        if (item.getData() instanceof PropertySheetEntry) {
          PropertySheetEntry psEntry = (PropertySheetEntry) item.getData();
         
          // For entries, show the description if any, else show the label
          String desc = psEntry.getDescription();
          if (desc != null && desc.length() > 0) {
          setMessage(psEntry.getDescription());
        } else {
          setMessage(psEntry.getDisplayName());
        }
        }
         
        else if (item.getData() instanceof PropertySheetCategory) {
          PropertySheetCategory psCat = (PropertySheetCategory) item.getData();
View Full Code Here

                setRestrictedEnabled( false );
                return;
            }
            if ( firstElement instanceof PropertySheetEntry )
            {
                PropertySheetEntry entry = (PropertySheetEntry) firstElement;
                if ( entry.getEditor( parent ) == null )
                {
                    setRestrictedEnabled( false );
                    return;
                }
            }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.views.properties.PropertySheetEntry

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.