From Fedora Project Wiki

(Created page with "== Fedora Packager Process plug-in == ===Links=== * [https://fedorahosted.org/reviewboard/r/156/ Dashboard] ===Resources=== ===Challenges=== * If you want to change the 'project ...")
 
Line 1: Line 1:
== Fedora Packager Process plug-in ==
== Fedora Packager Process plug-in ==
===Links===
===Tickets===
* [https://fedorahosted.org/reviewboard/r/156/ Dashboard]
* [https://fedorahosted.org/reviewboard/r/156/ ReviewBoard-wizard-156]
* [https://fedorahosted.org/reviewboard/r/ ReviewBoard-userguide-]
* [https://fedorahosted.org/eclipse-fedorapackager/ticket/67#comment:2 fedorahosted-fedorapackager-process-67]
 
===Resources===
===Resources===
===Challenges===
===Challenges===

Revision as of 15:39, 29 June 2011

Fedora Packager Process plug-in

Tickets

Resources

Challenges

  • If you want to change the 'project name' to 'package name' for instance.
you need to add your own string, then externalize the string.
public class projectNewWizard extends Wizard implements INewWizard {
    ......
    public void init(IWorkbench workbench, IStructuredSelection selection) {
      super.addPages();
      mainPage = new WizardNewProjectCreationPage(PAGE_NAME){ //$NON-NLS-1$
        public void createControl(Composite parent) {
        super.createControl(parent);
        Composite container = (Composite) getControl();
        // I want to do something here to override it....
        projectLabel.setText("Package Name"); // this string should be externalized
     

// Here is where it's declared.
public class WizardNewProjectCreationPage extends WizardPage {
    ....
    /**
    * Creates the project name specification controls.
    *
    * @param parent the parent composite
    */
    private final void createProjectNameGroup(Composite parent) {
    ....
       // new project label
       Label projectLabel = new Label(projectGroup, SWT.NONE);
       projectLabel.setText(IDEWorkbenchMessages.WizardNewProjectCreationPage_nameLabel);  // want to change this message in org.eclipse.ui.internal.ide.messages.properties