1 11 package org.eclipse.team.internal.ccvs.ui.subscriber; 12 13 import org.eclipse.team.internal.ccvs.ui.wizards.GenerateDiffFileWizard; 14 import org.eclipse.team.internal.ui.synchronize.SynchronizePageConfiguration; 15 import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration; 16 import org.eclipse.team.ui.synchronize.ISynchronizeScope; 17 18 public class CreatePatchWizardParticipant extends WorkspaceSynchronizeParticipant { 19 20 final GenerateDiffFileWizard fWizard; 21 22 public CreatePatchWizardParticipant(ISynchronizeScope scope, GenerateDiffFileWizard wizard) { 23 super(scope); 24 fWizard= wizard; 25 } 26 27 30 protected void initializeConfiguration( ISynchronizePageConfiguration configuration) { 31 super.initializeConfiguration(configuration); 32 configuration.setProperty(ISynchronizePageConfiguration.P_TOOLBAR_MENU, new String [] {ISynchronizePageConfiguration.LAYOUT_GROUP}); 33 configuration.setProperty(ISynchronizePageConfiguration.P_CONTEXT_MENU, ISynchronizePageConfiguration.DEFAULT_CONTEXT_MENU); 34 ((SynchronizePageConfiguration)configuration).setViewerStyle(SynchronizePageConfiguration.CHECKBOX); 35 configuration.setSupportedModes(ISynchronizePageConfiguration.OUTGOING_MODE); 36 configuration.setMode(ISynchronizePageConfiguration.OUTGOING_MODE); 37 } 38 41 public boolean doesSupportSynchronize() { 42 return false; 43 } 44 } 45 | Popular Tags |