Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 317505 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/common/project/facet/ui/internal/JavaFacetInstallPage.properties (+1 lines)
Lines 2-7 Link Here
2
pageDescription = Configure project for building a Java application.
2
pageDescription = Configure project for building a Java application.
3
defaultOutputFolderLabel = &Default output folder\:
3
defaultOutputFolderLabel = &Default output folder\:
4
sourceFoldersLabel = &Source folders on build path\:
4
sourceFoldersLabel = &Source folders on build path\:
5
sourceFoldersAccessibilityLabel = Source folders on build path
5
addFolderButton = &Add Folder...
6
addFolderButton = &Add Folder...
6
editButton = &Edit...
7
editButton = &Edit...
7
removeButton = &Remove
8
removeButton = &Remove
(-)src/org/eclipse/jst/common/project/facet/ui/internal/JavaFacetInstallPage.java (-2 / +8 lines)
Lines 47-52 Link Here
47
import org.eclipse.jst.common.project.facet.core.JavaFacetInstallConfig;
47
import org.eclipse.jst.common.project.facet.core.JavaFacetInstallConfig;
48
import org.eclipse.osgi.util.NLS;
48
import org.eclipse.osgi.util.NLS;
49
import org.eclipse.swt.SWT;
49
import org.eclipse.swt.SWT;
50
import org.eclipse.swt.accessibility.AccessibleAdapter;
51
import org.eclipse.swt.accessibility.AccessibleEvent;
50
import org.eclipse.swt.events.DisposeEvent;
52
import org.eclipse.swt.events.DisposeEvent;
51
import org.eclipse.swt.events.DisposeListener;
53
import org.eclipse.swt.events.DisposeListener;
52
import org.eclipse.swt.events.ModifyEvent;
54
import org.eclipse.swt.events.ModifyEvent;
Lines 128-138 Link Here
128
        final Label sourceFoldersLabel = new Label( composite, SWT.NONE );
130
        final Label sourceFoldersLabel = new Label( composite, SWT.NONE );
129
        sourceFoldersLabel.setLayoutData( gdhspan( gd(), 2 ) );
131
        sourceFoldersLabel.setLayoutData( gdhspan( gd(), 2 ) );
130
        sourceFoldersLabel.setText( Resources.sourceFoldersLabel );
132
        sourceFoldersLabel.setText( Resources.sourceFoldersLabel );
131
        
132
        this.sourceFoldersTreeViewer = new TreeViewer( composite, SWT.BORDER );
133
        this.sourceFoldersTreeViewer = new TreeViewer( composite, SWT.BORDER );
133
        this.sourceFoldersTree = this.sourceFoldersTreeViewer.getTree();
134
        this.sourceFoldersTree = this.sourceFoldersTreeViewer.getTree();
134
        this.sourceFoldersTree.setLayoutData( gdfill() );
135
        this.sourceFoldersTree.setLayoutData( gdfill() );
135
        
136
        this.sourceFoldersTree.getAccessible().addAccessibleListener(
137
        		new AccessibleAdapter() {			
138
        			public void getName(AccessibleEvent e) {
139
        				e.result = Resources.sourceFoldersAccessibilityLabel;
140
        		}});
136
        this.sourceFoldersTreeViewer.setContentProvider( new SourceFoldersContentProvider() );
141
        this.sourceFoldersTreeViewer.setContentProvider( new SourceFoldersContentProvider() );
137
        this.sourceFoldersTreeViewer.setLabelProvider( new SourceFoldersLabelProvider() );
142
        this.sourceFoldersTreeViewer.setLabelProvider( new SourceFoldersLabelProvider() );
138
        this.sourceFoldersTreeViewer.setInput( new Object() );
143
        this.sourceFoldersTreeViewer.setInput( new Object() );
Lines 456-461 Link Here
456
        public static String pageDescription;
461
        public static String pageDescription;
457
        public static String defaultOutputFolderLabel;
462
        public static String defaultOutputFolderLabel;
458
        public static String sourceFoldersLabel;
463
        public static String sourceFoldersLabel;
464
        public static String sourceFoldersAccessibilityLabel;
459
        public static String addFolderButton;
465
        public static String addFolderButton;
460
        public static String editButton;
466
        public static String editButton;
461
        public static String removeButton;
467
        public static String removeButton;

Return to bug 317505