@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = createOperatorDialog(); } dialog.show(); }
@Override public void close() { super.close(); ioForm.clear(); }
/** * This method is called, when the user clicks the "close" button of the bottom button row * or the "close" button of the top bar of the dialog window. It can also be called directly. * The method sets the button identifier to {@link #ID_CLOSE} and calls {@link #onClose()}. */ @Override public void close() { setButtonID(ID_CLOSE); onClose(); } }
public ModelessDialog(Window parent, String title, Object content, int buttonMask, Object[] otherButtons, String helpID) { this(parent, title, buttonMask, otherButtons, helpID); setContent(content); }
@Override public int show() { ioForm.addProduct(appContext.getSelectedProduct()); return super.show(); }
@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = new CollocationDialog(getAppContext()); } dialog.show(); } }
@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = new MosaicDialog("Mosaic", event.getCommand().getHelpId(), getAppContext()); } dialog.show(); }
@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = new BinningDialog(getAppContext(), "Binning", event.getCommand().getHelpId()); } dialog.show(); }
@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = new ReprojectionDialog(true, "Orthorectification", event.getCommand().getHelpId(), getAppContext()); } dialog.show(); }
@Override public void actionPerformed(CommandEvent event) { if (dialog == null) { dialog = new ReprojectionDialog(false, "Reprojection", event.getCommand().getHelpId(), getAppContext()); } dialog.show(); } }