Examples of IPropertySheetEntry


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

     * @param node the entry or category
     * @param item the tree item being updated
     */
    private void updatePlus(Object node, TreeItem item) {
        // cast the entry or category
        IPropertySheetEntry entry = null;
        PropertySheetCategory category = null;
        if (node instanceof IPropertySheetEntry) {
      entry = (IPropertySheetEntry) node;
    } else {
      category = (PropertySheetCategory) node;
    }

        boolean hasPlus = item.getItemCount() > 0;
        boolean needsPlus = category != null || entry.hasChildEntries();
        boolean removeAll = false;
        boolean addDummy = false;

        if (hasPlus != needsPlus) {
            if (needsPlus) {
View Full Code Here

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

    }

    @Override
    public void run()
    {
        IPropertySheetEntry entry = getPropertySheetEntry();
        if ( entry == null )
        {
            return;
        }
        PropertyContainer propertyContainer = getPropertyContainer();
View Full Code Here

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

        {
            MessageDialog.openError( null, "Error",
                "The selection is not in a property sheet." );
            return null;
        }
        IPropertySheetEntry entry = (IPropertySheetEntry) firstElement;
        if ( entry.getEditor( parent ) == null )
        {
            MessageDialog.openError( null, "Error",
                "This item can not be changed." );
            return null;
        }
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.