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-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Export-Package: org.eclipse.cdt.managedbuilder.internal.ui.workingsets;x-internal:=true,
|
||||
org.eclipse.cdt.managedbuilder.ui.actions,
|
||||
org.eclipse.cdt.managedbuilder.ui.preferences,
|
||||
Export-Package: org.eclipse.cdt.managedbuilder.ui.preferences,
|
||||
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)",
|
||||
org.eclipse.core.resources;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">
|
||||
<action
|
||||
label="%ConvertTargetAction.label"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.ConvertTargetAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.ConvertTargetAction"
|
||||
menubarPath="additions"
|
||||
enablesFor="1"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.ConvertTargetAction">
|
||||
|
@ -96,19 +96,19 @@
|
|||
adaptable="true"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.popupMenu.BuildAll">
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanAndBuildAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanAndBuildAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.rebuildConfigurationsAction"
|
||||
label="%RebuildConfigurationsMenu.label"
|
||||
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanAllConfigurationsAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanAllConfigurationsAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.cleanAllConfigurationsAction"
|
||||
label="%CleanAllConfigurationsMenu.label"
|
||||
menubarPath="org.eclipse.cdt.ui.cfgmenu/gm1"/>
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildAllConfigurationsAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildAllConfigurationsAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.buildAllConfigurationsAction"
|
||||
label="%BuildAllConfigurationsMenu.label"
|
||||
|
@ -124,13 +124,13 @@
|
|||
id="org.eclipse.cdt.managedbuilder.ui.BuildSelectedFilesContribution"
|
||||
objectClass="org.eclipse.core.resources.IResource">
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildFilesAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildFilesAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.popups.buildFilesAction"
|
||||
label="%BuildSelectedFiles.label"
|
||||
menubarPath="additions"/>
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.CleanFilesAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.CleanFilesAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.popups.cleanFilesAction"
|
||||
label="%CleanSelectedFiles.label"
|
||||
|
@ -172,7 +172,7 @@
|
|||
</groupMarker>
|
||||
</menu>
|
||||
<action
|
||||
class="org.eclipse.cdt.managedbuilder.ui.actions.BuildAllAction"
|
||||
class="org.eclipse.cdt.managedbuilder.internal.ui.actions.BuildAllAction"
|
||||
enablesFor="+"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.buildAllAction0"
|
||||
label="%BuildMenu.label"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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;
|
||||
|
||||
|
@ -26,11 +26,6 @@ import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
|||
|
||||
/**
|
||||
* 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 {
|
||||
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.managedbuilder.core.IConfiguration;
|
||||
|
@ -25,11 +25,6 @@ import com.ibm.icu.text.MessageFormat;
|
|||
|
||||
/**
|
||||
* 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 {
|
||||
private ICConfigurationDescription[] cfgDescriptions;
|
||||
|
@ -83,7 +78,7 @@ public class BuildConfigurationsJob extends Job {
|
|||
ManagedBuildManager.buildConfigurations(cfgs, null, monitor, true, buildKind);
|
||||
}
|
||||
} 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()) {
|
||||
return Status.CANCEL_STATUS;
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.LinkedList;
|
||||
|
@ -43,10 +43,7 @@ import org.eclipse.ui.actions.ActionDelegate;
|
|||
import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
||||
|
||||
/**
|
||||
* @author crecoskie
|
||||
*
|
||||
* @noextend This class is not intended to be subclassed by clients.
|
||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
||||
* Action to build selected files.
|
||||
*/
|
||||
public class BuildFilesAction extends ActionDelegate implements
|
||||
IWorkbenchWindowActionDelegate {
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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;
|
||||
|
||||
|
@ -26,11 +26,6 @@ import org.eclipse.ui.internal.ide.actions.BuildUtilities;
|
|||
|
||||
/**
|
||||
* 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 {
|
||||
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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;
|
||||
|
||||
|
@ -24,11 +24,6 @@ import org.eclipse.ui.IWorkbenchPart;
|
|||
/**
|
||||
* Action which cleans and rebuilds selected configurations. User selects
|
||||
* 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 {
|
||||
private ArrayList<IProject> projects = null;
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.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.
|
||||
*
|
||||
* @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 {
|
||||
private static final String DIALOG_SETTINGS_SECTION = "RebuildConfigurationsDialogSettings"; //$NON-NLS-1$
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.LinkedList;
|
||||
|
@ -40,10 +40,7 @@ import org.eclipse.ui.PlatformUI;
|
|||
import org.eclipse.ui.actions.ActionDelegate;
|
||||
|
||||
/**
|
||||
* @author crecoskie
|
||||
*
|
||||
* @noextend This class is not intended to be subclassed by clients.
|
||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
||||
* Action to clean build output for selected files
|
||||
*/
|
||||
public class CleanFilesAction extends ActionDelegate implements
|
||||
IWorkbenchWindowActionDelegate {
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.IManagedProject;
|
||||
|
@ -27,10 +27,6 @@ import org.eclipse.ui.IObjectActionDelegate;
|
|||
import org.eclipse.ui.IWorkbenchPart;
|
||||
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
|
||||
extends ActionDelegate
|
||||
implements IObjectActionDelegate {
|
|
@ -8,7 +8,7 @@
|
|||
* Contributors:
|
||||
* 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.Map;
|
||||
|
@ -38,10 +38,6 @@ import org.eclipse.swt.widgets.List;
|
|||
import org.eclipse.swt.widgets.Listener;
|
||||
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 {
|
||||
|
||||
final private String title;
|
|
@ -8,20 +8,15 @@
|
|||
* Contributors:
|
||||
* 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;
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
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_Building;
|
||||
public static String BuildConfigurationsJob_Cleaning;
|
Loading…
Add table
Reference in a new issue