1 11 package org.eclipse.jdt.internal.ui.javaeditor.saveparticipant; 12 13 import org.eclipse.core.runtime.IAdaptable; 14 import org.eclipse.core.runtime.preferences.IScopeContext; 15 16 import org.eclipse.swt.widgets.Composite; 17 import org.eclipse.swt.widgets.Control; 18 19 import org.eclipse.jface.preference.IPreferencePageContainer; 20 21 30 public interface ISaveParticipantPreferenceConfiguration { 31 32 40 Control createControl(Composite parent, IPreferencePageContainer container); 41 42 50 void initialize(IScopeContext context, IAdaptable element); 51 52 59 void performOk(); 60 61 68 void performDefaults(); 69 70 75 void dispose(); 76 77 80 void enableProjectSettings(); 81 82 85 void disableProjectSettings(); 86 87 93 boolean isEnabled(IScopeContext context); 94 95 102 boolean hasSettingsInScope(IScopeContext context); 103 104 } 105 | Popular Tags |