Need a Hierarchical Tree-type library for Nodes

Is there a good library out there (perhaps in java itself?) that will allow me to create Heirarchies of data using nodes? Kinda like C's glib GNode class maybe?
In other words, I need to be able to make nodes, give them information, add them to parent nodes, add children to them, find nodes, get all nodes at a certain level, etc.
Thanks for any pointers.

Thanks, I'll take a look at this, but just to make sure I'm not missing out, does anyone know of any other implementations that are better than this? More optimized or something? (I gotta check all my options)

Similar Messages

  • We need to restict doc.type sa for specific users only

    Hi,
    we need to Restrict document type SA for Particular users i.e
    1. they Should not allow to post SA document types .
    2. But they allow to view the documents(SA types only)
    Regards
    Ganesh

    Dear Tarimela,
    1. In transaction OBA7, you should fill up the field for all the
       document types which you want to control.  If it is left blank, then
       all the users will be able to post document with that document type.
       Hence, if user A is authorised to post to document type X and in
       the configuration of document type Y field authorisation group is
       left blank, then user A will be able to post document with document
       type Y.
    2. Also you need to enable authorisation check in transaction PFCG and
    need to assign the authorisation group in the profile.
    3. I would recommend you to go through SAP notes 198238 and 150496 for the
       purpose of your information.
    I hope this can help.
    Mauri

  • While installing the itunes setup i am getting an error"Could not register type library for file ipodsevice.exe" What to do now?

    While installing the itunes setup i am getting an error"Could not register type library for file ipodsevice.exe" What to do now?

    Try posting in the iTunes forum.  You have an iTunes problem not an iPod problem

  • Need Simple Hierarchical Tree Example

    Can someone e-mail me a simple, working hierarchical tree example, along with what tables i need to insert into the database? Like the car/airplane example, or employee/department example.
    I tried following the instructions in the Introduction to Hierarchical Tree example from metalink, but the tree still does not display on my form, even though the data query is valid. Nothing happens when i click the button.
    I need this pretty urgently, so any help will be appreciated! Thanks! My e-mail is [email protected]

    Thats what i don't understand, you see. There is no query error. I know when there is, because when i type the query wrongly, the error prompts. However, when the query is correct, nothing happens. When i go through in debug mode, it does enter the statement to populate the tree. This is my record group/data query(i tried putting it in both) :
    SELECT initial_level
    ,node_depth
    ,node_label
    ,node_icon
    ,node_data
    FROM MyTreeData
    START WITH node_parent IS NULL
    CONNECT BY node_parent = prior node_data
    This is my populate tree code :
    DECLARE
         htree ITEM;
         top_node FTREE.NODE;
         find_node FTREE.NODE;
    BEGIN
         -- Find the tree itself.
         htree := FIND_ITEM('mytreeblock.mytree');
         -- Populate the tree with data.
         ftree.Populate_Tree(htree);
    END;
    This is the format of data in the database :
    initial_level node_depth node_label node_icon node_data node_parent
    -1 2 Car Null CAR TRANSPORT
    -1 2 Plane Null PLANE TRANSPORT
    0 2 Bike NULL BIKE TRANSPORT
    1 1 Transport NULL TRANSPORT
    0 3 Honda NULL HONDA CAR
    0 3 Boeing 747 NULL 747-400 PLANE
    0 3 Mazda NULL MAZDA CAR
    I hope its not a problem with my Forms program, so i'm hoping that someone can e-mail me a working one to see. I've been reading up on this for a few days already, but i do not know why its not working.
    Thanks for your help again, Kevin! I really appreciate it.

  • Hierarchical Tree error - fighting for over a year

    For over a year now, our Oracle forms have presented an elusive problem with Hierarchical Trees. First some core information:
    We are running Developer 6i, patchset 8, on a Sun host and an Oracle 8i database. Our forms are deployed over the web on the
    Oracle Application Server using J-Initiator 1.1.7.27.
    Now, only on our Production platform, and only during busy times of the day, we randomly get the error "Invalid Query for Hierarchical
    Tree" when one of our tree-based forms populates the tree. This error is sometimes followed by the infamous
    FRM-92100 "connection has been terminated" error. This happens whether building the tree with a single Selec and Populate Treet,
    or via a systematic series of Add Tree Node calls.
    We have tried rebuilding the form logic to eliminate form corruption, (form corruption - happens if you open a large FMB in the
    forms developer without first being connected to the database, manifests itself as random and odd form behaviour,
    or FRM-92100 errors, Oracle product support denies it really happens), we have added debug code, we've even tried generating
    the FMX on the Production platform as part of our deployment (normally we generate FMX files on our Integration platform
    which mirrors Production).
    We are not scheduled to upgrade for Forms 9i and the 9IAS for several more months, so upgrading isn't an immediate option for us.
    Any and all ideas welcome.
    Jeff Cline

    Hi Nigel,
    Two questions:
    1. When the publisher sends the access permission to the subcriber by:
    netStream.send("|RtmpSampleAccess", true, true)
    , on the subscriber side, what event or function can handle the guaranteed receipt of the access permission? Currently it is possible to draw the incoming stream video upon receiving NetStream.Play.Star and waiting for 5 seconds or so:
    public class MyWebcamSubscriber extends WebcamSubscriber {
    override protected function layoutCameraStreams():void
    // trying the event listener seems to work here.
    _streamManager.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
    override protected function onNetStatus(e:NetStatusEvent):void
    super.onNetStatus(e);
    case "NetStream.Play.Start":
    setTimeout(function():void {
    // draw the video from the incoming stream here.
    }, 5000);
    The questions is, which event can let the subscriber know that it has the access permission to the video stream?
    2. In WebcamPublisher, why is that the access permission is sent 3 times?
    a. Once on receiving NetStream.Connect.Success with 0.5 second delay, as in below.
    b. Once immediately upon receiving NetStream.Connect.Success, as in below.
    protected function onNetStatus(p_evt:NetStatusEvent):void
    if (p_evt.info.code=="NetStream.Connect.Success") {
    setTimeout(sendSnapShotPermission, 500);
    _stream.send("|RtmpSampleAccess", true, true);
    protected function sendSnapShotPermission():void
    _stream.send("|RtmpSampleAccess", true, true);
    c. Once in onConnectionTypeChange() with 2 seconds delay:
    protected function onConnectionTypeChange(p_evt:StreamEvent):void
    if ( _streamManager.isP2P) {
    _stream= new NetStream(_connectSession.sessionInternals.session_internal::connection as NetConnection,NetStream.DIRECT_CONNECTIONS);
    setTimeout(sendSnapShotPermission, 2000);

  • Forms Builder-hierarchical tree(expanding and collapsing nodes)

    hi friends,
    can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
    for instance when_button_pressed:
    tree_control.expand_all(tree_control.v_item_name); //this is for expanding all the nodes in the tree structure
    well, i have an sql statement in my record group which in turn defines the structure of the hierarchical tree.
    Is it possible to just use the codes 'tree_control.expand_all(tree_control.v_item_name);' like that in the when-button-pressed trigger?
    Thanks for any help :)

    Hi
    can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
    Pls have a look here ....
    Hope this helps...
    Regards,
    Amatu Allah.

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • Struct in type library for DLL called from Visual Basic

    Wrong dicsussion board, sorry.
    Menchar
    Message Edited by menchar on 10-20-2008 01:28 PM

    In CVI, you can get the parameter information into a DLL. First of all, you have to have a function panel (.fp) file with all of your exported functions defined as function panels. From this function panel file you can also generate a windows help file to document your DLL. Once you have the .fp file and .hlp file, you can enable references to them in the build target settings (Build->Target Settings...). Select "Type Library..." and check "Add type library resource to DLL" and "include links to help file" then browse to your .fp file. If there are descepencies between the functions defined in your .fp file and the actual functions you have exported in the DLL, then you may get a compiler error.
    --Peter

  • I need help with the VPAID library for OSMF

    Hello,
    I recently needed to create a VPAID based player for a client and I want it to get rid of the old JWPlayer/OVA approaching and go for the OSMF with VAST/VPAID libaries. The fact is that I tried to use your sample application from SVN files (VPAIDSample) but for some reason the LinearAD is played in the same time with the video clip (the clip to play) and is not visible. Also I can only hear the sound of it and at some point the sound from the LinearAD is played over the sound of the video clip. I don't know if I was specific enough but please let me know if you have a sollution on this matter or if you need any other information.
    Regards,
             Marius Constantin.

    Hi Marius,
    I think this problem could be linked to the changes in the layout API and the order of the loading of the video elements.
    Please try to add layoutmetadata with index property to parallel videos so they render in the correct order, something like:
                var layout1:LayoutMetadata = new LayoutMetadata();
                layout1.index= 10 ;
                videoElement.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout1);
                var layout2:LayoutMetadata = new LayoutMetadata();
                 layout2.index= 20 ;
                 vpaidNonLinear.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout2);
    Tell me if that worked,
    S.

  • Hierarchical Tree Node icon ?

    Hi
    How to create a icon on Hierarchical tree
    Regards
    Shahzaib

    Thanks for your reply and i am sorry for not clear my developer version
    My developer version is 6I
    Database express addition
    Well i write the trigger when tree node activate
    :parameter.current_emp := ftree.get_tree_node_property(find_item('Block28.Tree8'),
                                                          :system.trigger_node,
                                                          ftree.node_value);
    DECLARE
    htree         ITEM;
    current_node  FTREE.NODE;
    find_node     FTREE.NODE;
    BEGIN
    htree := Find_Item('block28.tree8');
    find_node := :SYSTEM.TRIGGER_NODE;
    ftree.set_tree_node_property(htree, find_node, ftree.NODE_ICON, 'D:\ico\Ico\favorite.ico');
    END;
    Ftree.SET_tree_NODE_PROPERTY(htree, :SYSTEM.TRIGGER_NODE, Ftree.NODE_ICON, 'print');And also when mouse double click
    declare
    al_button number;     
         pl_id ParamList;
         v_emp_id     number;
         e_child_rec  exception;
         pragma exception_init(e_child_rec, -02292);
         len number := 3; --variable which tells till what length from last not to copy from first string
    begin
         v_emp_id := ftree.get_tree_node_property(find_item('Block28.tree8'),
                                                               :system.trigger_node,
                                                                ftree.node_value);
    SET_BLOCK_PROPERTY('block3', DEFAULT_WHERE, 'acc_id = ''' || V_emp_id|| '''');
    go_block('block3');
    EXECUTE_QUERY;
    exception
           when e_child_rec then
                Message ('Go Kimi Go');
    end;
      Now when i double click the mouse its show tree icon
    I want when i run my module its show me all node icon
    Hope this time i clear my question
    Regards
    Shahzaib ismail

  • Type librarys for DLL functions that TestStand understands for parameter information

    Using the C/C++ DLL call adapter I would like to specify a call to a DLL function and have TestStand (3) understand the parameter information.
    Usually it says 'there is no parameter information available'. Today however I tried building a DLL in Visual C++ instead of CVI and got a bit further. TestStand recognized that there WAS parameter type information but then said 'The type library for this DLL does not contain enough information to determine whether this function parameter is a pointer to a single item, or an array of items."
    So in a nutshell, does anyone know what options (in CVI or MSVC) I need to build with so that TestStand recognizes the function prototypes exported in the DLL? After all it's alot of work to type in all that parameter information.
    Many thanks,
    Ronnie
    TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009

    In CVI, you can get the parameter information into a DLL. First of all, you have to have a function panel (.fp) file with all of your exported functions defined as function panels. From this function panel file you can also generate a windows help file to document your DLL. Once you have the .fp file and .hlp file, you can enable references to them in the build target settings (Build->Target Settings...). Select "Type Library..." and check "Add type library resource to DLL" and "include links to help file" then browse to your .fp file. If there are descepencies between the functions defined in your .fp file and the actual functions you have exported in the DLL, then you may get a compiler error.
    --Peter

  • Illustrator cs3 type library

    Hi,
    i want to develop an application with vs .net 2008 in c#. i need the illustrator cs3 com type library for my develop. i have install illustrator cs3, but no library to find. where i get this libraray? or what kind of installation i need to use this?
    thank you.
    best regards
    claus

    You may want to ask in the Illustrator forums. This forum is specific to Adobe Acrobat.
    http://www.adobeforums.com/webx/.3bb748e0/

  • Using output type ET01 for Material Label

    Hello,
    We are looking to implement a label for Deliveries through various processes which include manual and MIGO.
    We have already implemented the GR label using the output type WEE1, however, we need to implement another label for Goods Issue as well.
    From our understanding we need to use output type ET01 for delivery labels. However, we need inputs on how to implement this output type. And can we also print this output form through MIGO, as I understand message is determined only at the delivery level which comes after MIGO?
    Please correct me if the output type ET01 is not meant for deliveries/GI label.
    Thanks,
    Anil Japa

    Hi Anil,
    Can you check this link MIGO
    Regards,
    Madhu.

  • Class Type 019 for operation classification in Routing

    Hi,
    I need to assign class type 019 for classifying operation.
    Its giving the below error: "Data for class type 019 has not been converted yet"
    The details of the help are as below:
    Can any one update the implications of the steps or how can Proceed with this.....
    Diagnosis
    You want to define resource selection conditions. In this case, you need to classify the operations with class type 019. The data for class type 019 must be converted first.
    Procedure
    1. In Customizing for the Classification System, call the classifiable object types.
    2. Make a note of the settings for the following objects in object table CRHD (work center) and class type 019:
    AFVC
    CRHD
    PLPO
    3. Delete these objects and save your settings.
    4. In the main menu, choose Tools -> ABAP Workbench, and then Development -> ABAP Editor.
    5. Enter the program name RCCLUKA2 and choose Execute.
    6. Enter class type 019 and choose Execute.
    The system converts the data of this class type.
    7. Call the classifiable object types in Customizing for the Classification System again.
    8. Use the settings you have written down to create the objects again that you have deleted before
    Thanks
    Amlan C

    Dear,
    The classification data of the resource has not yet been converted.
    So that the same classes can be used for defining the selection conditions as for classifying resources, a conversion must be carried out for class type 019.
    Please start report RCCLUKA2 in SE38  with the following parameters: Object table:      CRHD
    Class type:        019
    Regards,
    R.Brahmankar

  • Fatal error C1083: Cannot open type library file: '..\..\bin\TsAdpApi.tlb': No such file or directory

    Hi Folks:
    I am doing one Dll file for TestStand , and got an error : d:\teststand3.5\teststand 3.5\examples\modaldialogs\mfc\tsapivc.h(18) : fatal error C1083: Cannot open type library file: '..\..\bin\TsAdpApi.tlb': No such file or directory
    Could anyone help me out of that ??
    Thanks in advance !

    This type library for the adapter API is embedded in the teapi.dll. If you are using Visual Studio.NET, there is an attribute called tlbid that you can use with the #import directive in order to import that embedded library (see the MSDN documentation for more details). For example:
    #import tlbid(2)
    In VC++ 6.0, there is no way to import embedded type libraries. Therefore, you must use the attached type library file (.tlb) with the #import directive. For example:
    #import "TsAdpApi.tlb"

Maybe you are looking for

  • Control file and Rman

    Hello, I have 2 disctinct servers. oracle 10gr2 in each one with the same linux red hat 4 version. the second server is just to TEST if the backup create with the first one, works fine. So the install in each server is exactlly the same... same files

  • How to resolve Update installation issues for Photoshop CS6

    I keep getting install error u44m1u5 when attempting to install Photoshop camera raw update 7.2   How do I resolve this?  I also get same  error  code for adobe bridge cs6 5.0.1.1 update and extension manager 6.0.4 update.  Adobe application manager

  • Page formats in script its Urgent

    Hello all, I have created one page format through SPAD.. but its getting error :You have selected a page format YPO_PF for which there is no identical formatting type in the spool. and i saved with same request no but while i was moving it to testing

  • Wireless clients load balancing on the APs on WLC 4404

    Hi Experts, I'm just wondering if the WLC 4404 with firmware 4.2.207.0 can load balance the wireless clients on different WAPs. Let's say that an AP is already handling 15 Wireless devices. When the 16th is trying to join, the controller somehow puts

  • Why Message Type in XI

    Hi Friends, I am new to Xi . anybody pls help me I want to know the Purpose of Message type in XI..cann't we directly use the data type in message Interface ? w/o message type what will happen ? Thanks & Regards, Laxmi.