Révision 1476
tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/debug/TXMEditorSWTDebugView.java (revision 1476) | ||
---|---|---|
55 | 55 |
import org.eclipse.ui.PlatformUI; |
56 | 56 |
import org.eclipse.ui.part.ViewPart; |
57 | 57 |
import org.txm.rcp.editors.TXMEditor; |
58 |
import org.txm.rcp.editors.TXMMultiPageEditor; |
|
58 | 59 |
import org.txm.rcp.swt.GLComposite; |
59 | 60 |
|
60 | 61 |
|
... | ... | |
262 | 263 |
// System.out.println("partActivated: "+part); |
263 | 264 |
if (part instanceof TXMEditor) { |
264 | 265 |
treeViewer.setInput(part); |
266 |
} else if (part instanceof TXMMultiPageEditor) { |
|
267 |
TXMMultiPageEditor tmpe = (TXMMultiPageEditor)part; |
|
268 |
part = tmpe.getMainEditorPart(); |
|
269 |
if (part instanceof TXMEditor) { |
|
270 |
treeViewer.setInput(part); |
|
271 |
} |
|
265 | 272 |
} |
266 | 273 |
} |
267 | 274 |
|
Formats disponibles : Unified diff