Results 21 to 37 of 37
- 03-30-2009, 02:56 PM #21
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
- 03-30-2009, 03:07 PM #22
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
Can you make a little example with a combo widget?
It would be verry helpfully to have an example.
Thank you
Dan
- 03-30-2009, 03:41 PM #23
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
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
}
}
});
- 03-30-2009, 03:42 PM #24
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
If u can send me the image of UI want to develop n requirements by drawing on paint , I can help u better.
- 03-30-2009, 04:09 PM #25
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
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.
DanLast edited by dand_dd; 03-30-2009 at 04:14 PM.
- 03-30-2009, 04:15 PM #26
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
Y r u using 4 vies I think ur problem can be solved with 2 views , by breaking the 2nd view in different sections.
- 03-30-2009, 04:36 PM #27
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
I think that is possible,but i do not know how to do it. Can you develop something like this?
Thanks
Dan
- 03-30-2009, 04:40 PM #28
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
Ya i wll give u the code , just u hav 2 put in ur view , but nt nw , Ican help u 2mrrw.Dont worry :)
- 03-30-2009, 04:43 PM #29
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
Thank you very much.
Best regards!
Dan
- 04-01-2009, 09:22 AM #30
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
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
- 04-01-2009, 10:52 AM #31
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
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.
- 04-01-2009, 11:00 AM #32
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
Just be clear with where u clicked and what result you expect
- 04-22-2009, 11:49 AM #33
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
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
- 04-22-2009, 12:43 PM #34
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
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.
- 04-22-2009, 12:52 PM #35
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
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
- 04-22-2009, 01:00 PM #36
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
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
- 04-24-2009, 09:05 AM #37
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
Similar Threads
-
User Interface
By swikar.java in forum Advanced JavaReplies: 16Last Post: 12-09-2008, 02:37 PM -
Multiple line user input
By jointhelabel in forum New To JavaReplies: 3Last Post: 10-26-2008, 02:41 AM -
J2ME User Interface Developer
By mobileapps in forum Jobs OfferedReplies: 0Last Post: 10-03-2008, 12:43 PM -
user interface development using JSP
By pradeep1_mca@yahoo.com in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 06-02-2008, 01:48 PM -
Help user interface
By carl in forum New To JavaReplies: 1Last Post: 07-31-2007, 07:58 PM
Bookmarks