Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TabbedPropertySheetPage reorganization
TabbedPropertySheetPage reorganization [message #334960] Thu, 12 March 2009 10:29
Robert is currently offline RobertFriend
Messages: 1
Registered: July 2009
Junior Member
Hello everybody,

I have some problems/questions with the
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge.

1. I want to use my Properties View on the bottom or on the right side of
my perspective. But when I move it from bottom to right there isn't a
reorganization of the view, I have to resize the view only then the
reorganization started. Is there a change to reorganize the Section after
I moved it?
My TestSection:

public class TestSection extends AbstractPropertySection {

@Override
public void createControls(Composite parent,
final TabbedPropertySheetPage tabbedPropertySheetPage) {
super.createControls(parent, tabbedPropertySheetPage);
final Composite composite = getWidgetFactory().createComposite(parent);

composite.addControlListener(new ControlListener() {
@Override
public void controlMoved(ControlEvent e) {
}
@Override
public void controlResized(ControlEvent e) {
int width = composite.getBounds().width;
System.err.println(width);
System.err.println(composite.getBounds().height);
if (width < 400)
composite.setLayout(new GridLayout(2, false));
else
composite.setLayout(new GridLayout(4, false));
}});

GridLayout gridLayout = new GridLayout(2, false);
gridLayout.verticalSpacing = 2;
composite.setLayout(gridLayout);

CLabel label = getWidgetFactory().createCLabel(composite, "Label:");
Text text = getWidgetFactory().createText(composite, "");
text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));

label = getWidgetFactory().createCLabel(composite, "Label:");
text = getWidgetFactory().createText(composite, "");
text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
...
}
}

2. The Scroll Speed of the Properties View is very slow. How can I make it
faster?

3. Is it possible to move the tabfolders of the TabbedPropertySheetPage
from the left side to the top of the View?

If someone know some advise on resolving this problem it would be greatly
appreciated. Thanks!

Robert
Previous Topic:XML and Content Types
Next Topic:[DataBindings] validation in inline editing
Goto Forum:
  


Current Time: Mon Nov 24 12:37:27 GMT 2014

Powered by FUDForum. Page generated in 0.01580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software