mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 230185: made package internal:
org.eclipse.cdt.managedbuilder.ui.actions -> org.eclipse.cdt.managedbuilder.internal.ui.actions
This commit is contained in:
parent
1fe815d140
commit
a41dc7b70e
13 changed files with 25 additions and 69 deletions
|
@ -6,11 +6,11 @@ Bundle-Version: 7.0.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
|
Bundle-Activator: org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Export-Package: org.eclipse.cdt.managedbuilder.internal.ui.workingsets;x-internal:=true,
|
Export-Package: org.eclipse.cdt.managedbuilder.ui.preferences,
|
||||||
org.eclipse.cdt.managedbuilder.ui.actions,
|
|
||||||
org.eclipse.cdt.managedbuilder.ui.preferences,
|
|
||||||
org.eclipse.cdt.managedbuilder.ui.properties,
|
org.eclipse.cdt.managedbuilder.ui.properties,
|
||||||
org.eclipse.cdt.managedbuilder.ui.wizards
|
org.eclipse.cdt.managedbuilder.ui.wizards,
|
||||||
|
org.eclipse.cdt.managedbuilder.internal.ui.actions;x-internal:=true,
|
||||||
|
org.eclipse.cdt.managedbuilder.internal.ui.workingsets;x-internal:=true
|
||||||
Require-Bundle: org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
|
Require-Bundle: org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
|
||||||
org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
|
org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
|
||||||
org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
|
org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.popupMenu.ConvertTargetContribution">
|
id="org.eclipse.cdt.managedbuilder.ui.popupMenu.ConvertTargetContribution">
|
||||||
<action
|
<action
|
||||||
label="%ConvertTargetAction.label"
|
label="%ConvertTargetAction.label"
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.ConvertTargetAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.ConvertTargetAction"
|
||||||
menubarPath="additions"
|
menubarPath="additions"
|
||||||
enablesFor="1"
|
enablesFor="1"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.ConvertTargetAction">
|
id="org.eclipse.cdt.managedbuilder.ui.ConvertTargetAction">
|
||||||
|
@ -96,19 +96,19 @@
|
||||||
adaptable="true"
|
adaptable="true"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.popupMenu.BuildAll">
|
id="org.eclipse.cdt.managedbuilder.ui.popupMenu.BuildAll">
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanAndBuildAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanAndBuildAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.rebuildConfigurationsAction"
|
id="org.eclipse.cdt.managedbuilder.ui.rebuildConfigurationsAction"
|
||||||
label="%RebuildConfigurationsMenu.label"
|
label="%RebuildConfigurationsMenu.label"
|
||||||
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanAllConfigurationsAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanAllConfigurationsAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.cleanAllConfigurationsAction"
|
id="org.eclipse.cdt.managedbuilder.ui.cleanAllConfigurationsAction"
|
||||||
label="%CleanAllConfigurationsMenu.label"
|
label="%CleanAllConfigurationsMenu.label"
|
||||||
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildAllConfigurationsAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildAllConfigurationsAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.buildAllConfigurationsAction"
|
id="org.eclipse.cdt.managedbuilder.ui.buildAllConfigurationsAction"
|
||||||
label="%BuildAllConfigurationsMenu.label"
|
label="%BuildAllConfigurationsMenu.label"
|
||||||
|
@ -124,13 +124,13 @@
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.BuildSelectedFilesContribution"
|
id="org.eclipse.cdt.managedbuilder.ui.BuildSelectedFilesContribution"
|
||||||
objectClass="org.eclipse.core.resources.IResource">
|
objectClass="org.eclipse.core.resources.IResource">
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildFilesAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildFilesAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.popups.buildFilesAction"
|
id="org.eclipse.cdt.managedbuilder.ui.popups.buildFilesAction"
|
||||||
label="%BuildSelectedFiles.label"
|
label="%BuildSelectedFiles.label"
|
||||||
menubarPath="additions"/>
|
menubarPath="additions"/>
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanFilesAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanFilesAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.popups.cleanFilesAction"
|
id="org.eclipse.cdt.managedbuilder.ui.popups.cleanFilesAction"
|
||||||
label="%CleanSelectedFiles.label"
|
label="%CleanSelectedFiles.label"
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
</groupMarker>
|
</groupMarker>
|
||||||
</menu>
|
</menu>
|
||||||
<action
|
<action
|
||||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildAllAction"
|
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildAllAction"
|
||||||
enablesFor="+"
|
enablesFor="+"
|
||||||
id="org.eclipse.cdt.managedbuilder.ui.buildAllAction0"
|
id="org.eclipse.cdt.managedbuilder.ui.buildAllAction0"
|
||||||
label="%BuildMenu.label"
|
label="%BuildMenu.label"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -26,11 +26,6 @@ import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action which builds all configurations of the selected projects
|
* Action which builds all configurations of the selected projects
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class BuildAllConfigurationsAction implements IObjectActionDelegate {
|
public class BuildAllConfigurationsAction implements IObjectActionDelegate {
|
||||||
private ArrayList<IProject> projects = null;
|
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
|
import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IConfiguration;
|
import org.eclipse.cdt.managedbuilder.core.IConfiguration;
|
||||||
|
@ -25,11 +25,6 @@ import com.ibm.icu.text.MessageFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A job to build CDT build configurations.
|
* A job to build CDT build configurations.
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class BuildConfigurationsJob extends Job {
|
public class BuildConfigurationsJob extends Job {
|
||||||
private ICConfigurationDescription[] cfgDescriptions;
|
private ICConfigurationDescription[] cfgDescriptions;
|
||||||
|
@ -83,7 +78,7 @@ public class BuildConfigurationsJob extends Job {
|
||||||
ManagedBuildManager.buildConfigurations(cfgs, null, monitor, true, buildKind);
|
ManagedBuildManager.buildConfigurations(cfgs, null, monitor, true, buildKind);
|
||||||
}
|
}
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
return new Status(IStatus.ERROR, org.eclipse.cdt.managedbuilder.ui.actions.Messages.BuildConfigurationsJob_BuildError, e.getLocalizedMessage());
|
return new Status(IStatus.ERROR, org.eclipse.cdt.managedbuilder.internal.ui.actions.Messages.BuildConfigurationsJob_BuildError, e.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
if (monitor.isCanceled()) {
|
if (monitor.isCanceled()) {
|
||||||
return Status.CANCEL_STATUS;
|
return Status.CANCEL_STATUS;
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Texas Instruments - initial API and implementation
|
* Texas Instruments - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
|
@ -43,10 +43,7 @@ import org.eclipse.ui.actions.ActionDelegate;
|
||||||
import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author crecoskie
|
* Action to build selected files.
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*/
|
*/
|
||||||
public class BuildFilesAction extends ActionDelegate implements
|
public class BuildFilesAction extends ActionDelegate implements
|
||||||
IWorkbenchWindowActionDelegate {
|
IWorkbenchWindowActionDelegate {
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -26,11 +26,6 @@ import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action which cleans all configurations of the selected projects
|
* Action which cleans all configurations of the selected projects
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class CleanAllConfigurationsAction implements IObjectActionDelegate {
|
public class CleanAllConfigurationsAction implements IObjectActionDelegate {
|
||||||
private ArrayList<IProject> projects = null;
|
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -24,11 +24,6 @@ import org.eclipse.ui.IWorkbenchPart;
|
||||||
/**
|
/**
|
||||||
* Action which cleans and rebuilds selected configurations. User selects
|
* Action which cleans and rebuilds selected configurations. User selects
|
||||||
* which configurations to rebuild via {@link CleanAndBuildDialog}.
|
* which configurations to rebuild via {@link CleanAndBuildDialog}.
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class CleanAndBuildAction implements IObjectActionDelegate {
|
public class CleanAndBuildAction implements IObjectActionDelegate {
|
||||||
private ArrayList<IProject> projects = null;
|
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -49,11 +49,6 @@ import org.eclipse.ui.model.WorkbenchLabelProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog to let the user to clean and rebuild configurations of the selected projects.
|
* Dialog to let the user to clean and rebuild configurations of the selected projects.
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class CleanAndBuildDialog extends MessageDialog {
|
public class CleanAndBuildDialog extends MessageDialog {
|
||||||
private static final String DIALOG_SETTINGS_SECTION = "RebuildConfigurationsDialogSettings"; //$NON-NLS-1$
|
private static final String DIALOG_SETTINGS_SECTION = "RebuildConfigurationsDialogSettings"; //$NON-NLS-1$
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Texas Instruments - initial API and implementation
|
* Texas Instruments - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
|
@ -40,10 +40,7 @@ import org.eclipse.ui.PlatformUI;
|
||||||
import org.eclipse.ui.actions.ActionDelegate;
|
import org.eclipse.ui.actions.ActionDelegate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author crecoskie
|
* Action to clean build output for selected files
|
||||||
*
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*/
|
*/
|
||||||
public class CleanFilesAction extends ActionDelegate implements
|
public class CleanFilesAction extends ActionDelegate implements
|
||||||
IWorkbenchWindowActionDelegate {
|
IWorkbenchWindowActionDelegate {
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Intel Corporation - initial API and implementation
|
* Intel Corporation - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo;
|
import org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IManagedProject;
|
import org.eclipse.cdt.managedbuilder.core.IManagedProject;
|
||||||
|
@ -27,10 +27,6 @@ import org.eclipse.ui.IObjectActionDelegate;
|
||||||
import org.eclipse.ui.IWorkbenchPart;
|
import org.eclipse.ui.IWorkbenchPart;
|
||||||
import org.eclipse.ui.actions.ActionDelegate;
|
import org.eclipse.ui.actions.ActionDelegate;
|
||||||
|
|
||||||
/**
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*/
|
|
||||||
public class ConvertTargetAction
|
public class ConvertTargetAction
|
||||||
extends ActionDelegate
|
extends ActionDelegate
|
||||||
implements IObjectActionDelegate {
|
implements IObjectActionDelegate {
|
|
@ -8,7 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Intel Corporation - initial API and implementation
|
* Intel Corporation - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -38,10 +38,6 @@ import org.eclipse.swt.widgets.List;
|
||||||
import org.eclipse.swt.widgets.Listener;
|
import org.eclipse.swt.widgets.Listener;
|
||||||
import org.eclipse.swt.widgets.Shell;
|
import org.eclipse.swt.widgets.Shell;
|
||||||
|
|
||||||
/**
|
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*/
|
|
||||||
public class ConvertTargetDialog extends Dialog {
|
public class ConvertTargetDialog extends Dialog {
|
||||||
|
|
||||||
final private String title;
|
final private String title;
|
|
@ -8,20 +8,15 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.ui.actions;
|
package org.eclipse.cdt.managedbuilder.internal.ui.actions;
|
||||||
|
|
||||||
import org.eclipse.osgi.util.NLS;
|
import org.eclipse.osgi.util.NLS;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message bundle class for externalizing messages.
|
* Message bundle class for externalizing messages.
|
||||||
*
|
|
||||||
* @noextend This interface is not intended to be extended by clients.
|
|
||||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
|
||||||
*
|
|
||||||
* @since 7.0
|
|
||||||
*/
|
*/
|
||||||
public class Messages extends NLS {
|
public class Messages extends NLS {
|
||||||
private static final String BUNDLE_NAME = "org.eclipse.cdt.managedbuilder.ui.actions.messages"; //$NON-NLS-1$
|
private static final String BUNDLE_NAME = "org.eclipse.cdt.managedbuilder.internal.ui.actions.messages"; //$NON-NLS-1$
|
||||||
public static String BuildConfigurationsJob_BuildError;
|
public static String BuildConfigurationsJob_BuildError;
|
||||||
public static String BuildConfigurationsJob_Building;
|
public static String BuildConfigurationsJob_Building;
|
||||||
public static String BuildConfigurationsJob_Cleaning;
|
public static String BuildConfigurationsJob_Cleaning;
|
Loading…
Add table
Reference in a new issue