Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] WTPDataModel rename


Extended Team,

As part of the API for M3, I have been cleaning up the base WTPDataModel, Operation, and Wizard frameworks.  The following classes have been repackaged:

Moved: OperationStatus
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPOperation
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPOperationDataModel
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPOperationDataModelEvent
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPOperationDataModelListener
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPPropertyDescriptor
From: org.eclipse.wst.common.frameworks.internal.operations
To: org.eclipse.wst.common.frameworks.operations

Moved: WTPWizard
From: org.eclipse.wst.common.frameworks.internal.ui
To: org.eclipse.wst.common.frameworks.ui

Moved: WTPDataModelSynchHelper
From: org.eclipse.wst.common.frameworks.internal.ui
To: org.eclipse.wst.common.frameworks.ui

Moved: WTPWizardPage
From: org.eclipse.wst.common.frameworks.internal.ui
To: org.eclipse.wst.common.frameworks.ui

Also, I have also removed the following deprecated methods:

WTPDataModelSynchHelper
        /**
         * @deprecated use syncCombo(Combo, String, Control[])
         * @param combo
         * @param propertyName
         * @param actualProperty
         * @param dependentControls
         */
        public void synchCombo(Combo combo, String propertyName, String actualProperty, Control[] dependentControls)

WTPOperationDataModel
        /**
         * @deprecated use getValidPropertyDescriptors(String)
         * @param propertyName
         * @return
         */
        public final Object[] getValidPropertyValues(String propertyName)

        /**
         * @deprecated use getValidPropertyDescriptors(String)
         * @param propertyName
         * @return
         */
        public final String[] getValidStringPropertyValues(String propertyName)

        /**
         * Subclasses may override to provide specific valid property values for the given propertyName.
         *
         * @deprecated use doGetValidPropertyDescriptors(String)
         * @param propertyName
         * @return
         */
        protected Object[] doGetValidPropertyValues(String propertyName)

        Moved the following method to ProjectCreationDataModel and made it public:
        protected static IStatus validateProjectName(String projectName)

        Move the following method to ProjectCreationDataModel and made it static
        public IProject getProjectHandleFromName(String projectName)

        Removed the following method.
        public IProject getProjectHandle(String projectNameProperty)
        The following:
        dm.getProjectHandle(propertyName)
        should be replaced with this:
        ProjectCreationDataModel.getProjectHandleFromName(dm.getStringProperty(propertyName))

        Removed the following method:
        public IProject getTargetProject()

        Finally, the following method has been deprecated.  It will be removed from WTPOperationDataModel and left to subclasses to implement as required
        public IProject getTargetProject()

Thank you,

Jason A. Sholl
jsholl@xxxxxxxxxx
919-543-0011 (t/l 441-0011)

Back to the top