List of usage examples for org.eclipse.jface.viewers TreeSelection toString
@Override
public String toString()
From source file:org.isoe.diagraph.adapter.impl.DiagraphAdapter.java
License:Open Source License
private void handlePackageExplorerPart(TreeSelection ts) { if (ts != null && LOG) clog(ts.toString()); Diagram d = controler.getCurrentDiagram(); if (d == null) controler.setCurrentEcoreDiagram(null, null); else if (controler.isLanguageConfiguration()) { EcoreDiagramEditor ecoreDiagramEditor = controler.getEcoreDiagramEditor(); if (ecoreDiagramEditor != null) { if ((EPackage) ecoreDiagramEditor.getDiagram().getElement() != null && !controler.isUnderProject(ecoreDiagramEditor)) // FP130618 controler.setCurrentEcoreDiagram(null, null); }/*from w w w .j a v a 2 s . co m*/ } }