Tabnine Logo
AsyncSwingTreeModel.registerNode
Code IndexAdd Tabnine to your IDE (free)

How to use
registerNode
method
in
jadex.base.gui.asynctree.AsyncSwingTreeModel

Best Java code snippets using jadex.base.gui.asynctree.AsyncSwingTreeModel.registerNode (Showing top 10 results out of 315)

origin: net.sourceforge.jadex/jadex-tools-base-swing

/**
 *  Create a new service container node.
 */
public ServiceContainerNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IServiceContainer container)
{
  super(parent, model, tree);
  this.container = container;
  model.registerNode(this);
}

origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public ProvidedServiceInfoNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, 
    ProvidedServiceInfo service, IServiceIdentifier sid, IExternalAccess ea)
  {
    super(parent, model, tree);
    this.service	= service;
    this.sid = sid;
    this.ea = ea;
//        if(service==null || service.getType().getTypeName()==null)
//            System.out.println("service node: "+this);
    model.registerNode(this);
  }
  
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public RequiredServiceNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, RequiredServiceInfo info, String nid, IExternalAccess ea)
  {
    super(parent, model, tree);
    this.info = info;
    this.nid = nid;
    this.ea = ea;
//        if(service==null || service.getServiceIdentifier()==null)
//            System.out.println("service node: "+this);
    model.registerNode(this);
  }
  
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public RIDNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IResourceIdentifier rid, IIconCache iconcache, INodeFactory factory)
  {
    super(parent, model, tree);
    this.rid = rid;
    
    this.iconcache = iconcache;
//        this.relative = FileNode.convertPathToRelative(file);
    this.factory = factory;
    
    model.registerNode(this);
//        System.out.println("node: "+getClass()+" "+desc.getName());
  }
   
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public RemoteFileNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, FileData file, IIconCache iconcache, IExternalAccess exta)
  {
    super(parent, model, tree);
    
    assert file!=null;
    
//        System.out.println("node: "+getClass()+" "+desc.getName());
    
    this.iconcache = iconcache;
    this.file = file;
    this.exta = exta;
//        this.relative = convertPathToRelative(file);
    
    model.registerNode(this);
  }
  
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public RootNode(AsyncSwingTreeModel model, JTree tree)
  {
    super(null, model, tree);
    
//        System.out.println("node: "+getClass()+" "+desc.getName());
    this.children = new ArrayList();
    
    model.registerNode(this);
  }
  
origin: net.sourceforge.jadex/jadex-tools-base-swing

this.mi = mi;
this.rinfo = rinfo;
model.registerNode(this);
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public NFPropertyNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, 
    INFPropertyMetaInfo propmi, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo)
  {
    super(parent, model, tree);
    this.ea = ea;
    this.propmi = propmi;
    this.sid = sid;
    this.mi = mi;
    this.rinfo = rinfo;
    model.registerNode(this);
//        PropertyUpdateHandler puh = (PropertyUpdateHandler)tree.getClientProperty(PropertyUpdateHandler.class);
//        if(puh!=null)
//        {
//            puh.addPropertyCommand(ea.getComponentIdentifier(), propmi.getName(), new ICommand<IMonitoringEvent>()
//            {
//                public void execute(IMonitoringEvent ev)
//                {
//                    System.out.println("received: "+ev);
//                }
//            });
//        }
  }
   
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public FileNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, File file, IIconCache iconcache)
  {
    super(parent, model, tree);
    
//        assert file!=null;
    
//        System.out.println("node: "+getClass()+" "+desc.getName());
    
    this.iconcache = iconcache;
    this.file = file;
    this.relative = convertPathToRelative(file);
    
    model.registerNode(this);
  }
  
origin: net.sourceforge.jadex/jadex-tools-base-swing

  /**
   *  Create a new service container node.
   */
  public ComponentTreeNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IComponentDescription desc,
    IComponentManagementService cms, ComponentIconCache iconcache, IExternalAccess access)
  {
    super(parent, model, tree);
    
    assert desc!=null;
    
//        System.out.println("node: "+getClass()+" "+desc.getName()+" "+desc.getType());
    
    this.desc	= desc;
    this.cms	= cms;
    this.iconcache	= iconcache;
    this.access	= access;
    
    model.registerNode(this);
    
    // Add CMS listener for platform node.
    if(parent==null)
    {
      addCMSListener(desc.getName());
    }
  }
  
jadex.base.gui.asynctreeAsyncSwingTreeModelregisterNode

Javadoc

Register a node. Nodes can be registered for easy access.

Popular methods of AsyncSwingTreeModel

  • fireNodeChanged
    Inform listeners that a node has changed.
  • addNodeListener
    Register a node listener.
  • getNode
    Get a node by its id.
  • <init>
    Create a component tree model.
  • addNodeHandler
    Add a node handler.
  • dispose
    Called when the tree is removed.
  • getNodeHandlers
    Get the node handlers.
  • getNodeOrAddZombie
  • getRoot
    Get the root node.
  • setRoot
    Set the root node.

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now