Revision 46420
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.api/src/main/java/org/gvsig/featureform/swing/JFeaturesForm.java | ||
---|---|---|
52 | 52 |
|
53 | 53 |
public void showForm(MODE mode); |
54 | 54 |
|
55 |
public void showForm(String title, MODE mode); |
|
56 |
|
|
55 | 57 |
public void saveChanges(); |
56 | 58 |
|
57 | 59 |
public JDynFormSet getFormset(); |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/featureform/swing/impl/DefaultJFeaturesForm.java | ||
---|---|---|
635 | 635 |
|
636 | 636 |
@Override |
637 | 637 |
public void showForm(MODE mode) { |
638 |
String title = this.definition.getLabel(); |
|
639 |
showForm(title, mode); |
|
640 |
} |
|
641 |
|
|
642 |
public void showForm(String title, MODE mode) { |
|
638 | 643 |
WindowManager winmgr = ToolsSwingLocator.getWindowManager(); |
639 |
String title = this.definition.getLabel(); |
|
644 |
if( StringUtils.isBlank(title) ) { |
|
645 |
title = this.definition.getLabel(); |
|
646 |
} |
|
640 | 647 |
winmgr.showWindow(this.asJComponent(), title, mode); |
641 | 648 |
} |
642 | 649 |
|
Also available in: Unified diff