ISelectionChangedListener {
public static final String NAME = NewPageWizardFirstPage.class.getName();
// controls
- private Composite fComposite;
- private Text fProjectText;
- private Text fIdText;
- private Viewer fViewer;
+ private Composite fComposite = null;
+ private Text fProjectText = null;
+ private Text fIdText = null;
+ private Viewer fViewer = null;
// inputs
- private IProject fProject;
+ private IProject fProject = null;
protected NewPageWizardFirstPage(String pageName, String title, ImageDescriptor titleImage) {
super(pageName, title, titleImage);
return fIdText.getText();
}
- private class ProjectViewerContentsProvider implements IStructuredContentProvider {
+ private static class ProjectViewerContentsProvider implements IStructuredContentProvider {
/*
* (non-Javadoc)
*
}
}
- private static class ProjectViewerLabelProvider implements ILabelProvider {
+ private static class ProjectViewerLabelProvider implements ILabelProvider {
/*
* (non-Javadoc)
*
}
}
- private class ProjectViewerComparator extends ViewerComparator {
+ private static class ProjectViewerComparator extends ViewerComparator {
/*
* (non-Javadoc)
*
}
}
- private class ProjectViewerFilter extends ViewerFilter {
+ private static class ProjectViewerFilter extends ViewerFilter {
/*
* (non-Javadoc)
*
public class TemplateGroupComposite extends Composite implements SelectionListener,
ISelectionProvider, ISelectionChangedListener {
- private Composite fButtonComposite;
- private Button fAddButton;
- private Button fRemoveButton;
- private TableViewer fTemplateGroupViewer;
+ private Composite fButtonComposite = null;
+ private Button fAddButton = null;
+ private Button fRemoveButton = null;
+ private TableViewer fTemplateGroupViewer = null;
// Selection
private SelectionProviderAdapter fSelectionProvider = new SelectionProviderAdapter();
fRemoveButton.setEnabled(false);
}
- private class AddDialog extends Dialog implements ModifyListener {
- private String fName;
- private Text fText;
+ private static class AddDialog extends Dialog implements ModifyListener {
+ private String fName = null;
+ private Text fText = null;
public String getName() {
return fName;