import com.google.gwt.event.dom.client.KeyCodes;\r
import com.google.gwt.user.client.Event.NativePreviewEvent;\r
import com.google.gwt.user.client.ui.DialogBox;\r
-import com.google.gwt.user.client.ui.FlowPanel;\r
-import com.google.gwt.user.client.ui.TabPanel;\r
-import com.google.gwt.user.client.ui.TextBox;\r
+import com.google.gwt.user.client.ui.VerticalPanel;\r
\r
/**\r
* Abstract class, parent of all 'File properties' dialog boxes.\r
\r
protected static final String MULTIPLE_VALUES_TEXT = "(Multiple values)";\r
\r
- /**\r
- * Text box with the tags associated with the file\r
- */\r
- protected TextBox tags = new TextBox();\r
-\r
- protected String initialTagText;\r
-\r
- /**\r
- * A FlowPanel with all user tags\r
- */\r
- protected FlowPanel allTagsContent;\r
-\r
-\r
- protected TabPanel inner = null;\r
+ protected VerticalPanel inner = null;\r
\r
protected Pithos app;\r
\r
switch (evt.getKeyCode()) {\r
case KeyCodes.KEY_ENTER:\r
accept();\r
- case KeyCodes.KEY_ESCAPE:\r
+ //$FALL-THROUGH$\r
+ case KeyCodes.KEY_ESCAPE:\r
closeDialog();\r
break;\r
}\r
}\r
\r
-\r
-\r
- public void selectTab(int _tab) {\r
- inner.selectTab(_tab);\r
- }\r
-\r
-\r
/**\r
* Enables IE selection prevention and hides the dialog\r
* (we disable the prevention on creation of the dialog)\r