It's all about the answers!

Ask a question

Compile errors in WorkItemIDEUIExamplePlugin sample.


SImon Starkie (135) | asked May 29 '15, 6:26 p.m.

Description Resource Path Location Type
Implicit super constructor AbstractUIPlugin() is undefined for default constructor. Must define an explicit constructor WorkItemIDEUIExamplePlugin.java /EISRTCUtility/src/com/ibm/team/workitem/ide/ui/example line 14 Java Problem

/*******************************************************************************

* Licensed Materials

- Property of IBM

* (c) Copyright IBM Corporation 2005, 2008. All Rights Reserved.

*

* Note to U.S. Government Users Restricted Rights: Use,

* duplication or disclosure restricted by GSA ADP Schedule

* Contract with IBM Corp.

*******************************************************************************/

package

com.ibm.team.workitem.ide.ui.example;

import

org.eclipse.ui.plugin.AbstractUIPlugin;

public

class WorkItemIDEUIExamplePlugin extends AbstractUIPlugin {

public final static String PLUGIN_ID= "com.ibm.team.workitem.ide.ui.example"; //$NON-NLS-1$

}


Comments
Glenn Bardwell commented Jul 28 '15, 4:07 p.m.
JAZZ DEVELOPER

Does AbstructUIPlugin contain the constructor below? Mine does, this compile for me.  It's an Eclipse plugin. Perhaps there's a versioning issue.

/
     * Creates an abstract UI plug-in runtime object.
     * <p>
     * Plug-in runtime classes are <code>BundleActivators</code> and so must
     * have an default constructor.  This method is called by the runtime when
     * the associated bundle is being activated.  
     * <p>
     * For more details, see <code>Plugin</code>'s default constructor.
    

     * @see Plugin#Plugin()
     * @since 3.0
    
/
    public AbstractUIPlugin() {
        super();
    }

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.