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

Collapse All | Expand All

(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 127-133 Link Here
127
 org.eclipse.ltk.ui.refactoring;bundle-version="[3.3.0,4.0.0)",
127
 org.eclipse.ltk.ui.refactoring;bundle-version="[3.3.0,4.0.0)",
128
 org.eclipse.ui.forms;bundle-version="[3.2.0,4.0.0)",
128
 org.eclipse.ui.forms;bundle-version="[3.2.0,4.0.0)",
129
 org.eclipse.ui.navigator;bundle-version="[3.2.0,4.0.0)",
129
 org.eclipse.ui.navigator;bundle-version="[3.2.0,4.0.0)",
130
 org.eclipse.jdt.core.manipulation;bundle-version="[1.1.0,2.0.0)"
130
 org.eclipse.jdt.core.manipulation;bundle-version="[1.1.0,2.0.0)",
131
 org.eclipse.ui.views.properties.tabbed;bundle-version="[3.2.0, 4.0.0)"
131
Eclipse-LazyStart: true
132
Eclipse-LazyStart: true
132
Plugin-Class: org.eclipse.jdt.internal.ui.JavaPlugin
133
Plugin-Class: org.eclipse.jdt.internal.ui.JavaPlugin
133
Import-Package: com.ibm.icu.text
134
Import-Package: com.ibm.icu.text
(-)plugin.xml (+24 lines)
Lines 5479-5483 Link Here
5479
	         </selectionEnablement>
5479
	         </selectionEnablement>
5480
      	</linkHelper>          
5480
      	</linkHelper>          
5481
 </extension>
5481
 </extension>
5482
 <extension
5483
       point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
5484
    <propertyContributor contributorId="javaEditor">
5485
       <propertyCategory category="java"/>
5486
    </propertyContributor>
5487
 </extension>
5488
   <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
5489
      <propertyTabs contributorId="javaEditor">
5490
         <propertyTab
5491
            category="java"
5492
               id="javaEditor.AdvancedTab"
5493
            label="Advanced"/>
5494
      </propertyTabs>
5495
   </extension>
5496
   <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
5497
      <propertySections contributorId="javaEditor">
5498
         <propertySection
5499
               class="org.eclipse.ui.views.properties.tabbed.AdvancedPropertySection"
5500
               id="javaEditor.AdvancedSection"
5501
               tab="javaEditor.AdvancedTab">
5502
            <input type="org.eclipse.jdt.core.IJavaElement"/>
5503
         </propertySection>
5504
      </propertySections>
5505
   </extension>
5482
     
5506
     
5483
</plugin>
5507
</plugin>
(-)ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java (-1 / +16 lines)
Lines 155-160 Link Here
155
155
156
import org.eclipse.ui.views.contentoutline.ContentOutline;
156
import org.eclipse.ui.views.contentoutline.ContentOutline;
157
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
157
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
158
import org.eclipse.ui.views.properties.IPropertySheetPage;
159
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
160
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
158
161
159
import org.eclipse.jdt.core.IClassFile;
162
import org.eclipse.jdt.core.IClassFile;
160
import org.eclipse.jdt.core.ICompilationUnit;
163
import org.eclipse.jdt.core.ICompilationUnit;
Lines 230-236 Link Here
230
/**
233
/**
231
 * Java specific text editor.
234
 * Java specific text editor.
232
 */
235
 */
233
public abstract class JavaEditor extends AbstractDecoratedTextEditor implements IViewPartInputProvider {
236
public abstract class JavaEditor extends AbstractDecoratedTextEditor implements IViewPartInputProvider, ITabbedPropertySheetPageContributor {
234
237
235
	/**
238
	/**
236
	 * Internal implementation class for a change listener.
239
	 * Internal implementation class for a change listener.
Lines 2036-2041 Link Here
2036
2039
2037
		if (required == IContextProvider.class)
2040
		if (required == IContextProvider.class)
2038
			return JavaUIHelp.getHelpContextProvider(this, IJavaHelpContextIds.JAVA_EDITOR);
2041
			return JavaUIHelp.getHelpContextProvider(this, IJavaHelpContextIds.JAVA_EDITOR);
2042
		
2043
		if (required == IPropertySheetPage.class) {
2044
			return new TabbedPropertySheetPage(this);
2045
		}
2039
2046
2040
		return super.getAdapter(required);
2047
		return super.getAdapter(required);
2041
	}
2048
	}
Lines 3841-3844 Link Here
3841
			extension.collapseComments();
3848
			extension.collapseComments();
3842
		}
3849
		}
3843
	}
3850
	}
3851
	
3852
	/*
3853
	 * @see org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor#getContributorId()
3854
	 * @since 3.3
3855
	 */
3856
	public String getContributorId() {
3857
		return "javaEditor"; //$NON-NLS-1$
3858
	}
3844
}
3859
}

Return to bug 154781