home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.xml.BaseDeclaration;
- import javax.swing.JFrame;
- import javax.swing.text.JTextComponent;
-
- public class DeclTable$MiscCellDialog extends TextCellDialog {
- // $FF: synthetic field
- final DeclTable this$0;
- int row;
- int column;
-
- public DeclTable$MiscCellDialog(DeclTable var1, JFrame var2, SchemaDoc var3, BaseDeclaration var4, String var5) {
- super(var2, var3, var4, false, var5);
- this.this$0 = var1;
- }
-
- void setTableInfo(int var1, int var2) {
- this.row = var1;
- this.column = var2;
- }
-
- protected void doApply() {
- this.this$0.getModel().setValueAt(((CellDialog)this).getText(), this.row, this.column);
- super.doApply();
- }
-
- protected boolean doSave() {
- this.this$0.getModel().setValueAt(((CellDialog)this).getText(), this.row, this.column);
- JTextComponent var1 = this.this$0.getCellEditorAsJTextComponent();
- if (var1 != null) {
- var1.setText(((CellDialog)this).getText());
- }
-
- return true;
- }
- }
-