[Title] Make sign in launch
authorho.namkoong <ho.namkoong@samsung.com>
Sun, 17 Mar 2013 11:53:44 +0000 (20:53 +0900)
committerho.namkoong <ho.namkoong@samsung.com>
Sun, 17 Mar 2013 11:58:58 +0000 (20:58 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#] 8705
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I0e45756b6cee353130dc9d6a25d606ecb88eeca4

org.tizen.common.sign/src/org/tizen/common/sign/preferences/Messages.java
org.tizen.common.sign/src/org/tizen/common/sign/preferences/Messages.properties
org.tizen.common.sign/src/org/tizen/common/sign/preferences/SigningPreferencePage.java
org.tizen.common.sign/src/org/tizen/common/sign/signer/SignatureGenerator.java

index 7b4c58f..de7b081 100644 (file)
@@ -54,9 +54,6 @@ extends NLS
        public static String PROFILES_SETACTIVE_BTN;
        public static String PROFILES_SETACTIVE_TOOLTIP;
        
-       public static String NOTE_LABEL;
-       public static String NOTE_DESC;
-       
        
        public static String ERROR_DIALOG_TITLE;
        public static String ERROR_DIALOG_NOT_SELECTED;
index 8737002..0ed37e5 100644 (file)
@@ -11,9 +11,6 @@ PROFILES_ADD_TOOLTIP=Add Profile
 PROFILES_REMOVE_BTN=Remove
 PROFILES_REMOVE_TOOLTIP=Remove Profile
 
-NOTE_LABEL=Note:
-NOTE_DESC=(The following format characters are supported in identifier string\n%a:Author, %f:Fingerprint, %w:Widget, %h:Hash, %t:Time)
-
 PROFILES_SETACTIVE_BTN=Set Active
 PROFILES_SETACTIVE_TOOLTIP=Set Active Profile
 
index 959b179..de8682c 100755 (executable)
@@ -94,9 +94,6 @@ public class SigningPreferencePage extends PreferencePage implements IWorkbenchP
     private Button clearButton;
     private Button distClearButton;
 
-    public static String testCertKey = "testCert"; //$NON-NLS-1$
-    private Button testCertButton;
-
     private IPreferenceStore preferenceStore;
     
     public SigningPreferencePage() {
@@ -118,7 +115,6 @@ public class SigningPreferencePage extends PreferencePage implements IWorkbenchP
         layout.marginHeight = 0;
         composite.setLayout(layout);
         composite.setLayoutData(new GridData(GridData.FILL_BOTH));
-        createTestCertButton(composite);
         createProfileListButtons(composite);
         createProfileItemsTable(composite);
         return parent;
@@ -149,40 +145,6 @@ public class SigningPreferencePage extends PreferencePage implements IWorkbenchP
         labelComposite.setLayout(compLayout);
         GridData compData = new GridData(GridData.FILL_HORIZONTAL);
         labelComposite.setLayoutData(compData);
-        
-//        final Label noteLabel = new Label(labelComposite, SWT.NONE);
-//        noteLabel.setText( Messages.NOTE_LABEL );
-//        noteLabel.setFont( new Font( getDisplay(), boldFont( noteLabel.getParent().getFont() ) ) );
-//        GridData noteData = new GridData();
-//        noteData.verticalAlignment = SWT.TOP;
-//        noteLabel.setLayoutData( noteData );
-        
-//        Label label = new Label(labelComposite, SWT.WRAP);
-//        Font smallFont = new Font(Display.getDefault(), smallFont(label.getParent().getFont()));
-//        label.setFont(smallFont);
-//        label.setText( Messages.NOTE_DESC );
-    }
-
-    private void createTestCertButton(Composite composite) {
-        this.testCertButton = new Button(composite, SWT.LEFT | SWT.CHECK);
-        this.testCertButton.setText( Messages.AUTOINSERT_BTN );
-        
-        // get preference value
-        //FIXME make default value false release a4 RC1
-       preferenceStore.setDefault( testCertKey, false );
-               testCertButton.setSelection(preferenceStore.getBoolean(testCertKey));
-               
-        this.testCertButton.addSelectionListener(new SelectionAdapter() {
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               preferenceStore.setValue(testCertKey, testCertButton.getSelection());
-                       }
-        });
-
-        GridData gridData = new GridData();
-        gridData.horizontalAlignment = GridData.FILL;
-        this.testCertButton.setLayoutData(gridData);
-        this.testCertButton.setFont( composite.getFont() );
     }
     
     private void createProfileItemButtons(Composite composite) {
index f96ca71..800cdae 100644 (file)
@@ -89,7 +89,7 @@ public class SignatureGenerator {
     }
     
     protected boolean getInsertSignatureOption() {
-        return this.pStore.getBoolean( SigningPreferencePage.testCertKey );
+        return true;
     }
     
     protected String getActiveProfileName() {