import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
private final static Log log = LogFactory.getLog(AdvancedFsBrowser.class);
// Some local constants to experiment. should be cleaned
- private final static int THUMBNAIL_WIDTH = 400;
+ // private final static int THUMBNAIL_WIDTH = 400;
+ // private Point imageWidth = new Point(250, 0);
+
private final static int COLUMN_WIDTH = 160;
private Path initialPath;
scrolledCmpBody = new Composite(scrolledCmp, SWT.NO_FOCUS);
scrolledCmp.setContent(scrolledCmpBody);
scrolledCmpBody.addControlListener(new ControlAdapter() {
+ private static final long serialVersionUID = 183238447102854553L;
@Override
public void controlResized(ControlEvent e) {
}
}
- private Point imageWidth = new Point(250, 0);
-
/**
* Recreates the content of the box that displays information about the
* current selected node.
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.events.KeyEvent;
// parent.layout(true, true);
}
+ public Viewer getViewer() {
+ return directoryDisplayViewer;
+ }
+
private void createContent(Composite parent) {
parent.setLayout(EclipseUiUtils.noSpaceGridLayout());