Community
Participate
Working Groups
ILaunchConfigurationTab[] tabs =
tabs = new ILaunchConfigurationTab[]{
new EquinoxPluginsTab(),
new ProfileTab(false, false),
new ProfileExtendedTab(false, false),
new DestinationTab(),
new JavaArgumentsTab(),
new EquinoxSettingsTab(),
ILaunchConfigurationTab[] tabs = null;
new JUnitMainTab(),
new PluginJUnitMainTab(),
new MainTab(),
new PluginsTab(),
ArrayList tabs = new ArrayList(10);
tabs.add(new JUnitMainTab());
tabs.add(new JavaArgumentsTab());
tabs.add(new ProfileTab(false, false));
tabs.add(new ProfileExtendedTab(false, false));
tabs.add(new DestinationTab());
tabs.add(new JavaClasspathTab());
tabs.add(new SourceLookupTab());
// Overview sub-tab defaults
ProfilingSetsManager manager = ProfilingSetsManager.instance();
boolean autoFilteringCriteria = store.getBoolean(TraceConstants.AUTO_FILTER_CRITERIA_OPTION);
wc.setAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_FILTER_CRITERIA, autoFilteringCriteria);
wc.setAttribute(IProfileLaunchConfigurationConstants.ATTR_PROFILING_SET, manager.getDefaultSet() == null ? null : manager.getDefaultSet().getId());
wc.setAttribute(IProfileLaunchConfigurationConstants.ATTR_FILTER_SET, autoFilteringCriteria ? TraceConstants.AUTO_GENERATED_FILTER_SET : LauncherConstants.DEFAULT_FILTER_ID);
wc.setAttribute(IProfileLaunchConfigurationConstants.ATTR_FILTER_SET, LauncherConstants.DEFAULT_FILTER_ID);
}
public void activated(ILaunchConfigurationWorkingCopy conf)
{
tabs.add(new JavaMainTab());
tabs.add(new ProfileEnvironmentTab());
tabs.add(new AppletMainTab());
tabs.add(new AppletParametersTab());
tabs.add(new AppletArgumentsTab());
filtersSetList.add(generatedFilterSet);
FilterTableElement excludingFilter = new FilterTableElement("*", "*", TraceMessages.EXCLUDE);
String finalFilterType = !filters.isEmpty() ? TraceMessages.EXCLUDE : TraceMessages.INCLUDE;
filters.add(excludingFilter);
FilterTableElement finalFilter = new FilterTableElement("*", "*", finalFilterType);
filters.add(finalFilter);
generatedFilterSet.setChildren(filters);
TraceFilterManager.getInstance().storeFilterSetList(filtersSetList);
public static boolean isAutoFilteringCriteria(final ILaunchConfiguration config) throws CoreException {
IPreferenceStore store = UIPlugin.getDefault().getPreferenceStore();
return config.getAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_FILTER_CRITERIA, false);
return config.getAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_FILTER_CRITERIA, store.getBoolean(TraceConstants.AUTO_FILTER_CRITERIA_OPTION));
/* ----------------------------------------------------------------------------------------------------------------------------------------- */
package org.eclipse.hyades.trace.ui.internal.launcher;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.hyades.trace.internal.ui.TraceConstants;
import org.eclipse.hyades.trace.ui.UIPlugin;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherConstants;
public class ProfileExtendedTab extends ProfileTab {
public ProfileExtendedTab(final boolean attach,
final boolean includeDestinationTab) {
super(attach, includeDestinationTab);
public void setDefaults(final ILaunchConfigurationWorkingCopy wc) {
super.setDefaults(wc);