Page 2 of 2 FirstFirst 12
Results 21 to 37 of 37
  1. #21
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

  2. #22
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    Can you make a little example with a combo widget?

    It would be verry helpfully to have an example.

    Thank you

    Dan

  3. #23
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    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
    }

    }
    });

  4. #24
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    If u can send me the image of UI want to develop n requirements by drawing on paint , I can help u better.

  5. #25
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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
    Attached Thumbnails Attached Thumbnails Multiple views on user interface application-rcp.jpg  
    Last edited by dand_dd; 03-30-2009 at 05:14 PM.

  6. #26
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    Y r u using 4 vies I think ur problem can be solved with 2 views , by breaking the 2nd view in different sections.

  7. #27
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    I think that is possible,but i do not know how to do it. Can you develop something like this?

    Thanks

    Dan

  8. #28
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    Ya i wll give u the code , just u hav 2 put in ur view , but nt nw , Ican help u 2mrrw.Dont worry :)

  9. #29
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    Thank you very much.

    Best regards!

    Dan

  10. #30
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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
    Attached Files Attached Files

  11. #31
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    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.

  12. #32
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    Just be clear with where u clicked and what result you expect

  13. #33
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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
    Attached Files Attached Files

  14. #34
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default

    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.

  15. #35
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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

  16. #36
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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

  17. #37
    dand_dd is offline Member
    Join Date
    Mar 2009
    Posts
    19
    Rep Power
    0

    Default

    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?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. User Interface
    By swikar.java in forum Advanced Java
    Replies: 16
    Last Post: 12-09-2008, 03:37 PM
  2. Multiple line user input
    By jointhelabel in forum New To Java
    Replies: 3
    Last Post: 10-26-2008, 03:41 AM
  3. J2ME User Interface Developer
    By mobileapps in forum Jobs Offered
    Replies: 0
    Last Post: 10-03-2008, 01:43 PM
  4. user interface development using JSP
    By pradeep1_mca@yahoo.com in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-02-2008, 02:48 PM
  5. Help user interface
    By carl in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 08:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •