Revision 31344
branches/v2_0_0_prep/libraries/libCorePlugin/src/org/gvsig/coreplugin/mdiManager/SingletonWindowSupport.java | ||
---|---|---|
124 | 124 |
return contentFrame.containsKey(swi); |
125 | 125 |
} |
126 | 126 |
|
127 |
public boolean contains(Class windowClass, Object model){ |
|
128 |
SingletonWindowInfo swi = new SingletonWindowInfo(windowClass, model); |
|
129 |
return contentFrame.containsKey(swi); |
|
130 |
} |
|
131 |
|
|
127 | 132 |
/** |
128 | 133 |
* DOCUMENT ME! |
129 | 134 |
* |
branches/v2_0_0_prep/libraries/libCorePlugin/src/org/gvsig/coreplugin/mdiManager/NewSkin.java | ||
---|---|---|
250 | 250 |
} |
251 | 251 |
} |
252 | 252 |
|
253 |
public IWindow getSingletonWindow(Class windowClass, Object model) { |
|
254 |
JInternalFrame frame = (JInternalFrame) sws.getFrame(windowClass,model); |
|
255 |
if( frame == null ) { |
|
256 |
return null; |
|
257 |
} |
|
258 |
return fws.getWindow((JInternalFrame) frame); |
|
259 |
} |
|
260 |
|
|
261 |
|
|
262 |
|
|
253 | 263 |
/* (non-javadoc) |
254 | 264 |
* @see com.iver.andami.ui.mdiManager.MDIManager#addWindow(com.iver.andami.ui.mdiManager.IWindow) |
255 | 265 |
*/ |
Also available in: Unified diff