// Attributes
// ------------------------------------------------------------------------
- /**
- * The dialog composite.
- */
- private Composite fDialogComposite;
-
/**
* A tree viewer for displaying and selection of available contexts.
*/
protected Control createDialogArea(Composite parent) {
// Main dialog panel
- fDialogComposite = new Composite(parent, SWT.NONE);
+ Composite dialogComposite = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout(1, true);
- fDialogComposite.setLayout(layout);
- fDialogComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
+ dialogComposite.setLayout(layout);
+ dialogComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
// Contexts list
- Group contextGroup = new Group(fDialogComposite, SWT.SHADOW_NONE);
+ Group contextGroup = new Group(dialogComposite, SWT.SHADOW_NONE);
contextGroup.setText(Messages.TraceControl_AddContextAvailableContextsLabel);
layout = new GridLayout(1, true);
contextGroup.setLayout(layout);
getShell().setMinimumSize(new Point(500, 450));
- return fDialogComposite;
+ return dialogComposite;
}
@Override
/**
* @return The name of this component
*/
- public String getName();
+ String getName();
/**
* @return The parent component
*/
- public Object getParent();
+ Object getParent();
/**
* @return The array of children of this component
*/
- public Object[] getChildren();
+ Object[] getChildren();
/**
* @return If this component has children or not
*/
- public boolean hasChildren();
+ boolean hasChildren();
}
}