# HG changeset patch # User dimolto # Date 1292736336 -32400 # Node ID 6c194d94fc4329a228c0dfa059f5818fd760fd3e # Parent a853f36c238ce4ce42807432db78aa1efcb1f347# Parent 12259860a143ecefd64205fa2b8ef5533990d9d2 Merge with 12259860a143ecefd64205fa2b8ef5533990d9d2 diff -r a853f36c238c -r 6c194d94fc43 src/remoteeditor/Activator.java --- 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; diff -r a853f36c238c -r 6c194d94fc43 src/remoteeditor/ui/CommitDialog.java --- 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); - } - - } - } diff -r a853f36c238c -r 6c194d94fc43 src/remoteeditor/ui/TestDialog.java --- 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;