Examples of IdlInterface


Examples of org.apache.cxf.tools.corba.common.idltypes.IdlInterface

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlInterface

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlInterface

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlInterface

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.apache.cxf.tools.corba.common.idltypes.IdlInterface

            if (defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.apache.yoko.tools.common.idltypes.IdlInterface

            if (defn != null && defn instanceof IdlInterface) {
                return (IdlInterface)defn;
            } else if (defn == null) {
                try {
                    IdlInterface storedIntf = intf;
                    intf = IdlInterface.create(scope, local);
                    scope.holdForScope(intf);
                    collectIdlDefns(binding);
                    scope.promoteHeldToScope();
                    result = intf;
View Full Code Here

Examples of org.jboss.test.iiop.interfaces.IdlInterface

               orb.run();
            }
         },
         "ORB thread"
      ).start();
      IdlInterface original = IdlInterfaceHelper.narrow(obj);
      IdlInterface echoedBack = session.testIdlInterface(original);
      assertEquals(orb.object_to_string(original),
                   orb.object_to_string(echoedBack));
     
      //----------------------------------------------------------------------
      session.remove();
View Full Code Here

Examples of org.netbeans.modules.openoffice.wizard.IDLInterface

       
        if ( interfacepickupPanel.display() ) {
            OOIDLParser ooidlparser = new OOIDLParser(
            interfacepickupPanel.getInterfaceFile() );
           
            IDLInterface iDLInterface = ooidlparser.createIDLInterface();
           
            if( iDLInterface == null ) {
                // Message that the IDL does not contain a Interface
                TopManager.getDefault().notify(
                new NotifyDescriptor.Message(
                "The IDL file you have choosen, does not contain an "
                + "Interface. Please pick up an other one." ) );
            }
            else {
                if ( ooservicedata.addIDLInterface( iDLInterface ) ) {
                    defaultlistmodel.addElement(
                    iDLInterface.getIDLName().getFullName() );
                }
            }
        }
    }//GEN-LAST:event_jButtonAddInterfaceActionPerformed
View Full Code Here

Examples of org.netbeans.modules.openoffice.wizard.IDLInterface

   
    private void jcomboboxInterfacesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcomboboxInterfacesActionPerformed
        int intSelectedIndex = jcomboboxInterfaces.getSelectedIndex();
        if ( intSelectedIndex != -1 ) {
            // Get interface.
            IDLInterface interfacedescriptionToDisplay
            = ( IDLInterface ) vectorInterfaces.elementAt(
            intSelectedIndex );
           
            vectorMethods = interfacedescriptionToDisplay.getVectorMethods();
           
            jcomboboxMethods.removeAllItems();
           
            for ( int intMethodCounter = 0;
            intMethodCounter < vectorMethods.size();
View Full Code Here

Examples of org.netbeans.modules.openoffice.wizard.IDLInterface

        // Set default descriptions for every interface.
        for ( int intIndexInterface = 0;
        intIndexInterface < vectorInterfaces.size();
        intIndexInterface++ ) {
            // Get the interface.
            IDLInterface idlinterface = ( IDLInterface )
            vectorInterfaces.elementAt( intIndexInterface );
           
            // Get the method vector.
            vectorMethods = idlinterface.getVectorMethods();
           
            // Set default descriptions for every method.
            for ( int intIndexMethod = 0;
            intIndexMethod < vectorMethods.size();
            intIndexMethod++ ) {
                // Get the method.
                IDLMethod idlmethod =
                ( IDLMethod ) vectorMethods.elementAt( intIndexMethod );
               
                // Set the default display function name.
                idlmethod.setDisplayFunctionName(
                idlmethod.getMethodElement().getName().getName() );
               
                // Set the default function desription.
                idlmethod.setFunctionDescription( "Without description." );
               
                // Set the default category.
                idlmethod.setCategory( "Add-in" );
               
                // Get the method element.
                MethodElement methodelement = idlmethod.getMethodElement();
               
                // Get the parameters from the method.
                MethodParameter[] methodparameter =
                methodelement.getParameters();
               
                // Create an array for the parameter description.
                IDLParameter[] idlparameter =
                new IDLParameter[ methodparameter.length ];
               
                // Set default descriptions for every parameter.
                for ( int intIndexParameter = 0;
                intIndexParameter < methodparameter.length;
                intIndexParameter++ ) {
                    // Create a new parameter.
                    idlparameter[ intIndexParameter ] = new IDLParameter();
                   
                    // Set default display parameter name.
                    idlparameter[ intIndexParameter ].setDisplayArgumentName(
                    methodparameter[ intIndexParameter ].getName() );
                   
                    // Set default display parameter description.
                    idlparameter[ intIndexParameter ].setArgumentDescription(
                    "Without description." );
                }
               
                // Set parameter description.
                idlmethod.setArgumentDescription( idlparameter );
            }
           
            // Fill in the interface combo box.
            jcomboboxInterfaces.addItem(
            idlinterface.getIdentifierName().getName() );
        }
       
        if ( vectorInterfaces.size() > 0 ) {
            // Enable text fields and combo box.
            jcomboboxCategory.enable();
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.