sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.button/src/com/nokia/carbide/cpp/internal/pi/button/ui/BupProfileEditDialog.java
equal
deleted
inserted
replaced
38 import org.eclipse.swt.widgets.Shell; |
38 import org.eclipse.swt.widgets.Shell; |
39 import org.eclipse.swt.widgets.Table; |
39 import org.eclipse.swt.widgets.Table; |
40 import org.eclipse.ui.PlatformUI; |
40 import org.eclipse.ui.PlatformUI; |
41 |
41 |
42 import com.nokia.carbide.cpp.pi.button.BupEventMapManager; |
42 import com.nokia.carbide.cpp.pi.button.BupEventMapManager; |
|
43 import com.nokia.carbide.cpp.pi.button.ButtonPlugin; |
43 import com.nokia.carbide.cpp.pi.button.ComNokiaCarbidePiButtonHelpIDs; |
44 import com.nokia.carbide.cpp.pi.button.ComNokiaCarbidePiButtonHelpIDs; |
44 import com.nokia.carbide.cpp.pi.button.IBupEventMap; |
45 import com.nokia.carbide.cpp.pi.button.IBupEventMap; |
45 import com.nokia.carbide.cpp.pi.button.IBupEventMapProfile; |
46 import com.nokia.carbide.cpp.pi.button.IBupEventMapProfile; |
46 import com.nokia.carbide.cpp.ui.CarbideUIPlugin; |
|
47 import com.nokia.carbide.cpp.ui.ICarbideSharedImages; |
|
48 |
47 |
49 public class BupProfileEditDialog extends TitleAreaDialog { |
48 public class BupProfileEditDialog extends TitleAreaDialog { |
50 |
49 |
51 private Composite content = null; |
50 private Composite content = null; |
52 private Group localeMappingGroup = null; |
51 private Group localeMappingGroup = null; |
79 BupEventMapManager.getInstance().releaseMap(mapForThisEdit); |
78 BupEventMapManager.getInstance().releaseMap(mapForThisEdit); |
80 } |
79 } |
81 |
80 |
82 public Control createDialogArea(Composite parent) { |
81 public Control createDialogArea(Composite parent) { |
83 getShell().setText(Messages.getString("BupProfileEditDialog.editingProfile") + profileForThisEdit.getProfileId()); //$NON-NLS-1$ |
82 getShell().setText(Messages.getString("BupProfileEditDialog.editingProfile") + profileForThisEdit.getProfileId()); //$NON-NLS-1$ |
84 setTitleImage(CarbideUIPlugin.getSharedImages().getImageDescriptor(ICarbideSharedImages.IMG_PI_METER_20_20).createImage()); |
83 setTitleImage(ButtonPlugin.getImageDescriptor("icons/PI_Meter_20x20.png").createImage()); //$NON-NLS-1$ |
85 setTitle(Messages.getString("BupProfileEditDialog.profile") + profileForThisEdit.getProfileId()); //$NON-NLS-1$ |
84 setTitle(Messages.getString("BupProfileEditDialog.profile") + profileForThisEdit.getProfileId()); //$NON-NLS-1$ |
86 |
85 |
87 GridLayoutFactory layoutExpandBoth = GridLayoutFactory.fillDefaults(); |
86 GridLayoutFactory layoutExpandBoth = GridLayoutFactory.fillDefaults(); |
88 GridDataFactory gridDataExpandBoth = GridDataFactory.fillDefaults().grab(true, true); |
87 GridDataFactory gridDataExpandBoth = GridDataFactory.fillDefaults().grab(true, true); |
89 |
88 |