Package org.drools.guvnor.client.packages

Examples of org.drools.guvnor.client.packages.PackageEditorWrapper


                            final FormStylePopup pop = new FormStylePopup( images.snapshot(),
                                    constants.VersionNumber0Of1( conf.getVersionNumber(),
                                            conf.getName() ),
                                    new Integer( 800 ) );

                            PackageEditorWrapper ed = new PackageEditorWrapper(
                                    conf,
                                    clientFactory,
                                    true );
                            ed.setWidth( "100%" );
                            ed.setHeight( "100%" );
                            //pop.addRow( restore );
                            pop.addRow( ed );
                            pop.show();

                            //LoadingPopup.close();
View Full Code Here


                new GenericCallback<PackageConfigData>() {
                    public void onSuccess( PackageConfigData packageConfigData ) {
                        RulePackageSelector.currentlySelectedPackage = packageConfigData.getUuid();
                        acceptTabItem.addTab(
                                packageConfigData.name,
                                new PackageEditorWrapper( packageConfigData, clientFactory ) );

                        view.closeLoadingPackageInformationMessage();
                    }
                } );
    }
View Full Code Here

                    //This is used to update package editor when there are changes in its assets(eg, assets removed or renamed)
          private Command createCheckInAndArchiveCommandForRuleViewer(final RuleAsset ruleAsset) {
                        Command command = new Command() {
                            public void execute() {
                                PackageEditorWrapper packageEditor = explorerViewCenterPanel.getOpenedPackageEditors().get( ruleAsset.metaData.packageName );
                                if ( packageEditor != null ) {
                                    packageEditor.refresh();
                                }
                            }
                        };
                        return command;
                    }
View Full Code Here

        if ( !explorerViewCenterPanel.showIfOpen( uuid ) ) {
            LoadingPopup.showMessage( constants.LoadingPackageInformation() );
            RepositoryServiceFactory.getPackageService().loadPackageConfig( uuid,
                                                                     new GenericCallback<PackageConfigData>() {
                                                                         public void onSuccess(PackageConfigData conf) {
                                                                           PackageEditorWrapper ed = new PackageEditorWrapper( conf,
                                                                                                                   new Command() {
                                                                                                                       public void execute() {
                                                                                                                           explorerViewCenterPanel.close( uuid );
                                                                                                                       }
                                                                                                                   },
View Full Code Here

                                            conf.name ),
                                    new Integer( 800 ) );


                         
                            PackageEditorWrapper ed = new PackageEditorWrapper( conf,
                                                              true,
                                                                  null,
                                                                  null,
                                                                  null);
                            ed.setWidth( "100%" );
                            ed.setHeight( "100%" );
                            //pop.addRow( restore );
                            pop.addRow( ed );
                            pop.show();
                           
                            //LoadingPopup.close();
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.packages.PackageEditorWrapper

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.