Package org.openquark.cal.services

Examples of org.openquark.cal.services.ModuleRevision


                    Integer selectedRevision = revisionChooserDialog.showDialog(moduleNameToSync.toSourceText());
                   
                    // If any revision was selected, sync.
                    if (selectedRevision != null) {
                        int selectedRevisionNum = selectedRevision.intValue();
                        ModuleRevision moduleRevision = new ModuleRevision(moduleNameToSync, selectedRevisionNum);
                        gemCutter.doSyncModulesUserAction(Collections.singletonList(moduleRevision), false);
                    }
                }
            };
       
View Full Code Here


            Action revertModuleAction = new AbstractAction (GemCutter.getResourceString("RevertModulePopup")) {
                private static final long serialVersionUID = 5546677553785665358L;

                public void actionPerformed(ActionEvent evt) {
                    int moduleRevision = vaultInfo.getRevision();       // shouldn't be null.
                    gemCutter.doSyncModulesUserAction(Collections.singletonList(new ModuleRevision(moduleNameToSync, moduleRevision)), true);
                }
            };
           
            // Calculate whether the action should be enabled..
            boolean enableRevert;
View Full Code Here

TOP

Related Classes of org.openquark.cal.services.ModuleRevision

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.