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

Collapse All | Expand All

(-)plugin.properties (+2 lines)
Lines 1014-1016 Link Here
1014
1014
1015
#--- Work in Progress
1015
#--- Work in Progress
1016
contentAssistAdvancedName= Advanced
1016
contentAssistAdvancedName= Advanced
1017
1018
JavaPropertiesTab=Java
(-)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.JavaTab"
5493
            label="%JavaPropertiesTab"/>
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.JavaTab">
5502
            <input type="org.eclipse.jdt.core.IJavaElement"/>
5503
         </propertySection>
5504
      </propertySections>
5505
   </extension>
5482
     
5506
     
5483
</plugin>
5507
</plugin>
(-)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
(-)ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java (+15 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 2036-2045 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(buildTabbedPropertySheetPageContributor());
2045
		}
2039
2046
2040
		return super.getAdapter(required);
2047
		return super.getAdapter(required);
2041
	}
2048
	}
2042
2049
2050
	private ITabbedPropertySheetPageContributor buildTabbedPropertySheetPageContributor() {
2051
		return new ITabbedPropertySheetPageContributor() {
2052
			public String getContributorId() {
2053
				return "javaEditor"; //$NON-NLS-1$
2054
			}
2055
		};
2056
	}
2057
	
2043
	/**
2058
	/**
2044
	 * React to changed selection.
2059
	 * React to changed selection.
2045
	 *
2060
	 *

Return to bug 154781