View | Details | Raw Unified | Return to bug 173302 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/ui/ide/IDE.java (+9 lines)
Lines 114-119 Link Here
114
			"org.eclipse.ui.internal.registry.ResourceEditorRegistry", "EditorProperty");//$NON-NLS-2$//$NON-NLS-1$
114
			"org.eclipse.ui.internal.registry.ResourceEditorRegistry", "EditorProperty");//$NON-NLS-2$//$NON-NLS-1$
115
115
116
	/**
116
	/**
117
	 * The persistent property key used on IProject resources to disable the
118
	 * Project References property page. Setting this property key to have the value
119
	 * "true" will result in the Project References page no longer being displayed in
120
	 * the project properties.
121
	 */
122
	public static final QualifiedName DISABLE_PROJECT_PREFERENCES_PAGE = new QualifiedName(
123
			"org.eclipse.ui.propertypages.project.reference", "notapplicable");//$NON-NLS-2$//$NON-NLS-1$
124
	
125
	/**
117
	 * An optional attribute within a workspace marker (<code>IMarker</code>)
126
	 * An optional attribute within a workspace marker (<code>IMarker</code>)
118
	 * which identifies the preferred editor type to be opened.
127
	 * which identifies the preferred editor type to be opened.
119
	 */
128
	 */
(-)plugin.xml (-1 / +12 lines)
Lines 536-542 Link Here
536
            name="%PropertyPages.project.reference"
536
            name="%PropertyPages.project.reference"
537
            >
537
            >
538
         <enabledWhen>
538
         <enabledWhen>
539
            <adapt type="org.eclipse.core.resources.IProject"/>
539
            <adapt
540
                  type="org.eclipse.core.resources.IProject">
541
               <and>
542
                  <not>
543
                     <test
544
                           args="org.eclipse.ui.propertypages.project.reference.notapplicable, true"
545
                           property="org.eclipse.core.resources.projectPersistentProperty"
546
                           >
547
                     </test>
548
                  </not>
549
               </and>
550
            </adapt>
540
         </enabledWhen>
551
         </enabledWhen>
541
      </page>
552
      </page>
542
      <page
553
      <page

Return to bug 173302