git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7127 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Brian Remedios
2010-09-10 09:27:29 +00:00
parent bc4305a73f
commit 39453cd5be

View File

@ -131,6 +131,7 @@ public class ASTViewPage extends AbstractStructureInspectorPage {
final Button methodBtn = new Button(titleArea, SWT.RADIO);
methodBtn.setText("Method");
methodBtn.setSelection(true);
methodBtn.addSelectionListener( new SelectionAdapter() {
public void widgetSelected(SelectionEvent se) {
methodSelector.setEnabled( methodBtn.getSelection() );
@ -313,7 +314,7 @@ public class ASTViewPage extends AbstractStructureInspectorPage {
italicFont = new Font(display, "Tahoma", 10, SWT.ITALIC);
labelStyle = new TextStyle(renderFont, display.getSystemColor(SWT.COLOR_BLACK), null);
imageStyle = new TextStyle(renderFont, display.getSystemColor(SWT.COLOR_BLUE), null);
derivedStyle = new TextStyle(italicFont, display.getSystemColor(SWT.COLOR_DARK_MAGENTA), null);
derivedStyle = new TextStyle(italicFont, display.getSystemColor(SWT.COLOR_GRAY), null);
}
public void dispose() {