Examples of registerController()


Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of com.sun.star.frame.XUIControllerRegistration.registerController()

       
        // register one controller, so it can be instantiated
        XUIControllerRegistration xReg = (XUIControllerRegistration)
                UnoRuntime.queryInterface(XUIControllerRegistration.class, xInst);
       
        xReg.registerController(".uno:MyCommandUrl", "", "com.sun.star.comp.framework.FooterMenuController");
        tEnv.addObjRelation("XUIControllerRegistration.RegisteredController", ".uno:MyCommandUrl");
        tEnv.addObjRelation("XMultiComponentFactory.ServiceNames", new String[]{".uno:MyCommandUrl"});
                
        return tEnv;
    }
View Full Code Here

Examples of org.grails.web.mapping.mvc.GrailsControllerUrlMappings.registerController()

        ((ConfigurableApplicationContext)applicationContext).addApplicationListener( new ApplicationListener<ArtefactAdditionEvent>() {
            @Override
            public void onApplicationEvent(ArtefactAdditionEvent event) {
                GrailsClass artefact = event.getArtefact();
                if(artefact instanceof GrailsControllerClass) {
                    grailsControllerUrlMappings.registerController((GrailsControllerClass)artefact);
                }
            }
        });
        urlMappingsHolder= grailsControllerUrlMappings;
    }
View Full Code Here

Examples of penny.downloadmanager.view.settings.EditFileFormat.registerController()

                model.getAppSettingsCopy().getSavingModel().setSaveFolder(chooser.getSelectedFile().toString());
            }
        } else if(e.getActionCommand().equals(COM_TEMPFORMATEDIT)) {
            model.setNameType(SettingsDialogModel.TYPE_TEMP);
            EditFileFormat edit = new EditFileFormat(model);
            edit.registerController(this);
            edit.setVisible(true);
        } else if(e.getActionCommand().equals(COM_SAVEFORMATEDIT)) {
            model.setNameType(SettingsDialogModel.TYPE_SAVE);
            EditFileFormat edit = new EditFileFormat(model);
            edit.registerController(this);
View Full Code Here

Examples of penny.downloadmanager.view.settings.EditFileFormat.registerController()

            edit.registerController(this);
            edit.setVisible(true);
        } else if(e.getActionCommand().equals(COM_SAVEFORMATEDIT)) {
            model.setNameType(SettingsDialogModel.TYPE_SAVE);
            EditFileFormat edit = new EditFileFormat(model);
            edit.registerController(this);
            edit.setVisible(true);
        } else if(e.getActionCommand().equals(COM_OK)) {
            model.getAppSettings().copy(model.getAppSettingsCopy());
            Model.getSettingsSaver().save();
            model.setVisible(false);
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.