Possibility to hide nodes in the tree?

Hi all

I have reviewed the documentation, used Google and had a search in this space, but I can't find anything relevant...

We have a number of people who are accustomed to using SQL * Plus for Windows (Windows-specific SQL * more client that has been deleted, I believe in GR 11, 1 material) to do their work (mainly support), and there are a few things that don't miss if force us to use 'classic' SQL * more in one window BACK. SQL Developer is a replacement of logic, but one of the questions a team member has raised is that same SQL Dev gives you all the permissions that you wouldn't in SQL * Plus, it has make it very easy to, for example, expand the 'Packages' in the tree and watch and potentially "inadvertently" to make a change to the code.

Is it possible to hide certain nodes in the tree? Yes, I know that we can appropriate Oracle security to user to configure users such that they do not have permission on the particular objects, but I'm looking for something 'quick and dirty' at the moment. No real security, but something that makes it less likely that someone will make an involuntary change.

Kind regards

John

Hi John,.

You can "hide" the nodes using the preferences: filter database browser. It works at the level of the types of database objects. This is the level that you want to say or you want to hide from the nodes in a level of detail more?

Best regards

Joop

Tags: Database

Similar Questions

  • It is possible to hide elements during the publication?

    Hi guys,.

    My question: it is possible to hide elements during the publication?

    Because I would try to hide the buttons for export ^^

    Thanks for your help

    Quentin.

    Could you explain? Perhaps give an example? 'Éléments': you're talking about objects on slides? If you uncheck the 'Visible output' option - for versions 7 and earlier versions, or click on the eye icon in the properties panel for 8, this object will be invisible until make you it visible.

  • Operations on the nodes of the tree

    Hi everyone, it's me again, with another question =)

    I need to be able to rename any node under a specific node in a hierarchy. Take this table and the following data samples.
    CREATE TABLE organisations
    (
      organ_id NUMBER(10) PRIMARY KEY, 
      parent_id NUMBER(10), 
      NAME VARCHAR2(255), 
      CONSTRAINT fk_org_to_parent_org 
         FOREIGN KEY(parent_id) REFERENCES organisations(organ_id)
    );
    
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (1,null,'Organisation 1');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (2,null,'Organisation 2');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (21,2,'Organisation 21');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (22,2,'Organisation 22');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (221,22,'Organisation 221');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (2211,221,'Organisation 2211');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3,null,'Organisation 3');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (31,3,'Organisation 31');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (311,31,'Organisation 311');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3111,311,'Organisation 3111');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (32,3,'Organisation 32');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (321,32,'Organisatin 321');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3211,321,'Organisation 3211');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3212,321,'Organisation 3212');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (313212,3212,'Organisation with an id containing 31.');
    I would rename the tree nodes. For example, for example add the '-renamed "to all nodes under the node with the id of the organ = 31?

    I tried the following, but it is not good, because whenever I have another ID containing the number 31, I have an erroneous result.
    SELECT organ_id, lpad(' ', LEVEL * 2) || name, 
           -- sys_connect_by_path(organ_id, ','), 
            case when instr( sys_connect_by_path(organ_id, ','), '31') > 0 then 
               name || '- renamed' 
               else 
               name
            end
      FROM organisations
     START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    The following query performs the work:
    select organ_id, lpad(' ', level * 2) || name, 
           -- sys_connect_by_path(organ_id, ','), 
            case when organ_id IN (SELECT organ_id 
                                     from organisations 
                                    start with organ_id = 31
                                  CONNECT BY prior organ_id =  parent_id) then 
                  name || '- renamed' 
               else 
               name
            end
      from organisations
     start with parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    I wanted to know if it was possible without selecting sub?

    Thank you

    Hello

    user13117585 wrote:
    ... I tried the following, but it is not good, because whenever I have another ID containing the number 31, I have an erroneous result.

    SELECT organ_id, lpad(' ', LEVEL * 2) || name,
    -- sys_connect_by_path(organ_id, ','),
    case when instr( sys_connect_by_path(organ_id, ','), '31') > 0 then
    name || '- renamed'
    else
    name
    end
    FROM organisations
    START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    It is called the problem of 'Mother in chemotherapy', here's a way to solve it:

    SELECT organ_id, lpad(' ', LEVEL * 2) || name,
           -- sys_connect_by_path(organ_id, ','),
            case when instr( sys_connect_by_path(organ_id, ',') || ',', ',31,') > 0 then
               name || '- renamed'
               else
               name
            end
      FROM organisations
     START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    In other words, don't look for '31', look at ", 31,

    The following query performs the work:

    select organ_id, lpad(' ', level * 2) || name,
    -- sys_connect_by_path(organ_id, ','),
    case when organ_id IN (SELECT organ_id
    from organisations
    start with organ_id = 31
    CONNECT BY prior organ_id =  parent_id) then
    name || '- renamed'
    else
    name
    end
    from organisations
    start with parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    I wanted to know if it was possible without selecting sub?

    Thank you

  • How to select the node on the tree to redirect to a different page

    Hello everyone,

    Selection_001.png

    I created a tree on page 0

    conditional for pages

    It is based on values in a tree table

    https://Apex.Oracle.com/pls/Apex/f?p=67108:1:101371508545299:

    WORKSPACE:-REEMATEST

    username:-test

    password:-test

    My requirement is

    If I click on the details of employee node, it goes to page 2

    If I click on the node details 2 employees it goes to page 3

    How can I specify the page for each node forwarding

    Reema,

    If you want your query to simpler tree, where, then add a column over in the tree as the "url" table, and specify the url to each table entry.

    as I stated in Page 1 and table 'Tree' in your workspace.

    Leave.

  • How to remove the Parent node in the tree

    Hello

    I have a component of the tree in oracle adf and I want to delete a node in this tree. When I want to remove a child node, I don't have an error but when I want to delete a parent node, who have children, I have error. because it has foreign keys.

    Can someone help me?

    You can follow one of two approaches suggested by Timo

    I'd rather cascase remove option - see this https://www.silnium.com/blog/adf/implementing-adf-cascade-delete/

    Cascade Delete - ADF | Technology blog

    If you want to cross-see this

    Andrejus Baranovskis Blog: How browse ADF

  • Node of the tree in default expansion

    Hello
    I have an element in the tree, the first node which remains extended, I can not find the reason for this behavior, can someone tell me how to stop growing.
    Thank you

    Published by: aparm on May 9, 2013 04:21

    I think that I had the same problem you describe. Look at this thread:

    The tree question

    Bob

  • Expand the node of the tree dynamically

    I have try the XML for the filter and open the tree node.
    var point: XML = xml... node. (@BH is argument); point is not null.
    tree. openItems = item; did not work
    tree. expandItem (point); also not worked
    tree. expandChildrenOf (point); still didn't work
    var p: * = tree.getParentItem (item); p is always null! ~~~
    tree. expandChildrenOf (p);

    The code you posted is slightly different from the one I proposed, after a while range of instruction you must call expandItem for element nodes [0]:

    tree.expandItem (node [0], true)

    So, you should try to replace the two lines that are placed below the one that is placed above.

    tree.expandItem (parentNode.parent (), true);

    tree.expandChildrenOf (PNode [0], true); / / not work

  • How to add the node in the tree.

    Hi all


    I want to add a new tree node. Can we add a new node to a tree? Please help me.

    Sarah

    Hi Sarah!

    If you fill your tree with a group of archives, simply add another line to this group
    and fill the tree with the build-in the set_tree_property ("block.tree", ftree.record_group, your_group_id).

    Concerning

  • Change the color of the nodes in the tree based on a regular expression

    Dear Experts,

    Given:
    Sample:
    http://Apex.Oracle.com/pls/Apex/f?p=53647:5
    Test/test

    Information from the workspace
    Workspace: ralab
    user: test
    password: test
    application: trees-samples
    page: 5

    Mandatory
    I can change the color of node using jQuery contains() selector based on a value, for example the project
    apex.jQuery("#eba_demo_tree").find("a:contains('Project')").css("color","red");
    Now, the question:
    How can I update the jQuery code to change the node based on a regular expression as
    ^[P]
    or in other words for all the nodes starts with P, the color needs to be changed in red?

    Best regards
    Mahmoud
    $("#eba_demo_tree a").filter(function(index){
       var lRegExp = /^m/i; //or new RegExp('^m', 'i');
       //trim to get rid of leading space due to space in encapsulated ins-element
       return lRegExp.test($(this).text().trim());
    });
    

    http://API.jQuery.com/filter/
    http://www.w3schools.com/jsref/jsref_obj_regexp.asp
    http://www.regular-expressions.info/JavaScript.html

  • Find the element of list, table cell, node of the tree, or control by location

    One of my favorite on the swing features has the opportunity to get a reference to the component UI via Container.getComponentAt (int x, int y), or a particular list item through JList.locationToIndex (Point p) (or other similar methods). I was not able to find the same or similar functionality in JFX so far... anyone can point me in the right direction?

    Thank you!

    I don't know a way. When I started with JavaFX I had the same issue; However, I found that I actually need to do. Swing I ever need it when I was, say, treatment the mouse clicks on a JList. In JavaFX, you can register handlers with the cells directly. This does not work in the swing (in the least, not without a huge amount of effort). As well as in the swing, how to map a mouse click to a JList to the list item corresponding was to register a listener with the JList and then move the mouse click coordinates to locationToIndex (...), in JavaFX you just save the listener with the cell:

    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.ListCell;
    import javafx.scene.control.ListView;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    
    public class ListTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        BorderPane root = new BorderPane();
        ListView listView = new ListView();
        listView.getItems().addAll("Apples", "Oranges", "Grapefruit", "Bananas");
        listView.setCellFactory(new Callback, ListCell>() {
          @Override
          public ListCell call(ListView param) {
            return new CustomListCell();
          }
        });
        root.setCenter(listView);
        Scene scene = new Scene(root, 300, 300);
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      private class CustomListCell extends ListCell {
        private final EventHandler listener = new EventHandler() {
          @Override
          public void handle(MouseEvent event) {
            System.out.printf("Mouse clicked on list cell with %s (item number %d)",getItem(), getIndex());
            if (isEmpty()) {
              System.out.print(" (Empty cell)");
            }
            System.out.println();
          }
        };
        private CustomListCell() {
          this.addEventHandler(MouseEvent.MOUSE_CLICKED, listener);
        }
        @Override
        public void updateItem(String item , boolean empty) {
          super.updateItem(item, empty);
          if (! empty) {
            setText(item);
          } else {
            setText(null);
          }
        }
      }
    
      public static void main(String[] args) {launch(args);}
    
    }
    

    Of course, maybe it's not your use case, and you really need this feature. Someone else can have a more direct response...

  • Colors of the nodes in a tree

    Hi, I am using the tree of components in form 10 g, and I need that the nodes have different colors. Is it possible to change the color of the text of each node in the tree?

    Thank you

    No, you can't change the icon attached to the node.

    François

  • How to cross the tree node

    Hello

    I created the region table advance and I created Hgrid region and I tree region. Now my tree displays perfectly but I want to go to a specific parent node in the tree.

    Please help me. How to browse a specific node.

    I tried oaweabbean.findChildRecursive ("hGridRN");
    and then I used TreeBean and treebean.findChildRecursive ("TreeRN");

    but didn't work at all

    Makes me NullPointerException

    Please help me someone who has the idea about it.

    I'd appreciate your effort.

    Thank you

    Muriel

    Crossing hgrid himself will give the required node, no need to get the tree, please see the code below

    OAAdvancedTableBean adTBRN = (OAAdvancedTableBean) webBean.findIndexedChildRecursive ("advanced table id");
    OAHGridBean oahgridbean = (OAHGridBean) adTBRN .findIndexedChildRecursive ("RN HGRID ID");
    OAHGridQueriedRowEnumerator oahgridqueriedrowenumerator = new OAHGridQueriedRowEnumerator (pageContext, oahgridbean);

    for (; oahgridqueriedrowenumerator.hasMoreElements ();)
    {

    Line line (Row) = oahgridqueriedrowenumerator.nextElement ();
    If (line! = null)
    {

    Try
    {
    requiredrowvalue = (Number) row.getAttribute ("the value of required line viewattribute");

    } / / END OF THE try block
    catch (System.Exception e)
    {
    e.printStackTrace ();
    }

    } / / End of control null line

    } / / end of loop for

    Thank you
    Pratap

  • #1009-erreur get up by select multi on the tree nodes

    whenever I try to select several nodes in the tree pane, I get this error.

    I want to know what could be the cause of this error.

    Help me friends.

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at mx.managers::FocusManager/focusInHandler()
    to flash. display::Stage / set focus()
    at mx.core::UIComponent/setFocus()
    at mx.managers::FocusManager/setFocus()
    at mx.managers::FocusManager/mouseDownHandler()
    Thanks in advance.

    1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...

    n ' is not in the display list
    n ' is not have an instance name (or the name of the instance is misspelled)
    n ' is not in the frame where this code tries to talk to her
    -is animated in place, but is not assigned the name of the instances of each keyframe for her
    -is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).
     
    If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

  • Setting the size of the trees

    Hello

    Is it possible to programmatically set the width and height of a hierarchical tree, based on the values containing in it?
    As if there are only 2 nodes in the tree, the size should be just enough to show the two nodes.
    If it has the largest number of nodes, the size should change accordingly
    Is this possible? (I use forms6i)

    Pls help
    Thank you

    Adkins,

    You can get the number of nodes of GET_TREE_PROPERTY integrated and can adjust its height by SET_ITEM_PROPERTY integrated. But it should be in the size of the canvas, otherwise it will give an error.

    Check the code below.

    DECLARE
       HTree        ITEM;
       Num_Count    NUMBER;
       Num_Height   NUMBER;
       Num_Y_Pos    NUMBER;
       Num_Required NUMBER;
    BEGIN
         HTree        := FIND_ITEM('.');
         Num_Count    := Ftree.GET_TREE_PROPERTY(HTree, FTree.NODE_COUNT);
         Num_Height   := GET_CANVAS_PROPERTY('', HEIGHT);
         Num_Y_Pos    := GET_ITEM_PROPERTY('.', Y_POS);
         Num_Required := Num_Count * 22;
         Num_Height   := Num_Height - Num_Y_Pos;
         IF Num_Required > (Num_Height) THEN
              SET_ITEM_PROPERTY('.', HEIGHT, Num_Height);
         ELSE
              SET_ITEM_PROPERTY('.', HEIGHT, Num_Required);
         END IF;
    END;
    

    I hope this helps.

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • Can I hide or change the print window not pop up when printing?

    Original title: hide or print shown window?

    Can I hide or change the print window not pop up when printing? I want to still print but just to hide so it does not appear.
    Is it still possible?
    Thanks for all help

    Hi rustylzard,

    It is not possible to hide or change the print window when you try to print something.

    Hope the helps of information.

Maybe you are looking for