Mercurial > hg > RemoteEditor > Eclipse
changeset 210:6c194d94fc43
Merge with 12259860a143ecefd64205fa2b8ef5533990d9d2
author | dimolto |
---|---|
date | Sun, 19 Dec 2010 14:25:36 +0900 |
parents | a853f36c238c (current diff) 12259860a143 (diff) |
children | 399682d17382 |
files | |
diffstat | 3 files changed, 2 insertions(+), 40 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/Activator.java Sun Dec 19 14:23:37 2010 +0900 +++ b/src/remoteeditor/Activator.java Sun Dec 19 14:25:36 2010 +0900 @@ -1,4 +1,4 @@ -package remoteeditor; + package remoteeditor; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin;
--- a/src/remoteeditor/ui/CommitDialog.java Sun Dec 19 14:23:37 2010 +0900 +++ b/src/remoteeditor/ui/CommitDialog.java Sun Dec 19 14:25:36 2010 +0900 @@ -1,13 +1,8 @@ package remoteeditor.ui; import org.eclipse.jface.dialogs.Dialog; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Shell; -import org.eclipse.swt.widgets.Text; + public class CommitDialog extends Dialog{ @@ -16,36 +11,4 @@ // TODO Auto-generated constructor stub } - private class TextBox implements ModifyListener{ - - private final Text fTextField; - private final String fMessage; - private String fText; - - public TextBox(Composite composite, String message, String initialText){ - - fMessage = message; - fText = initialText; - fTextField = new Text(composite, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL | SWT.WRAP ); - setText(initialText); - fTextField.addModifyListener(this); - } - - private void setText(String initialText) { - // TODO Auto-generated method stub - - } - - public void modifyText(ModifyEvent e) { - // TODO Auto-generated method stub - final String old = fText; - fText = fTextField.getText(); - - } - public void setEnabled(boolean enabled){ - fTextField.setEditable(enabled); - } - - } - }
--- a/src/remoteeditor/ui/TestDialog.java Sun Dec 19 14:23:37 2010 +0900 +++ b/src/remoteeditor/ui/TestDialog.java Sun Dec 19 14:25:36 2010 +0900 @@ -1,7 +1,6 @@ package remoteeditor.ui; import org.eclipse.jface.dialogs.Dialog; -import org.eclipse.jface.window.IShellProvider; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.layout.GridData;