Show LinkInfoDialog.java syntax highlighted
package fitEditor.dialogs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Dialog;
import org.eclipse.swt.widgets.Shell;
public class LinkInfoDialog extends Dialog{
public LinkInfoDialog(Shell parent) {
// Pass the default styles here
this(parent, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);
}
public LinkInfoDialog(Shell parent, int style)
{
// Let users override the default styles
super(parent, style);
setText("Input Dialog");
}
}
See more files for this project here