Revision 25918 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/project/document/table/gui/FeatureTableDocumentPanel.java
FeatureTableDocumentPanel.java | ||
---|---|---|
117 | 117 |
|
118 | 118 |
// IWindow interface |
119 | 119 |
|
120 |
public WindowInfo getWindowInfo() {
|
|
121 |
if (windowInfo==null) {
|
|
122 |
windowInfo = new WindowInfo(WindowInfo.ICONIFIABLE
|
|
123 |
| WindowInfo.MAXIMIZABLE | WindowInfo.RESIZABLE);
|
|
120 |
public WindowInfo getWindowInfo() {
|
|
121 |
if (windowInfo == null) {
|
|
122 |
windowInfo = new WindowInfo(WindowInfo.ICONIFIABLE
|
|
123 |
| WindowInfo.MAXIMIZABLE | WindowInfo.RESIZABLE);
|
|
124 | 124 |
|
125 |
// TODO: RETURN MORE USEFUL INFO ABOUT DATA VIEWED AND ADD I18N FOR |
|
126 |
// TEXTS |
|
127 |
windowInfo.setTitle("Tabla"); |
|
125 |
// TODO: RETURN MORE USEFUL INFO ABOUT DATA VIEWED AND ADD I18N FOR |
|
126 |
// TEXTS |
|
127 |
if (this.model == null) { |
|
128 |
windowInfo.setTitle("Tabla"); |
|
129 |
} else { |
|
130 |
windowInfo.setTitle(this.model.getName()); |
|
131 |
} |
|
128 | 132 |
|
129 |
windowInfo.setWidth(DEFAULT_WIDTH);
|
|
130 |
windowInfo.setHeight(DEFAULT_HEIGHT);
|
|
131 |
}
|
|
132 |
return windowInfo;
|
|
133 |
}
|
|
133 |
windowInfo.setWidth(DEFAULT_WIDTH);
|
|
134 |
windowInfo.setHeight(DEFAULT_HEIGHT);
|
|
135 |
}
|
|
136 |
return windowInfo;
|
|
137 |
}
|
|
134 | 138 |
|
135 | 139 |
// SingletonWindow interface |
136 | 140 |
|
Also available in: Unified diff