Thanks. I will try.
Dan
Printable View
Thanks. I will try.
Dan
Can you make a little example with a combo widget?
It would be verry helpfully to have an example.
Thank you
Dan
public void createPartControl(Composite parent) {
CCombo combo = new CCombo(parent , SWT.BORDER);
combo.add("A");
combo.add("B");
combo.setEditable(false);
combo.getShell().addKeyListener(new KeyAdapter(){
@Override
public void keyPressed(KeyEvent event) {
if(event.keyCode==SWT.F1){
//your code
}
}
});
If u can send me the image of UI want to develop n requirements by drawing on paint , I can help u better.
I have to develop a interface like in the picture.
When i click an item from left view(Data-1 for example) instead of table view it would appear a view : Data-1.view. It is possible? It is complicated? For me it is very.
Thanks.
Dan
Y r u using 4 vies I think ur problem can be solved with 2 views , by breaking the 2nd view in different sections.
I think that is possible,but i do not know how to do it. Can you develop something like this?
Thanks
Dan
Ya i wll give u the code , just u hav 2 put in ur view , but nt nw , Ican help u 2mrrw.Dont worry :)
Thank you very much.
Best regards!
Dan
I have tested an tutorial from eclipse. But the part refered to "Test context help" it is not working. What are my mistakes?. I have atached what I have make.
What I do not understand is why when I activate dynamic help and I activate the Message window I do not becomme the refered message.
I must see "This is a sample...", but I only can see is "Click on any workbench part to show related help topics."
The tutorial can be found with google search : Article-AddingHelp To RCP
What is my mistake?
Regards
Dan
Hi ,
I looked at ur code n found that u hav nothing in contexts.xml ans second thing r u reffering this tutorial
Eclipse Corner Article: Adding Help Support to a Rich Client Application
I think this will solve your problem.
Just be clear with where u clicked and what result you expect
Hi,
I have another problem. I have to atach a dynamic help to a dialog.
I don-t know how to create a dialog window. When a click a link "New" from the view "Message" iI want to open a dialog and when i press "F1" it will be appear a help window atach to this dialog window.
If you can help me to resolve this problem, please help. You can use the project from the archive.
Thank you very much.
Dan
I dont think u can do that on dialog , i can tell u how to open a dialog but i m nt sure abt F1 help configuration on the dialog.
But if insteaf of "dialog" is "a new window - view (on top when is opened. access is denied when it is opened)" are possible to atach such a action"F1"?
Thank you for your help
Dan
But if insteaf of "dialog" is "a new window - view (on top when is opened. access is denied when it is opened)" are possible to atach such a action"F1"?
This code open a message dialog, but i want to put on dialog : label, combo, buttons.
link.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
MessageDialog.openInformation(getSite().getShell() , "OK", "!!!!!!!!!!!!!!!!!");
}
});
Here is a document wich describe the context sensitive help. "eclipse.org/datatools/doc/20080310_DTP_Help-Helper.pdf". I think that it is possible to atach but i do not know how to do it.
Thank you for your help
Dan
To see how the dynamic help function open a dialog into eclipse and press F1.You will see a help window atachaed to the dialog. So, it is possible, but how?