Looking at the roadmap, I realize that there are plans for supporting the creation of propery/preference pages and views. Do you already have a timeframe for that type of functionality?
Thanks,
Boris
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
admin wrote:Views are supported in professional version.
admin wrote:Property/Preference pages will be supported, but we can not promise right now timeframe. In reallity you can designer them even right now, but without much comfort. Just implement needed method for creating controls for page and create new "container" Composite, i.e. something like this:
Control createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NONE);
return container;
}
After this Designer will able to edit method createControl.
package testPlugin;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
/**
* @author scheglov_ke
*/
public class TestView extends ViewPart {
public void createPartControl(Composite parent) {
final TableViewer tableViewer = new TableViewer(parent, SWT.FULL_SELECTION | SWT.MULTI);
final Table table = tableViewer.getTable();
table.setLinesVisible(true);
table.setHeaderVisible(true);
{
final TableColumn tableColumn = new TableColumn(table, SWT.NONE);
tableColumn.setWidth(100);
tableColumn.setText("New column");
}
{
final TableColumn tableColumn = new TableColumn(table, SWT.NONE);
tableColumn.setWidth(100);
tableColumn.setText("New column");
}
}
public void setFocus() {
}
}
admin wrote:Property/Preference pages will be supported, but we can not promise right now timeframe.
dv wrote:Any idea of the timeframe for supporting Property pages?
dv wrote:An idea of the timeframe for supporting property pages and/or field editors would help me chart out a migration path.
Eric Clayberg wrote:Property pages are supported right now. Field editors are on our short list of things we would like to add.
Users browsing this forum: Google [Bot] and 1 guest