Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LabeledText doesn't always find a labeled text #162

Closed
jjankovi opened this issue May 22, 2013 · 4 comments
Closed

LabeledText doesn't always find a labeled text #162

jjankovi opened this issue May 22, 2013 · 4 comments
Assignees
Milestone

Comments

@jjankovi
Copy link
Contributor

Problem si in method WidgetHandler.getInstance().getLabel(). It only tries to retrieve children from direct parent, but if direct parent isn't the one containing both text and label SWTLayerException will be thrown.

@ghost ghost assigned rawagner May 22, 2013
@rawagner
Copy link
Member

can you please provide steps how to reproduce ? In which wizard is this happening ?

@jjankovi
Copy link
Contributor Author

EXEC: create CDI Web Project
EXEC: open beans.xml (WebContent -> WEB-INF -> beans.xml)
EXEC: in Beans XML 1.0 Editor select "Tree" tab in the bottom of editor
EXEC: in editor, click on beans.xml treeitem, open its context menu and select New -> Weld -> Scan...
EXEC: on created Scan treeitem open context menu Add Include/Exclude
EXEC: on dialog with title Add Include/Exclude there is a labeled text Name:* -> this text cannot be found with our LabeledText("Name:*") constructor

@rawagner
Copy link
Member

rawagner commented Aug 1, 2013

This is because that shell has a very weird structure. The decision after discussion is that this is not going to be fixed.

@rawagner rawagner closed this as completed Aug 1, 2013
@rawagner
Copy link
Member

rawagner commented Aug 1, 2013

You need to use widget's index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants