Package org.jwall.web.policy

Examples of org.jwall.web.policy.Context


            setIcon( AbstractPolicyTreeRenderer.SESSION_TYPE_ICON );
            return this;
        }
       
        if( arg1.getType() == TreeNode.CONTEXT_NODE ){
          Context ctx = (Context) arg1;
         
          String path = ctx.getBase();
          if( path == null || path.equals( "" ) )
            path = "/";
         
          setText("<html><b>" + path + "</b>");
          setIcon( WebPolicyEditor.getIcon( ctx ) );
View Full Code Here


            setIcon( AbstractPolicyTreeRenderer.SESSION_TYPE_ICON );
            return this;
        }

        if( arg1.getType() == TreeNode.CONTEXT_NODE ){
            Context ctx = (Context) arg1;

            String path = ctx.getBase();
            if( path == null || path.equals( "" ) )
                path = "/";

            setText("<html><b>" + path + "</b></html>");
            setIcon( WebPolicyEditor.getIcon( ctx ) );
View Full Code Here

      return param;
    }

    if (nodeType == TreeNode.CONTEXT_NODE) {
      Context ctx = (Context) node;
      ctx.setBase(name.getText());
      return ctx;
    }

    if (nodeType == TreeNode.METHOD_NODE) {
      Method m = (Method) node;
View Full Code Here

        p.add(value);
      }
    }

    if (node.getType() == TreeNode.CONTEXT_NODE) {
      Context ctx = (Context) node;
      JLabel l1 = new JLabel("Context: ");
      l1.setFont(f);
      l1.setAlignmentY(Component.CENTER_ALIGNMENT);
      p.add(l1);

      name = new JTextField(10);
      name.addKeyListener(this);
      name.setAlignmentY(Component.CENTER_ALIGNMENT);
      name.setToolTipText("This specifies the base-path of the profile. All resources within the "
          + "profile are relative from this base.");
      if (ctx.getBase() != null)
        name.setText(ctx.getBase());
      p.add(name);
    }

    if (node.getType() == TreeNode.INCLUDE_FILTER_NODE) {
      IncludeFilterNode inc = (IncludeFilterNode) node;
View Full Code Here

TOP

Related Classes of org.jwall.web.policy.Context

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.