final Button checkbox= new Button(composite, SWT.CHECK); checkbox.setText(RefactoringMessages.getString("UseSupertypeInputPage.Use_in_instanceof")); checkbox.setLayoutData(new GridData()); checkbox.setSelection(getUseSupertypeRefactoring().getUseSupertypeInInstanceOf()); checkbox.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { getUseSupertypeRefactoring().setUseSupertypeInInstanceOf(checkbox.getSelection()); setMessage(MESSAGE); setPageComplete(true); fFileCount.clear(); fTableViewer.refresh(); } });
		public void createControl(Composite parent) {			Composite composite= new Composite(parent, SWT.NONE);			setControl(composite);			composite.setLayout(new GridLayout());					final Button checkbox= new Button(composite, SWT.CHECK);			checkbox.setText(RefactoringMessages.getString("UseSupertypeInputPage.Use_in_instanceof")); //$NON-NLS-1$			checkbox.setLayoutData(new GridData());			checkbox.setSelection(getUseSupertypeRefactoring().getUseSupertypeInInstanceOf());			checkbox.addSelectionListener(new SelectionAdapter(){				public void widgetSelected(SelectionEvent e) {					getUseSupertypeRefactoring().setUseSupertypeInInstanceOf(checkbox.getSelection());					setMessage(MESSAGE);					setPageComplete(true);					fFileCount.clear();					fTableViewer.refresh();				}			});					Label label= new Label(composite, SWT.NONE);			label.setText(RefactoringMessages.getString("UseSupertypeInputPage.Select_supertype_to_use")); //$NON-NLS-1$			label.setLayoutData(new GridData());					addTableComponent(composite);			Dialog.applyDialogFont(composite);		}