jface Questions

2

Solved

Qt solution is a single call to resizeColumnsToContent(), in .NET one can use TextRenderer.MeasureText(), JTable could use AUTO_RESIZE_ALL_COLUMNS. In SWT, is there a way to programmaticaly resize...
Vega asked 6/7, 2010 at 12:59

3

Solved

I am building an Eclipse RCP application and am having trouble on settings the size of a JFace Wizard.
Lehman asked 29/7, 2010 at 21:24

4

Solved

I am applying a ViewerFilter to a tree of a few branches, but mostly leaves. The filter really applies to the leaves, using properties within the leaf. All branches are left untouched so that their...
Foreyard asked 23/6, 2009 at 22:20

1

Solved

Is it possible to get multiline (say 2-line) row in JFace tableViewer? I want my long text part spreaded between two lines, and my short lines aligner vertically in the cell. How can I achive that ...
Dowzall asked 13/11, 2011 at 21:25

2

Solved

I'm working on an Eclipse plugin (or in fact, a plugin for an Eclipse-based application) which needs some configuration to be entered by the user. From looking at the documentation, there seem to ...
Touchmenot asked 26/4, 2011 at 15:22

1

Solved

I have a scrolled composite ,it contains a tableViewer. My requirement is that if the table is increased in width,the scroll composite should not show horizontal scroll ,but it should expand to fit...
Mon asked 13/10, 2011 at 5:23

1

Solved

I created a SWT based Wizard which has an own help Button by custom. Now i want to put some content behind that, so maybe a SWT browser will be openend and a predifined HTML Doc will be shown. But ...
Clang asked 6/9, 2011 at 15:38

2

Solved

Simply put: Is there any way to create non-modal JFace dialog? I've tried calling setShellStyle to no avail. If I remember right this isn't a problem in swing - is this a shortcoming of SWT, or am ...
Cavite asked 26/4, 2011 at 21:13

1

Solved

I'm trying to detect click events on a Composite control that contains a number of other composites. I tried: topComposite.addMouseListener(new MouseListener() { ... @Override public void mouse...
Underprop asked 29/8, 2011 at 3:21

1

I have been trying to get the line number and column number of the cursor position in a jface TextEditor. I tried the function getCursorPosition(). But on printing this it shows just a "?". Please ...
Rework asked 26/7, 2011 at 9:14

4

Solved

I'm writing a wizard for an Eclipse RCP application. After doing some processing on a file and taking some user input, I don't want to let the user go back to make changes. At this point they must ...
Smoothen asked 5/9, 2008 at 13:48

2

I have a TableViewer with an ICellModifier which seems to work fine. I set an ICellEditorValidator on one of the cell editors, though, and I can't get it to behave the way I would like. Here's my a...
Conney asked 20/5, 2009 at 22:3

1

Solved

I use a TableViewer with two columns. The first should contain text and the second an image depending on the state of the object. The label provider is a custom provider which extends LabelProvider...
Ardelia asked 16/6, 2011 at 12:1

2

Solved

I want to add in a SWT/JFace application a search functionality that filter a TableViewer as the user enter text in the search text field. final Text filterText = new Text(parent, SWT.NONE); filte...
Terraqueous asked 23/5, 2011 at 9:20

1

Solved

I how it's possible to setup non resizable window with JFace API. Consider code below that creates application window. I can't find any methods to setup window as not resizable on shell object or a...
Whorehouse asked 4/3, 2011 at 8:47

1

Solved

What is the difference betweem the following: TreeViewer & Tree TableViewer & Table TreeViewerColumn & TreeColumn TableViewerColumn & TableColumn When to use viewer & regula...
Lisalisabet asked 26/2, 2011 at 7:9

3

Solved

I use the org.eclipse.core.databinding framework to bind some Text fields in an SWT application. I add an update strategy to validate the data and to set the value on the model only when the user c...
Continuum asked 29/7, 2010 at 15:18

3

Solved

Are there any all-in-one JFace controls example out there like the SWT Examples in Eclipse? Searching (googling and searching here on stackoverflow.com) did not help me. It would be nice if it was...
Albers asked 27/12, 2009 at 12:20

2

Solved

Please forgive such a simple question, I've been away from RCP for about a year: What shortcut/hot-key combination can I use in Eclipse to discover the plugin that contributed/owns the current vie...
Alcheringa asked 22/12, 2010 at 17:57

3

Problem: I need an SWT Table (JFace TableViewer) with variable row height. In fact, I solved this on my development machine (running Ubuntu 10.10). Unfortunately, this doesn't work on Windows nor o...
Europeanize asked 2/11, 2010 at 21:4

1

Solved

How can I make a hyperlink in a JFace Dialog that when clicked opens the link in the default web browser. A full example would be useful. I know there is a org.eclipse.jface.text.hyperlink package ...
Millham asked 19/10, 2010 at 13:5

2

Solved

I want to create an InputDialog with custom labels for the OK/Cancel buttons. I'm using org.eclipse.jface.dialogs.InputDialog. I tried to override the button creation method: @Override protecte...
Zwick asked 11/8, 2010 at 15:19

2

Solved

I am set to create a file explorer using Java. The aim is to emulate the behavior of the default explorer as closely as possible, whatever may be the underlying OS. I have done NO GUI programming ...
Paver asked 26/5, 2010 at 15:56

4

Solved

I wonder someone has any idea how to solve this: In my Java Eclipse plugin there are some processes which take some time. Therefore the user might minimize the window and let the process run in the...
Vesuvianite asked 5/5, 2010 at 12:58

3

Solved

How would you go about displaying huge amount of rows in SWT table? Huge is something above 20K rows, 20 columns. Don't ask me why I need to show that much data, it's not the point. The point is ho...
Tranquillize asked 13/11, 2009 at 0:13

© 2022 - 2024 — McMap. All rights reserved.