|
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; |