How can create a JTree with cellRender is checkbox realized multiple selec

How can create a JTree with cellRender is checkbox realized multiple selection function.thanks for every
one's help.

Hi,
1. Create a value node in your context name Table and set its cardinality to 0:n
2. Create 2 value attributes within the Table node name value1 and value2
3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
you have created a table and binded its value to context
Table UI properties
4.Set Selection Mode to Multi
5.Set Visible Row Count to 5
6.ScrollableColCount to 5
In your implemetaion, you can add values to table as follow:
IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
ele.setValue1(<value>);
ele.setValue2(<value>);
wdContext.nodeTable().addElement(ele);
The above code will allow you to add elements to your table node.
Regards,
Murtuza

Similar Messages

  • How can create registry value with GPO OR script

    Hi Friends
    I have around 45 registry entries in .REG file.. in HKLM and KHCU path as give below as example
    How can i create these registry entries through logon file with GPO or script..
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\DT Research]
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement]
    @=""
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1]
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button0]
    "strDescription"="Brightness"
    "iFunction"=dword:80010005
    "strAppPath"="DtrBrightness.exe"
    "strAppParameter"=""
    "vkcode"=dword:00000001
    "repeat"=dword:00000000
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button1]
    "strDescription"="Brightness"
    "iFunction"=dword:80010005
    "strAppPath"="DtrBrightness.exe"
    "strAppParameter"=""
    "vkcode"=dword:00000002
    "repeat"=dword:00000000

    there are two ways you can achieve this.
    if you are using server 2008 or higher and if your clients are windows xp with latest updates and IE or higher you can use group policy preferences. You would need to configure the settings from your reg key using group policy editor under the preferences
    section. We can provide more detailed instructions for this if you need. 
    alternativley, a simpler option, but maybe less manageable, is to split your reg file into two sections - one for the user and one for the machine. This is required since i am assuming your users are not local admins on their computers - if they are then
    you don't need to split it. 
    once split you would need to create two batch file scripts which from memory you would use reg /s path_to_reg_file.reg 
    you need one computer startup script which applies the settings to the HKLM keys - as you need admin rights to do this, the script in the computer startup will run under the computer account which is privileged.
    you can then create the same batch file but point to your user settings reg file and put this as a user login script. 
    if you need further step by step please let us know. 
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • How can create Apple ID with new domains such as: .pics, .center, .guru?

    Hi Apple Support,
    I can't create new Apple ID with new domain email such as: .pics, .center, .guru, ... So, please update or help me fix that problem, thank you!

    Why are you creating another AppleID?

  • How can create an email with checkboxes?

    I want to send an email with a list and has the recipients to check items in the list.  For example,  I have the following list:
    Which office applications do you use?
    Outlook
    Excel
    Word
    PowerPoint
    Access
    Instead of the dot, I want to use a checkbox and recipients can check the appropriate checkbox and reply me.
    Thanks for any help.

    Hello Max,
    I followed your instructions and I successfully created checkboxes in my email. But when I sent it to other people and everyone else failed to be able to check off the boxes (I
    cc myself and it worked for me nevertheless)... could you advise why and what have I missed
    out in the process?
    Thank you.
    Best regards.
    Harley
    Sorry Harley,
    It is proved that the ActiveX check box will not work after you send the email to the other users due to the Outlook security policy. Sorry for that.
    The easiest workaround might be using the Vote feature instead. Or send a Word document to the users, and let them send you the document back.
    Other possible alternates: 
    Create a custom Outlook form, which allows you to add such controls, but you need to distribute the form to all the users that you want them to use the checkbox, seems to be an expensive solution.
    If InfoPath is available in your working environment, using InfoPath form is another alternate. (Read
    Use InfoPath e-mail forms in Outlook) (Note the recipients also need InfoPath installed.)
    If SharePoint is available in your working environment, create a survey in the SharePoint is another alternate. (Read
    Create a survey)
    Max Meng
    TechNet Community Support

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How i can Create Master Repository with MySQL Database?

    How i can Create Master Repository with MySQL Database? i need to using MySQL Database to Master & Work Repository.
    I try to add mysql libary jar file to drivers . But , can't display MySQL Technology in Database List for Create Master Repository ?
    Please..
    Edited by: MadoatZ on Feb 19, 2011 1:47 AM

    Creation of ODI master repository is limited to few relational databases only. Check certification matrix for ODI 11g
    Oracle 10.2.0.4+
    Oracle 11.1.0.7+
    Oracle 11.2.0.1+
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    IBM DB2/UDB 9.7 and later FixPaks
    IBM DB2/400 (V5R4+)
    Hypersonic SQL 1.7.3+
    Sybase AS Enterprise 15.0.x
    thanks

  • I created new users on my mac and my music, photos, etc. is still on the administrators account. How can I share them with all users?

    I created new users on my mac and my music, photos, etc. are all still on the administrators account. I tried making the other 2 new accounts administrators but that didn't work. How can I share them with all users?

    Read "iTunes: Setting up Home Sharing on your computer."

  • My iTunes library is missing since upgrade Lion 7.2.  I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each one upon reinstalling the backup copy? Thank you for help

    Almost my iTunes library is missing since upgrade Lion 7.2. (the last 2.5 weeks worth of added music has transferred post-upgrade, none of whcih was bought from iTunes)
    I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each playlist upon reinstalling the backup copy? This would save a HUGE amount of time and efforts. Thank you for your help!

    hi Limnos,
    I do not mean the entire ITunes folder but, rather, the contents of the ITunes folder prior to September 29th.  (90% of the media is missing, along with all playlists)  The media that remains says it was added on 9/29 although I know most of it was added many months or even years earlier. There are no playlists listed at all, before or after 9/29.  (I know for certain that I added non-iTunes purchased songs on 10/6 although I had not created playlists for them)
    I have my iTunes folder backed up on both an external drive as well as Time Machine.
    I run iTunes off of an ITunes folder on my computer rather than from the external, if that's what you mean about how I have it set up. 
    Is it OK to drag the entire iTunes folder from the external drive onto my laptop's drive and see if that fixes it?
    Thank you for your help!
    Deb

  • How to create a complaint with pre-decessor document Inovice?

    Hello experts,
    I need create a complaint with reference to a pre-decessor document type Invoice (apart from other types such as sales order and service order). Can someone enlighten me
    1) how to create an invoice in IC Web Client and backend?
    2) how to create a complaint with reference to this created invoice in IC Web client and backend?
    Thanks a lot!!!

    Hi Easwar
    Thanks  a lot for answering the question.
    Yes I do have CRM Billing documents. But the problem is
    a) either the billing document doesn't have Transfer to Accounting status Transferred or
    b) a transferred billing document, but all items have error "Unable to offset billing item 90003458 0000000060" etc.
    Do you know
    1) how I can make a billing document have "Transferred" status? Pressing "Transfer to Accounting" button in the billing document overview page will only set the status to "Being transferred". And it's always being tranfered.
    2) What does the error "Unable to offset billing item ... "mean? How to get rid of them?
    Thanks a lot!

  • How to create shipment document with out inbound delivery document

    Dear Friends
    How to create shipment document with out outbound/inbound delivery document.
    In my client scenario, there is no inbound delivery for normal purchases.
    Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
    Can we do shipment creation with reference to PO?
    If it is possible, how it will be?
    Please let it solve
    With regards
    Lakshmikanth

    Dear Sameer,
    Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
    Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
    After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
    For more information please go through this SAP help link
    Note:- Shipment process need to be carry out for the deliveries before PGI.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • HT2486 My address book only displays e-mails. How can I sync it with my i-phone to display the address book the same way as my contacts in my i-phone?

    Currently my address book only displays e-mail addresses. It uses the portion of the address in front of the @ as the name. How can I sync it with my i-phone 4S that has name/numbers and addresses of my contacts?

    Hello there, Seta.
    You are correct that this can be done with iCloud. The following Knowledge Base article provides some great instruction for syncing contacts:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/ht1296
    Particularly:
    Contacts, Calendars, Bookmarks, and Notes
    You can sync contacts, calendars, bookmarks, and notes with other applications on your computer. This allows you to keep all your information in sync across multiple computers and iOS devices. The settings for these items are all in the Info tab for your iOS device in iTunes. With your iOS device connected to the computer, select your iOS device. Then click the Info tab.
    For details on syncing content on your iOS device with your computer, click the sections below.
    Contacts
    To sync contacts with your computer, choose "Sync Contacts with" within iTunes for Windows, or "Sync Contacts" in OS X v10.8, or "Sync Address Book Contacts" in OS X v10.7 and earlier.
    You can sync your contacts with:
    Microsoft Outlook 2003, Microsoft Outlook 2007, Microsoft Outlook 2010 (Windows XP, Windows Vista, Windows 7, and Windows 8)
    Windows Address Book (Windows XP)
    Windows Contacts (Windows Vista, Windows 7, and Windows 8)
    Address Book (Mac OS X v10.7 and earlier)
    Contacts (Mac OS X v10.8)
    Microsoft Entourage 2004, Microsoft Entourage 2008, or Microsoft Outlook 2011 for Mac
    Notes:
    When syncing contacts, you can choose to sync all of your contacts or only selected groups. The option to sync selected items may not show up until after the first sync.
    You can select a group of contacts to which all new contacts created on your iOS device will be added.
    Additional options for syncing include syncing your contacts with Yahoo or Gmail/Google Mail. You will need to configure it with the user name and password for your Yahoo or Google account.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • How can I sign up with Enterprise program, while I have an active membership of the iOS developer program?

    How can I sign up with Enterprise program, while I have an active membership of the iOS developer program?
    I have bought a memership for the iOS Developer program.
    I have created an in-house app.
    Now I want to publish it to all employees without registering the devices.
    So..
    I go to their website and try to sign up for the enterprise program, image shown below:
    http://s29.postimg.org/q06ylh5o6/Clipboard01.jpg
    Within the image above, I click continue...
    http://s14.postimg.org/46lqcpy74/Clipboard02.jpg
    Then I am taken to the image above, there I need to select a program, but I already have a program, the iOS developer program!  And the checkbutton of that program, is disabled. If I try to click continue at this page, without sleecting a program, a javascript-box shows "You have to select a program before continuging"...
    Do I need to unsubscribe my iOS developer program, to then register it again? Lol!
    PS: no clue where I should post this, looked over the forums and could not see anything related to singing up, registering for a program...

    Our apps came offline automatically shortly after this as iTunesConnect thought we had not renewed our license, even though we had several weeks ago.
    We had a brief panic as our apps were offline for 12 hours, which is how long it took Apple Support to work out what was wrong and hook things up. 
    I suggest you contact them ASAP to get this fixed so you don't get that iTunesConnect alert to your phone 'Your app status has been changed to Pending Contract'.

  • How to create a table with varied number of columns?

    I am trying to create a balance table. The colunms should include years between the start year and end year the user will input at run time. The rows will be the customers with outstanding balance in those years.
    If the user input years 2000 and 2002, the table should have columns 2000, 2001, 2002. But if the user input 2000 and 2001, the table will only have columns 2000 and 2001.
    Can I do it? How? Thanka a lot.

    Why did you create a new thread for this?
    How to create a table with varied number of columns?

  • IF_IXML : How can i add encoding with value UTF-8 to the document object??

    Hi
    i want to create a xml file with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
    <?xml version="1.0"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    BUT the document attribut(?) encoding="UTF-8"?> is missing!
    How can i add encoding with value UTF-8 to the document object?? it should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    *here is my coding.
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    DATA: lo_ixml           TYPE REF TO if_ixml,
          lo_streamfactory  TYPE REF TO if_ixml_stream_factory,
          lo_document       TYPE REF TO if_ixml_document,
          lo_parent         TYPE REF TO if_ixml_element,
          lo_ostream        TYPE REF TO if_ixml_ostream,
          lo_renderer       TYPE REF TO if_ixml_renderer,
         lv_rc           TYPE i.
    lo_ixml = cl_ixml=>create( ).
    lo_streamfactory = lo_ixml->create_stream_factory( ).
    lo_document = lo_ixml->create_document( ).
    lo_parent = lo_document->create_simple_element( name   = 'OpenSearchDescription'  "root node
                                                    parent = lo_document ).
    lo_parent->set_attribute_ns( name   =  'xmlns'
                                 value  = 'http://....' ).
    *rausrendern in file
    lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
    lo_renderer = lo_ixml->create_renderer( ostream  = lo_ostream
                                            document = lo_document ).
    lv_rc = lo_renderer->render( ).
    Thanks for help
    Britta

    Use the following code:
    set an document encoding
      l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
                                            byte_order = if_ixml_encoding=>co_none ).
      l_success  = l_ostream->set_encoding( encoding = l_encoding ).
    create a xml renderer
      l_renderer = l_ixml->create_renderer( document = l_doc ostream  = l_ostream ).

