Examples of WorkbenchPartReference


Examples of org.eclipse.ui.internal.WorkbenchPartReference

        editorPane = pane;
        update();
    }

    public void run() {
        WorkbenchPartReference ref = (WorkbenchPartReference)editorPane.getPartReference();

        ref.setPinned(!isChecked());
    }
View Full Code Here

Examples of org.eclipse.ui.internal.WorkbenchPartReference

        if (editorPane == null) {
            setEnabled(false);
            return;
        }

        WorkbenchPartReference ref = (WorkbenchPartReference)editorPane.getPartReference();
        setEnabled(true);
        setChecked(ref.isPinned());
    }
View Full Code Here

Examples of org.eclipse.ui.internal.WorkbenchPartReference

           
            getPane().addPropertyListener(getPropertyListenerProxy());
        } else {
            getPane().removePropertyListener(getPropertyListenerProxy());
           
            WorkbenchPartReference ref = getPartReference();
            isBusy = getPane().isBusy();
            isDirty = ref.isDirty();
            name = ref.getPartName();
            titleStatus = ref.getContentDescription();
            hasViewMenu = getPane().hasViewMenu();
            firePropertyChange(PROP_TITLE);
            firePropertyChange(PROP_TOOLBAR);
        }
    }
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.