From c076162cc96671a51b0c6b8d9cb54f4d3183df38 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Tue, 6 Sep 2016 14:47:39 +0200 Subject: [PATCH] removed unused code Signed-off-by: Michael Hirsch --- .../ui/utils/SPUIComponentIdProvider.java | 220 +------ .../hawkbit/ui/utils/SPUIDefinitions.java | 553 +----------------- 2 files changed, 21 insertions(+), 752 deletions(-) diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIComponentIdProvider.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIComponentIdProvider.java index 5c0456c7d..f074485d7 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIComponentIdProvider.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIComponentIdProvider.java @@ -41,30 +41,10 @@ public final class SPUIComponentIdProvider { * ID-SW.DEL. */ public static final String SW_DELETE_ALL = "swmodule.delete.all"; - /* - * ID-Targ.Detail.icon. - */ - public static final String TARGET_DETAILS_ICON = "target.details.icon"; /** * ID-Targ.Edit.icon. */ public static final String TARGET_EDIT_ICON = "target.edit.icon"; - /** - * ID-Targ.Edit.Name. - */ - public static final String TARGET_EDIT_NAME = "target.edit.name"; - /** - * ID-Targ.Edit.desc. - */ - public static final String TARGET_EDIT_DESC = "target.edit.desc"; - /** - * ID-Targ.Edit.Save. - */ - public static final String TARGET_EDIT_SAVE = "target.edit.save"; - /** - * PREFIX - JVM. - */ - public static final String TARGET_EDIT_DISCARD = "target.edit.discard"; /** * ID-Targ.PIN. */ @@ -84,10 +64,6 @@ public final class SPUIComponentIdProvider { * ID-Dist. */ public static final String DIST_TABLE_ID = "dist.tableId"; - /** - * ID-Dist.Add. - */ - public static final String DIST_ADD_ID = "dist.add.id"; /** * ID-Dist.Name. */ @@ -104,58 +80,10 @@ public final class SPUIComponentIdProvider { * ID-Dist.desc. */ public static final String DIST_ADD_DESC = "dist.add.desc"; - /** - * ID-Dist.JVM. - */ - public static final String DIST_ADD_MODULE = "dist.add.module."; - /** - * ID-Dist.JVM delete icon. - */ - public static final String DIST_DELETE_MODULE = "dist.delete.module."; /** * /** ID-Dist.DELETE. */ public static final String DIST_DELETE_ALL = "dist.delete.all"; - /** - * ID-Dist.Detail.iocn. - */ - public static final String DIST_DETAILS_ICON = "dist.details.icon"; - /** - * ID-Dist.Edit.icon. - */ - public static final String DIST_EDIT_ICON = "dist.edit.icon"; - /** - * ID-Dist.Edit.name. - */ - public static final String DIST_EDIT_NAME = "dist.edit.name"; - /** - * ID-Dist.Edit.ver. - */ - public static final String DIST_EDIT_VERSION = "dist.edit.version"; - /** - * ID-Dist.Edit.desc. - */ - public static final String DIST_EDIT_DESC = "dist.edit.desc"; - /** - * ID-Dist.Edit.JVM. - */ - public static final String DIST_EDIT_JVM = "dist.edit.jvm"; - /** - * ID-Dist.Edit.AH. - */ - public static final String DIST_EDIT_AGENTHUB = "dist.edit.agenthub"; - /** - * ID-Dist.Edit.os. - */ - public static final String DIST_EDIT_OS = "dist.edit.os"; - /** - * ID-Dist.Edit.save. - */ - public static final String DIST_EDIT_SAVE = "dist.edit.save"; - /** - * ID-Dist.Edit.Discard. - */ - public static final String DIST_EDIT_DISCARD = "dist.edit.discard"; /** * ID-Dist.MigCheck. */ @@ -172,10 +100,6 @@ public final class SPUIComponentIdProvider { * ID - Dist.Add. */ public static final String DIST_ADD_ICON = "dist.add.icon"; - /** - * ID - Dist jvm combo. - */ - public static final String DIST_MODULE_COMBO = "dist.module.combo."; /** * ID for Distribution Tag ComboBox */ @@ -198,25 +122,6 @@ public final class SPUIComponentIdProvider { */ public static final String SOFT_MODULE_VENDOR = "soft.module.vendor"; - /** - * ID - "soft.module.save. - */ - public static final String SOFT_MODULE_SAVE = "soft.module.save"; - - /** - * ID - soft.module.discar. - */ - public static final String SOFT_MODULE_DISCARD = "soft.module.discard"; - - /** DistributionSet Components Ids ends here **/ - /** - * ID- Action popup. - */ - public static final String SAVE_ACTIONS_POPUP = "save.actions.popup"; - /** - * ID- Delete SW Module Popup. - */ - public static final String DELETE_SW_MODULE_ACTIONS_POPUP = "delete.sw.module.actions.popup"; /** * ID - Save Assign. */ @@ -284,11 +189,6 @@ public final class SPUIComponentIdProvider { */ public static final String TARGET_DROP_FILTER_ICON = "target.drop.filter.icon"; - /** - * DROP filter icon id. - */ - public static final String DROP_FILTER_ICON = "drop.filter.icon"; - /** * Pending action button id. */ @@ -354,18 +254,10 @@ public final class SPUIComponentIdProvider { * Upload - process button id. */ public static final String UPLOAD_PROCESS_BUTTON = "upload.process.button"; - /** - * Software module No Action Button id. - */ - public static final String NO_ACTION_BUTTON = "no.action.button"; /** * Upload - discard button id. */ public static final String UPLOAD_DISCARD_BUTTON = "upload.discard.button"; - /** - * Upload - delete button id. - */ - public static final String UPLOAD_SOFTWARE_DELETE_BUTTON = "upload.software.delete.button"; /** * Upload - artifact detail close button. @@ -440,18 +332,10 @@ public final class SPUIComponentIdProvider { */ public static final String ADD_SW_MODULE_DESCRIPTION = "sw.module.description"; - /** - * ID-Targ.Detail.icon. - */ - public static final String SW_TABLE_DETAILS_ICON = "swmodule.details.icon"; /** * ID-Targ.Detail.icon. */ public static final String SW_TABLE_ATRTIFACT_DETAILS_ICON = "swmodule.artifact.details.icon"; - /** - * ID-swModule.Edit.Button. - */ - public static final String SW_TABLE_EDIT_DETAILS = "swmodule.edit.details"; /** * Artifact upload - sw module edit button id. @@ -467,35 +351,16 @@ public final class SPUIComponentIdProvider { */ public static final String UPLOAD_ARTIFACT_DETAILS_TABLE_MAX = "upload.artifactdetails.table.max"; - /** - * Target tag button layout id. - */ - public static final String TARGET_TAG_BUTTON_LAYOUT = "target.tag.button.layout"; - /** * Target tag close button. */ public static final String HIDE_TARGET_TAGS = "hide.target.tags"; - /** - * Distribution Type tag close button. - */ - public static final String HIDE_DIST_TYPE_TAGS = "hide.dist.type.tags"; - /** * Show target tag layout icon. */ public static final String SHOW_TARGET_TAGS = "show.target.tags.icon"; - /** - * Tag name combo box in target details layout. - */ - public static final String TARGET_TAG_COMBO = "target.tag.names"; - - /** - * Target details - assign button. - */ - public static final String TARGET_TAG_ASSIGN = "target.tag.assign"; /** * ID-Target tag table. */ @@ -548,11 +413,6 @@ public final class SPUIComponentIdProvider { */ public static final String SYSTEM_CONFIGURATION_CANCEL = "system.configuration.cancel"; - /** - * Id of the anonymous download checkbox. - */ - public static final String SYSTEM_CONFIGURATION_ANONYMOUS_DOWNLOAD_CHECKBOX = "system.configuration.anonymous.download.checkbox"; - /** * Id of maximize/minimize icon of table - Software module table. */ @@ -690,10 +550,6 @@ public final class SPUIComponentIdProvider { * Bulk target upload - tag field. */ public static final String BULK_UPLOAD_TAG = "bulkupload.tag"; - /** - * Bulk target upload - upload button. - */ - public static final String BULK_UPLOAD_BUTTON = "bulkupload.upload.button"; /** * Bulk target upload - count label. */ @@ -758,11 +614,6 @@ public final class SPUIComponentIdProvider { */ public static final String BULK_UPLOAD_STATUS_BUTTON = "bulk.upload.notification.id"; - /** - * Target Filter Status button id. - */ - public static final String TARGET_FILTER_STATUS_BUTTON = "target.filter.status.button.id"; - /** * Target bulk upload minimize button id. */ @@ -804,11 +655,6 @@ public final class SPUIComponentIdProvider { */ public static final String ROLLOUT_GROUP_TARGETS_LIST_GRID_ID = "rollout.group.targets.grid.id"; - /** - * Rollout delete button id. - */ - public static final String ROLLOUT_DELETE_ICON = "rollout.delete.button.id"; - /** * Rollout text field name id. */ @@ -836,23 +682,6 @@ public final class SPUIComponentIdProvider { * Rollout description field id. */ public static final String ROLLOUT_DESCRIPTION_ID = "rollout.description.id"; - /** - * Rollout create update window - save buttopn id. - */ - public static final String ROLLOUT_CREATE_UPDATE_SAVE_ID = "rollout.create.update.save.id"; - - /** - * Rollout create update - discard button id. - */ - public static final String ROLLOUT_CREATE_UPDATE_DISCARD_ID = "rollout.create.update.discard.id"; - /** - * Rollout name link id. - */ - public static final String ROLLOUT_NAME_LINK_ID = "rollout.name.link"; - /** - * Rollout Group name link id. - */ - public static final String ROLLOUT_GROUP_NAME_LINK_ID = "rollout.group.name.link"; /** * Rollout target filter query combo id. */ @@ -878,10 +707,6 @@ public final class SPUIComponentIdProvider { */ public static final String ROLLOUT_UPDATE_BUTTON_ID = ROLLOUT_ACTION_ID + ".11"; - /** - * Rollout save or start option group id. - */ - public static final String ROLLOUT_SAVESTARTOPTION_ID = "rollout.savestartoption.id"; /** * Rollout status label id. */ @@ -906,18 +731,10 @@ public final class SPUIComponentIdProvider { * Rollout target view- close button id. */ public static final String ROLLOUT_TARGET_VIEW_CLOSE_BUTTON_ID = "rollout.group.target.close.id"; - /** - * Rollout status progress bar id. - */ - public static final String ROLLOUT_PROGRESS_BAR = "rollout.status.progress.bar.id"; /** * Rollout group header caption. */ public static final String ROLLOUT_GROUP_HEADER_CAPTION = "rollout.group.header.caption"; - /** - * Rollout group target header caption. - */ - public static final String ROLLOUT_GROUP_TARGET_HEADER_CAPTION = "rollout.group.header.target.caption"; /** * Rollout group close id. */ @@ -962,31 +779,21 @@ public final class SPUIComponentIdProvider { */ public static final String UPLOAD_STATUS_POPUP_ID = "artifact.upload.status.popup.id"; - /** + /** * Software module table - Manage metadata id. */ public static final String SW_TABLE_MANAGE_METADATA_ID = "swtable.manage.metadata.id"; - - + /** * Metadata key id. */ public static final String METADATA_KEY_FIELD_ID = "metadata.key.id"; - + /** * Metadata value id. */ public static final String METADATA_VALUE_ID = "metadata.value.id"; - /** - * Metadata save id. - */ - public static final String METADTA_SAVE_ICON_ID = "metadata.save.icon.id"; - - /** - * Metadata discard id. - */ - public static final String METADTA_DISCARD_ICON_ID = "metadata.discard.icon.id"; - + /** * Metadata add icon id. */ @@ -995,41 +802,36 @@ public final class SPUIComponentIdProvider { * Metadata table id. */ public static final String METDATA_TABLE_ID = "metadata.table.id"; - + /** * Distribution set table - Manage metadata id. */ public static final String DS_TABLE_MANAGE_METADATA_ID = "dstable.manage.metadata.id"; - - /** + + /** * DistributionSet - Metadata button id. */ public static final String DS_METADATA_DETAIL_LINK = "distributionset.metadata.detail.link"; - + /** * Metadata popup id. */ public static final String METADATA_POPUP_ID = "metadata.popup.id"; - + /** * DistributionSet table details tab id in Distributions . */ public static final String DISTRIBUTIONSET_DETAILS_TABSHEET_ID = "distributionset.details.tabsheet"; - + /** * Software module table details tab id in Distributions . */ public static final String DIST_SW_MODULE_DETAILS_TABSHEET_ID = "dist.sw.module.details.tabsheet"; - + /** * Software Module - Metadata button id. */ public static final String SW_METADATA_DETAIL_LINK = "softwaremodule.metadata.detail.link"; - - /** - * Table multiselect for selecting DistType - */ - public static final String SELECT_DIST_TYPE = "select-dist-type"; /** * /* Private Constructor. diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIDefinitions.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIDefinitions.java index f2e26564f..aae1da513 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIDefinitions.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/SPUIDefinitions.java @@ -16,11 +16,6 @@ import org.springframework.data.domain.Sort.Direction; /** * Class to provide the unchanged constants. - * - * - * - * - * */ public final class SPUIDefinitions { /** @@ -46,11 +41,6 @@ public final class SPUIDefinitions { */ public static final int DIST_TYPE_SIZE = 8; - /** - * Target and Distribution set table size. - */ - public static final int TABLE_MIN_LENGTH = 3; - /** * Action history active column. */ @@ -133,154 +123,10 @@ public final class SPUIDefinitions { */ public static final String SCHEDULED = "scheduled"; - /** - * Action history lazy fetch page length. - */ - public static final int PAGE_LEN_ACTION_HISTORY = 5; - - /** - * Action history lazy fetch page length in popup. - */ - public static final int PAGE_LEN_ACTION_HISTORY_IN_POPUP = 4; - - /** - * Action history messages page length in the popup. - */ - public static final int PAGE_LEN_MSGS_IN_ACTION_HISTORY = 3; - - /** - * Target filter box style. - */ - public static final String TARGET_FILTER_TEXTFIELD_STYLE = "target-filter-box target-filter-box-hide"; - - /** - * Distribution filter box style. - */ - public static final String DISTRIBUTION_FILTER_TEXTFIELD_STYLE = "dist-filter-box dist-filter-box-hide"; - public static final String TARGET_TAG_BUTTON = "Target Tag"; public static final String DISTRIBUTION_TAG_BUTTON = "Distribution Tag"; - public static final String SOFTWARE_MODULE_TYPE_BUTTON = "SoftwareModule Type"; - - public static final String DISTRIBUTION_SET_TYPE_BUTTON = "DistributionSet Type"; - /** - * New jvm name field id. - */ - public static final String NEW_JVM_NAME = "NewJvmName"; - /** - * New jvm version field id. - */ - public static final String NEW_JVM_VERSION = "NewJvmVersion"; - /** - * New JVM vendor name field id. - */ - public static final String NEW_JVM_VENDOR_NAME = "NewVendorName"; - /** - * save new jvm icon id. - */ - public static final String SAVE_NEW_JVM = "SaveNewJvm"; - /** - * dicard new jvm icon id. - */ - public static final String DISCARD_NEW_JVM = "DiscardNewJvm"; - /** - * New agent hub name field id. - */ - public static final String NEW_AGENT_HUB_NAME = "NewAgentHubName"; - /** - * New agent hub version field id. - */ - public static final String NEW_AGENT_HUB_VERSION = "NewAgentHubVersion"; - /** - * New agent hub vendor field id. - */ - public static final String NEW_AGENT_HUB_VENDOR = "NewAgentHubVendorName"; - /** - * Save agent hub icon id. - */ - public static final String NEW_AGENT_HUB_SAVE = "SaveNewAgentHub"; - /** - * Discard agent hub icon id. - */ - public static final String NEW_AGENT_HUB_DISCARD = "DiscardNewAgentHub"; - /** - * New OS name field id. - */ - public static final String NEW_OS_NAME = "NewOSName"; - /** - * New OS version field id. - */ - public static final String NEW_OS_VERSION = "NewOSVersion"; - /** - * New OS vendor field id. - */ - public static final String NEW_OS_VENDOR = "NewOSVendorName"; - /** - * New OS save icon id. - */ - public static final String NEW_OS_SAVE = "SaveNewOS"; - /** - * New OS discard icon id. - */ - public static final String NEW_OS_DISCARD = "DiscardNewOS"; - /** - * New distribution set name field id. - */ - public static final String NEW_DIST_NAME = "NewDistributionName"; - /** - * New distribution set version field id. - */ - public static final String NEW_DIST_VERSION = "NewDistributionVersion"; - /** - * New distribution set description field id. - */ - public static final String NEW_DIST_DESCRIPTION = "NewDistributionDescription"; - /** - * New distribution set JVM combo-box id. - */ - public static final String NEW_DIST_JVM_COMBO = "NewDistributionJvmCombo"; - /** - * New distribution set Agent hub combo-box id. - */ - public static final String NEW_DIST_AGENT_HUB_COMBO = "NewDistributionAgentHubCombo"; - /** - * New distribution set OS combo-box id. - */ - public static final String NEW_DIST_OS_COMBO = "NewDistributionOSCombo"; - /** - * New distribution set save icon id. - */ - public static final String NEW_DIST_SAVE = "NewDistributionSave"; - /** - * New distribution set discard icon id. - */ - public static final String NEW_DIST_DISCARD = "NewDistributionSave"; - /** - * New Target controller id field id. - */ - public static final String NEW_TARGET_CONTOLLERID = "NewTargetControlerId"; - /** - * New Target name field id. - */ - public static final String NEW_TARGET_NAME = "NewTargetName"; - /** - * New Target description field id. - */ - public static final String NEW_TARGET_DESC = "NewTargetDescription"; - /** - * New Target save icon id. - */ - public static final String NEW_TARGET_SAVE = "target.add.save"; - /** - * New Target add icon id. - */ - public static final String NEW_TARGET_ADD_ICON = "NewTargetAddIcon"; - /** - * New distribution set add icon id. - */ - public static final String NEW_DIST_ADD_ICON = "NewDistAddIcon"; /** * New Target tag name field id. */ @@ -310,15 +156,6 @@ public final class SPUIDefinitions { * Assign option group id(Firmware/Software). */ public static final String ASSIGN_OPTION_GROUP_SOFTWARE_MODULE_TYPE_ID = "assign.option.group.soft.module.type.id"; - /** - * SW Module Source Table ID. - */ - public static final String SW_MODULE_TYPE_SOURCE_TABLE_ID = "sw.module.type.source.tab.id"; - - /** - * SW Module target Table ID. - */ - public static final String SW_MODULE_TYPE_TARGET_TABLE_ID = "sw.module.type.target.tab.id"; /** * New Software Module desc field id. @@ -346,18 +183,6 @@ public final class SPUIDefinitions { * New Target tag desc field id. */ public static final String NEW_TARGET_TAG_DESC = "target.tag.add.desc"; - /** - * New Target tag color lable id. - */ - public static final String NEW_TARGET_TAG_COLOR = "target.tag.add.color"; - /** - * New Target tag add icon id. - */ - public static final String ADD_TARGET_TAG = "target.tag.add"; - /** - * New distribution set tag add icon id. - */ - public static final String ADD_DISTRIBUTION_TAG = "distribution.tag.add"; /** * New distribution Type set tag add icon id. */ @@ -366,23 +191,6 @@ public final class SPUIDefinitions { * New software module set type add icon id. */ public static final String ADD_SOFTWARE_MODULE_TYPE = "softwaremodule.type.add"; - - /** - * New distribution set tag name field id. - */ - public static final String NEW_DISTRIBUTION_TAG_NAME = "distribution.add.tag.name"; - /** - * New distribution set tag color lable id. - */ - public static final String NEW_DISTRIBUTION_TAG_COLOR = "NewDistributionTagColor"; - /** - * New distribution set tag save icon id. - */ - public static final String NEW_DISTRIBUTION_TAG_SAVE = "distribution.tag.save"; - /** - * New distribution set tag discard icon id. - */ - public static final String NEW_DISTRIBUTION_TAG_DISRACD = "NewDistributionTagDiscard"; /** * No data. */ @@ -426,35 +234,11 @@ public final class SPUIDefinitions { * Filter by text key. */ public static final String FILTER_BY_TEXT = "FilterByText"; - /** - * Visible column name of target table. - */ - public static final String TARGET_TABLE_VISIBILE_COLUMN_NAME = "nameDescLabel"; - /** - * Visible column name of distribution table. - */ - public static final String DISTRIBUTION_TABLE_VISIBILE_COLUMN_NAME = "nameDescLabel"; - - /** - * Text area style. - */ - public static final String TEXT_AREA_STYLE = "text-style text-area-style"; - - /** - * Combo box style. - */ - public static final String COMBO_BOX_STYLE = "combo-box-style text-field-spacing"; - /** * Text field style. */ public static final String TEXT_STYLE = "text-style"; - /** - * Message to be displayed when no data available for chosen filter. - */ - public static final String NO_DATA_MSG = "No data available for chosen filter"; - /** * Style to highlight row in orange color. */ @@ -465,16 +249,6 @@ public final class SPUIDefinitions { */ public static final String HIGHTLIGHT_GREEN = "highlight-green"; - /** - * Action window show style. - */ - public static final String ACTION_WINDOW_SHOW_STYLE = "action-window" + " " + "action-window-show"; - - /** - * Action window hide style. - */ - public static final String ACTION_WINDOW_HIDE_STYLE = "action-window" + " " + "action-window-hide"; - /** * The Combo box specific style for Distribution set. */ @@ -488,33 +262,11 @@ public final class SPUIDefinitions { /** * Target and distribution column width in save popup window. */ - public static final float TARGET_DISTRIBUTION_COLUMN_WIDTH = 2.8f; + public static final float TARGET_DISTRIBUTION_COLUMN_WIDTH = 2.8F; /** * Discard column width in save window popup. */ - public static final float DISCARD_COLUMN_WIDTH = 1.2f; - /** - * message hint text layout. - */ - public static final String MESSAGE_HINT_TEXT_LAYOUT = "message-hint-text-layout"; - - /** - * Message hint bottom layout. - */ - public static final String MESSAGE_HINT_BOTTOM_LAYOUT = "message-hint-bottom-layout"; - - /** - * The Target Tag edit icon id. - */ - public static final String EDIT_TARGET_TAG = "target.tag.edit"; - /** - * The Dist Tag edit icon id. - */ - public static final String EDIT_DISTRIBUTION_TAG = "dist.tag.edit"; - /** - * Target Tag color picker style. - */ - public static final String TARGET_COLOR_PICKER_STYLE = "target-color-picker-style"; + public static final float DISCARD_COLUMN_WIDTH = 1.2F; /** * Target tag name. */ @@ -551,11 +303,6 @@ public final class SPUIDefinitions { */ public static final String TYPE_KEY = "type-key"; - /** - * Type combo style. - */ - public static final String TYPE_COMBO_STYLE = "type-combo-specific-style"; - /** * Tag combo style. */ @@ -565,53 +312,6 @@ public final class SPUIDefinitions { */ public static final String COLOR_LABEL_STYLE = "color-label-style"; - /** - * Text area of tag description style. - */ - public static final String TARGET_TAG_TEXT_AREA_STYLE = "target-tag-desc"; - - /** - * Distribution table. - */ - public static final String DISTRIBUTION_TABLE = "dist-table"; - - /** - * Target tag. - */ - public static final String TARGET_TAG = "target-tag"; - /** - * Distribution tag. - */ - public static final String DIST_TAG = "dist-tag"; - - /** - * Minimum height for the target tags layout. In case browser height is less - * than this height, the vertical scroll bars get displayed. Used for - * Responsive UI. - */ - public static final int MIN_TARGET_TAGS_HEIGHT = 39; - - /** - * Minimum height for the distribution type tags layout. In case browser - * height is less than this height, the vertical scroll bars get displayed. - * Used for Responsive UI. - */ - public static final int MIN_DISTRIBUTION_TYPE_TAGS_HEIGHT = 39; - - /** - * Minimum height for the distribution tags layout. In case browser height - * is less than this height, the vertical scroll bars get displayed. Used - * for Responsive UI. - */ - public static final int MIN_DIST_TAGS_HEIGHT = 109; - - /** - * Minimum height required for target or distribution table with minimum - * records. This is calculated as ( no. of min rows * height of each row ). - * Used for Responsive UI. - */ - public static final int MIN_TARGET_DIST_TABLE_HEIGHT = TABLE_MIN_LENGTH * 37 - 42; - /** * Minimum width required to show tags for both target and distribution * table without horizontal scroll. In case browser width is less than this @@ -620,59 +320,6 @@ public final class SPUIDefinitions { */ public static final int REQ_MIN_BROWSER_WIDTH = 1200; - public static final int REQ_MIN_BROWSER_WIDTH_UPLOAD = 1200; - - public static final int REQ_MIN_BROWSER_WIDTH_DIST = 1300; - - /** - * Target table maximum width. - */ - public static final int MAX_TARGET_TABLE_WIDTH = 700; - - /** - * Distribution table maximum width. - */ - public static final int MAX_DIST_TABLE_WIDTH = 425; - - /** - * Details layout- initial margin left value. - */ - public static final int DETAILS_MARGIN_LEFT = 275; - - /** - * Distributions table details layout- initial margin left value. - */ - public static final int DIST_TABALE_DETAILS_MARGIN_LEFT = 288; - /** - * Minimum height required to show the application without need of vertical - * scroll. In case browser height is more than this height, the vertical - * scroll bars get displayed. Used for Responsive UI. - */ - public static final int REQ_MIN_BROWSER_HEIGHT = 350; - - public static final int MIN_TABLE_WIDTH = 300; - - /** - * Minimum width required to display action history. - */ - public static final int ACTION_HISTORY_MIN_REQ_WIDTH = 500; - - /** - * Minimum height required to display action history (5 rows minimum). - */ - public static final int ACTION_HISTORY_MIN_REQ_HEIGHT = 130; - - /** - * Position of the action history from top. - */ - public static final int ACTION_HISTORY_POSITION_Y = 160; - - /** - * The total amount of space ( top & bottom ) the action history to - * maintain. - */ - public static final int ACTION_HISTORY_LEFTOVER_HEIGHT = 420; - /** * Target tag button id prefix. */ @@ -682,6 +329,11 @@ public final class SPUIDefinitions { */ public static final String DISTRIBUTION_TAG_ID_PREFIXS = "dist.tag."; + /** + * Space. + */ + public static final String SPACE = " "; + /** * Distribution tag button id prefix. */ @@ -695,19 +347,10 @@ public final class SPUIDefinitions { * DistributionSet Type tag button id prefix. */ public static final String DISTRIBUTION_SET_TYPE_ID_PREFIXS = "dist.set.type."; - /** - * Target/distribution description length. - */ - public static final int NAME_DESCRIPTION_LENGTH = 26; /** * Target last query date format . */ public static final String LAST_QUERY_DATE_FORMAT = "EEE MMM d HH:mm:ss z yyyy"; - - /** - * Space. - */ - public static final String SPACE = " "; /** * Item Id used in drop comparisons. */ @@ -716,22 +359,10 @@ public final class SPUIDefinitions { * Expand action history. */ public static final String EXPAND_ACTION_HISTORY = "expand.action.history"; - /** - * Close action history. - */ - public static final String CLOSE_ACTION_HISTORY = "close.action.history"; /** * Filter by distribution key. */ public static final String ORDER_BY_DISTRIBUTION = "OrderByDistribution"; - /** - * Dist window width. - */ - public static final int DIST_WINDOW_WIDTH = 235; - /** - * Dist window height. - */ - public static final int DIST_WINDOW_HEIGHT = 380; /** Artifact upload related entries - start **/ /** @@ -744,13 +375,6 @@ public final class SPUIDefinitions { */ public static final String BY_SOFTWARE_MODULE_TYPE = "softwareModuleType"; - /** - * Minimum height required to show the application without need of vertical - * scroll. In case browser height is more than this height, the vertical - * scroll bars get displayed. Used for Responsive UI. - */ - public static final int REQ_MIN_UPLOAD_BROWSER_HEIGHT = 380; - /** * Minimum width required to display ui without horizontal scroll. In case * browser width is less than this width, the type layout will get hidden @@ -759,45 +383,13 @@ public final class SPUIDefinitions { */ public static final int REQ_MIN_UPLOAD_BROWSER_WIDTH = 1250; - /** - * Minimum width of software module table. - */ - public static final int MIN_SOFTWARE_MODULE_TABLE_WIDTH = 300; - - /** - * Maximum allowed width of software module table. - */ - public static final int MAX_UPLOAD_SW_MODULE_TABLE_WIDTH = 450; - - /** - * Minimum artifact table height. - */ - public static final int MIN_UPLOAD_ARTIFACT_TABLE_HEIGHT = 168; - - /** - * Maximum artifact table height. - */ - public static final int MAX_UPLOAD_ARTIFACT_TABLE_HEIGHT = 450; - - /** - * Maximum drop layout width. - */ - public static final int MAX_UPLOAD_DROP_LAYOUT_WIDTH = 650; - - /** - * Minimum drop layout width. - */ - public static final int MIN_UPLOAD_DROP_LAYOUT_WIDTH = 450; - public static final int MIN_UPLOAD_CONFIRMATION_POPUP_WIDTH = 1000; - public static final int MAX_UPLOAD_CONFIRMATION_POPUP_WIDTH = 1050; - public static final int MIN_UPLOAD_CONFIRMATION_POPUP_HEIGHT = 310; - public static final int MAX_UPLOAD_CONFIRMATION_POPUP_HEIGHT = 360; + public static final int MAX_UPLOAD_CONFIRMATION_POPUP_WIDTH = 1050; - public static final String SOFTWARE_MODULE_TABLE = "software-module-table"; + public static final int MAX_UPLOAD_CONFIRMATION_POPUP_HEIGHT = 360; /** Artifact upload related entries - end. **/ @@ -805,42 +397,17 @@ public final class SPUIDefinitions { public static final int MIN_DASHBOARD_WIDTH = 1100; - public static final int TAG_LAYOUT_WIDTH = 160; - - public static final int MIN_SWMODULE_TABLE_HEIGHT = 160; - - public static final int MIN_SWMODULE_TABLE_WIDTH = 150; - /* Target Header Filter Box */ - public static final String FILTER_BOX_SHOW = "filter-box-show"; public static final String FILTER_BOX_HIDE = "filter-box-hide"; public static final String FILTER_RESET_ICON = "filter-reset-icon"; /* Action History */ - public static final String CAPTION_ACTION_HISTORY = "caption.action.history"; public static final String DISABLE_DISTRIBUTION = "incomplete-distribution"; - public static final int MIN_SWTABLE_WIDTH = 448; - - /** - * New Target tag save icon id. - */ - public static final String NEW_SW_TYPE_SAVE = "swmodule.type.add.save"; - - /** - * New DistributionSet type save icon id. - */ - public static final String NEW_DIST_SET_TYPE_SAVE = "dist.set.type.add.save"; - - /** - * New distribution set type close icon id. - */ - public static final String NEW_DIST_SET_TYPE_COLSE = "dist.set.type.add.close"; - /** * Filter by type layout width. */ - public static final float FILTER_BY_TYPE_WIDTH = 150.0f; + public static final float FILTER_BY_TYPE_WIDTH = 150.0F; /** * Confirmation jukebox type. @@ -859,22 +426,6 @@ public final class SPUIDefinitions { */ public static final int MAX_TABLE_ENTRIES = 5000; - /** - * New software module set type add icon id. - */ - public static final String CONFIG_FILTER_BUTTON = "config.filter.button"; - - /** - * label style name for assigned sw modules. - */ - - public static final String ASSIGN_SW_MODUE_STYLE = "assignlabelstyle"; - - /** - * Software module add/update window height. - */ - public static final int SW_ADD_UPDATE_WINDOW_HEIGHT = 350; - /** * Distribution Type Twin Table selected table Id. */ @@ -910,46 +461,16 @@ public final class SPUIDefinitions { */ public static final String CUSTOM_FILTER_DELETE = "Delete"; - /** - * CUSTOM_FILTER_INSTALLED_DS. - */ - public static final String CUSTOM_FILTER_INSTALLED_DS = "Installed DS"; - - /** - * CUSTOM_FILTER_ASSIGNED_DS. - */ - public static final String CUSTOM_FILTER_ASSIGNED_DS = "Assigned DS"; - /** * TARGET_FILTER_MANAGEMENT - header caption . */ public static final String TARGET_FILTER_LIST_HEADER_CAPTION = "Custom Filters"; - /** - * CUSTOM_FILTER_STATUS. - */ - public static final String TARGET_FILTER_STATUS = "Status"; - - /** - * CUSTOM_FILTER_INSTALLED_DS. - */ - public static final String TARGET_FILTER_TAGS = "TAGS"; - - /** - * CUSTOM_FILTER_ID_HIDDEN. - */ - public static final String CUSTOM_FILTER_ID_HIDDEN = "id"; - /** * Bulk upload DS combo style. */ public static final String BULK_UPLOD_DS_COMBO_STYLE = "bulk-upload-ds-combo"; - /** - * Bulk Targets upload window. - */ - public static final String BULK_UPLOAD_WINDOW = "bulk-update-window"; - /** * Filter by target filter query. */ @@ -970,60 +491,6 @@ public final class SPUIDefinitions { */ public static final String ROLLOUT_LIST_HEADER_CAPTION = "Rollouts"; - /** - * Rollout status. - */ - public static final String ROLLOUT_STATUS = "rollout-status"; - - /** - * Rollout group list view - header caption . - */ - public static final String ROLLOUT_GROUP_LIST_HEADER_CAPTION = "Rollout Groups"; - - /** - * Rollout delete - column property name. - */ - public static final String DELETE = "delete"; - - /** - * Rollout detail status - column property status. - */ - public static final String DETAIL_STATUS = "detail-status"; - - /** - * Rollout name column property. - */ - public static final String ROLLOUT_NAME = "rollout-name"; - /** - * Rollout group name column property. - */ - public static final String ROLLOUT_GROUP_NAME = "Name"; - - /** - * Rollout group started date column property. - */ - public static final String ROLLOUT_GROUP_STARTED_DATE = "Started date"; - - /** - * Rollout group status column property. - */ - public static final String ROLLOUT_GROUP_STATUS = "Status"; - - /** - * Rollout action column property. - */ - public static final String ROLLOUT_ACTION = "rollout-action"; - - /** - * DistributionSet Metadata tab Id - */ - public static final String DISTRIBUTIONSET_METADATA_TAB_ID = "distSet.metadata.tab.id"; - - /** - * SoftwareModule Metadata tab Id - */ - public static final String SOFTWAREMODULE_METADATA_TAB_ID = "swModule.metadata.tab.id"; - /** * /** Constructor. */