Maybe you are looking for

  • BootCamp Installing Vista on Macbook Pro

    I am using bootcamp to instal Windows Vista Home Premium on my Macbook Pro (with lastest software updates). I have the install CDs for Vista but its multiple CDs and on bootcamp install it can only use one (cant eject to put next CD in). How do I go

  • Problem in BW system while tranporting a change in a Bex Query

    Hi All, I am facing a problem in BW system while tranporting a change in a Bex Query. Actually on our BW system our Client team works as well. I have done started doing some change in query in dev. I have created bex transportable request I want to t

  • Dimming Display Brightness to Zero

    Hello All, I have been having a problem with the display brightness adjustment for a long time. Basically, the display of my 17" 1GHz G4 cannot be dimmed to black. From the System Preferences the display brightness can be lowered with the slider. In

  • Encode and Decode Base64

    Hi All, I need to Encode and Decode Base64 File.  Please let me know if there is any Function Modules or Class Methods to achieve the requirement. Thanks in advance. Regards Joseph Message was edited by: Joseph Brown

  • SRM Contract Management

    Dear All, Few clarification on SRM contracts pls: SRM 5.0: In SRM 5.0 we can create Local contract and GOA.Local can be used only in SRM and cannot be distributed to backend system.GOA can be distributed as contracts or scheduling agreements to backe