Revision 6880 trunk/applications/appgvSIG/src/com/lamatek/swingextras/JDateChooser.java
JDateChooser.java | ||
---|---|---|
28 | 28 |
import com.iver.andami.PluginServices; |
29 | 29 |
import com.iver.andami.Utilities; |
30 | 30 |
import com.iver.andami.ui.mdiManager.IWindow; |
31 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
31 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
32 | 32 |
|
33 | 33 |
/** |
34 | 34 |
* JDateChooser is a simple Date choosing component with similar functionality |
... | ... | |
227 | 227 |
*/ |
228 | 228 |
public void actionPerformed(ActionEvent e) { |
229 | 229 |
if (e.getSource() == okay) { |
230 |
PluginServices.getMDIManager().closeView(this);
|
|
230 |
PluginServices.getMDIManager().closeWindow(this);
|
|
231 | 231 |
} |
232 | 232 |
if (e.getSource() == cancel) { |
233 | 233 |
calendar = null; |
234 |
PluginServices.getMDIManager().closeView(this);
|
|
234 |
PluginServices.getMDIManager().closeWindow(this);
|
|
235 | 235 |
} |
236 | 236 |
if (e.getSource() == previousYear) { |
237 | 237 |
calendar.roll(Calendar.YEAR, -1); |
... | ... | |
263 | 263 |
} |
264 | 264 |
|
265 | 265 |
/** |
266 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#getViewInfo()
|
|
266 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
|
|
267 | 267 |
*/ |
268 |
public ViewInfo getViewInfo() {
|
|
269 |
ViewInfo m_viewinfo=new ViewInfo(ViewInfo.MODALDIALOG);
|
|
268 |
public WindowInfo getWindowInfo() {
|
|
269 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
|
270 | 270 |
m_viewinfo.setTitle(PluginServices.getText(this,"seleccione_fecha")); |
271 | 271 |
m_viewinfo.setWidth(400); |
272 | 272 |
m_viewinfo.setHeight(200); |
... | ... | |
275 | 275 |
} |
276 | 276 |
|
277 | 277 |
/** |
278 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#viewActivated()
|
|
278 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
|
|
279 | 279 |
*/ |
280 | 280 |
public void viewActivated() { |
281 | 281 |
} |
Also available in: Unified diff