public ShowUsagesAction(Filter filter) { this.filter = filter; setInjectedContext(true); final UsageViewSettings usageViewSettings = UsageViewSettings.getInstance(); myUsageViewSettings = new UsageViewSettings(); myUsageViewSettings.loadState(usageViewSettings); myUsageViewSettings.GROUP_BY_FILE_STRUCTURE = false; myUsageViewSettings.GROUP_BY_MODULE = false; myUsageViewSettings.GROUP_BY_PACKAGE = false; myUsageViewSettings.GROUP_BY_USAGE_TYPE = false; myUsageViewSettings.GROUP_BY_SCOPE = false; }
private ShowUsagesAction(boolean showDialogBefore) { setInjectedContext(true); showSettingsDialogBefore = showDialogBefore; final UsageViewSettings usageViewSettings = UsageViewSettings.getInstance(); myUsageViewSettings = new UsageViewSettings(); myUsageViewSettings.loadState(usageViewSettings); myUsageViewSettings.GROUP_BY_FILE_STRUCTURE = false; myUsageViewSettings.GROUP_BY_MODULE = false; myUsageViewSettings.GROUP_BY_PACKAGE = false; myUsageViewSettings.GROUP_BY_USAGE_TYPE = false; myUsageViewSettings.GROUP_BY_SCOPE = false; }