本文整理汇总了Java中org.esa.snap.ui.ModelessDialog类的典型用法代码示例。如果您正苦于以下问题:Java ModelessDialog类的具体用法?Java ModelessDialog怎么用?Java ModelessDialog使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelessDialog类属于org.esa.snap.ui包,在下文中一共展示了ModelessDialog类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addIcon
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
protected void addIcon(final ModelessDialog dlg) {
String iconName = getIcon();
if (iconName == null) {
//setIcon(dlg, IconUtils.esaPlanetIcon);
} else if (iconName.equals("esaIcon")) {
setIcon(dlg, esaPlanetIcon);
} else if (iconName.equals("rstbIcon")) {
setIcon(dlg, rstbIcon);
} else if (iconName.equals("geoAusIcon")) {
setIcon(dlg, geoAusIcon);
} else {
final ImageIcon icon = UIUtils.loadImageIcon(iconName, OperatorAction.class);
if (icon != null)
setIcon(dlg, icon);
}
}
示例2: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
@Override
protected ModelessDialog createOperatorDialog() {
RadiometricIndicesDialog productDialog = new RadiometricIndicesDialog(getOperatorName(), getAppContext(), getDialogTitle(), getHelpId());
if (getTargetProductNameSuffix() != null) {
productDialog.setTargetProductNameSuffix(getTargetProductNameSuffix());
}
return productDialog;
}
示例3: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
@Override
protected ModelessDialog createOperatorDialog() {
GenericRegionMergingTargetProductDialog productDialog = new GenericRegionMergingTargetProductDialog(getOperatorName(), getAppContext(), getDialogTitle(), getHelpId());
if (getTargetProductNameSuffix() != null) {
productDialog.setTargetProductNameSuffix(getTargetProductNameSuffix());
}
return productDialog;
}
示例4: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
@Override
protected ModelessDialog createOperatorDialog() {
ReflectanceTargetProductDialog productDialog = new ReflectanceTargetProductDialog(getOperatorName(), getAppContext(), getDialogTitle(), getHelpId());
if (getTargetProductNameSuffix() != null) {
productDialog.setTargetProductNameSuffix(getTargetProductNameSuffix());
}
return productDialog;
}
示例5: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
protected ModelessDialog createOperatorDialog() {
setHelpId(getPropertyString("helpId"));
final SingleOperatorDialog productDialog = new SingleOperatorDialog(getOperatorName(), getAppContext(),
getDialogTitle(), getHelpId());
if (getTargetProductNameSuffix() != null) {
productDialog.setTargetProductNameSuffix(getTargetProductNameSuffix());
}
addIcon(productDialog);
return productDialog;
}
示例6: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
@Override
protected ModelessDialog createOperatorDialog() {
setHelpId(getPropertyString("helpId"));
final GraphBuilderDialog dialog = new GraphBuilderDialog(getAppContext(), getDialogTitle(), getHelpId(), isEditingEnabled());
dialog.show();
final File graphPath = GraphBuilderDialog.getInternalGraphFolder();
final File graphFile = new File(graphPath, getGraphFileName());
addIcon(dialog);
dialog.LoadGraph(graphFile);
return dialog;
}
示例7: createOperatorDialog
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
protected ModelessDialog createOperatorDialog() {
DefaultSingleTargetProductDialog productDialog = new DefaultSingleTargetProductDialog(getOperatorName(), getAppContext(),
getDialogTitle(), getHelpId());
if (getTargetProductNameSuffix() != null) {
productDialog.setTargetProductNameSuffix(getTargetProductNameSuffix());
}
return productDialog;
}
示例8: actionPerformed
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
@Override
public void actionPerformed(ActionEvent event) {
ModelessDialog dialog = createOperatorDialog();
dialog.show();
}
示例9: setIcon
import org.esa.snap.ui.ModelessDialog; //导入依赖的package包/类
private static void setIcon(final ModelessDialog dlg, final ImageIcon ico) {
if (ico == null) return;
dlg.getJDialog().setIconImage(ico.getImage());
}