Examples of ComponentDependency


Examples of org.codehaus.plexus.component.repository.ComponentDependency

        for ( int i = 0; i < dependencies.length; i++ )
        {
            PlexusConfiguration d = dependencies[i];

            ComponentDependency cd = new ComponentDependency();

            cd.setArtifactId( d.getChild( "artifact-id" ).getValue() );

            cd.setGroupId( d.getChild( "group-id" ).getValue() );

            String type = d.getChild( "type" ).getValue();
            if(type != null)
            {
                cd.setType( type );
            }

            cd.setVersion( d.getChild( "version" ).getValue() );

            csd.addDependency( cd );
        }

        return csd;
View Full Code Here

Examples of org.codehaus.plexus.component.repository.ComponentDependency

        for ( int i = 0; i < dependencyConfigurations.length; i++ )
        {
            PlexusConfiguration d = dependencyConfigurations[i];

            ComponentDependency cd = new ComponentDependency();

            cd.setArtifactId( d.getChild( "artifactId" ).getValue() );

            cd.setGroupId( d.getChild( "groupId" ).getValue() );

            cd.setType( d.getChild( "type" ).getValue() );

            cd.setVersion( d.getChild( "version" ).getValue() );

            dependencies.add( cd );
        }

        pluginDescriptor.setDependencies( dependencies );
View Full Code Here

Examples of org.codehaus.plexus.component.repository.ComponentDependency

        for ( int i = 0; i < dependencyConfigurations.length; i++ )
        {
            PlexusConfiguration d = dependencyConfigurations[i];

            ComponentDependency cd = new ComponentDependency();

            cd.setArtifactId( d.getChild( "artifactId" ).getValue() );

            cd.setGroupId( d.getChild( "groupId" ).getValue() );

            cd.setType( d.getChild( "type" ).getValue() );

            cd.setVersion( d.getChild( "version" ).getValue() );

            dependencies.add( cd );
        }

        pluginDescriptor.setDependencies( dependencies );
View Full Code Here

Examples of org.codehaus.plexus.component.repository.ComponentDependency

        for ( int i = 0; i < dependencyConfigurations.length; i++ )
        {
            PlexusConfiguration d = dependencyConfigurations[i];

            ComponentDependency cd = new ComponentDependency();

            cd.setArtifactId( d.getChild( "artifactId" ).getValue() );

            cd.setGroupId( d.getChild( "groupId" ).getValue() );

            cd.setType( d.getChild( "type" ).getValue() );

            cd.setVersion( d.getChild( "version" ).getValue() );

            dependencies.add( cd );
        }

        pluginDescriptor.setDependencies( dependencies );
View Full Code Here

Examples of org.codehaus.plexus.component.repository.ComponentDependency

        for ( int i = 0; i < dependencies.length; i++ )
        {
            PlexusConfiguration d = dependencies[i];

            ComponentDependency cd = new ComponentDependency();

            cd.setArtifactId( d.getChild( "artifact-id" ).getValue() );

            cd.setGroupId( d.getChild( "group-id" ).getValue() );

            String type = d.getChild( "type" ).getValue();
            if(type != null)
            {
                cd.setType( type );
            }

            cd.setVersion( d.getChild( "version" ).getValue() );

            csd.addDependency( cd );
        }

        return csd;
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.ComponentDependency

      }
  }
 
  private void write(DiagramConnectionPart connPart)
  {
    ComponentDependency dependency = (ComponentDependency)connPart.getLocalModelElement();
    if (!dependency.disposed())
    {
      if (isConnectionLayoutChanged(connPart))
      {
        this.architecture.detach(this.componentDependencyListener, "/Components/Dependencies/ConnectionBendpoints/*");
        writeDependencyBendPoints(dependency, connPart);
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.ComponentDependency

    this.componentDependencyListener = new FilteredListener<PropertyEvent>()
    {
      @Override
      protected void handleTypedEvent( final PropertyEvent event )
      {
        ComponentDependency componentDependency = event.property().element().nearest(ComponentDependency.class);
        if (componentDependency != null)
        {
          handleConnectionBendpointChange(componentDependency);
        }
      }
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.ComponentDependency

    }
    SapphireDiagramEditorPagePart diagramPart = context( SapphireDiagramEditorPagePart.class );
    ConnectionService connService = diagramPart.service(ConnectionService.class);
    for (DiagramConnectionPart connPart : connService.list())
    {
      ComponentDependency dependency = (ComponentDependency)connPart.getLocalModelElement();
      if (!dependency.disposed())
      {
        writeDependencyBendPoints(dependency, connPart);
      }
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.