Package com._1c.g5.v8.dt.rights.ui
Class RightsUiPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.ui.plugin.AbstractUIPlugin
-
- com._1c.g5.v8.dt.internal.rights.ui.RightsActivator
-
- com._1c.g5.v8.dt.rights.ui.RightsUiPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class RightsUiPlugin extends com._1c.g5.v8.dt.internal.rights.ui.RightsActivator
Rights Ui plugin.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RightsUiPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatus
createErrorStatus(String msg, Throwable e)
Creates error status.static org.eclipse.core.runtime.IStatus
createWarningStatus(String msg)
Creates warning status.org.eclipse.swt.graphics.Color
getColor(String key)
Returns color for given key.static org.eclipse.swt.graphics.Image
getImage(String symbolicName)
Gets imagestatic org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String symbolicName)
Gets image descriptor.protected void
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
static void
log(org.eclipse.core.runtime.IStatus status)
Logs status.-
Methods inherited from class com._1c.g5.v8.dt.internal.rights.ui.RightsActivator
createInjector, getDefault, getInjector, getInjector, getRuntimeModule, getSharedStateModule, getUiModule, start, stop
-
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
-
T_ELCL16
public static final String T_ELCL16
- See Also:
- Constant Field Values
-
T_WIZBAN
public static final String T_WIZBAN
- See Also:
- Constant Field Values
-
IMG_ADD_ITEM
public static final String IMG_ADD_ITEM
- See Also:
- Constant Field Values
-
IMG_CHECK_ALL
public static final String IMG_CHECK_ALL
- See Also:
- Constant Field Values
-
IMG_FILTER_BY_CURRENT_VALUE
public static final String IMG_FILTER_BY_CURRENT_VALUE
- See Also:
- Constant Field Values
-
IMG_FILTER_BY_SUBSYSTEM
public static final String IMG_FILTER_BY_SUBSYSTEM
- See Also:
- Constant Field Values
-
IMG_PICTURE
public static final String IMG_PICTURE
- See Also:
- Constant Field Values
-
IMG_RLS_ADD
public static final String IMG_RLS_ADD
- See Also:
- Constant Field Values
-
IMG_RLS_BLANK
public static final String IMG_RLS_BLANK
- See Also:
- Constant Field Values
-
IMG_RLS_EDIT
public static final String IMG_RLS_EDIT
- See Also:
- Constant Field Values
-
IMG_ROLE_EDIT
public static final String IMG_ROLE_EDIT
- See Also:
- Constant Field Values
-
IMG_ROLE_WIZARD
public static final String IMG_ROLE_WIZARD
- See Also:
- Constant Field Values
-
IMG_RLS_WIZARD
public static final String IMG_RLS_WIZARD
- See Also:
- Constant Field Values
-
IMG_SET_FILTER
public static final String IMG_SET_FILTER
- See Also:
- Constant Field Values
-
IMG_UNCHECK_ALL
public static final String IMG_UNCHECK_ALL
- See Also:
- Constant Field Values
-
IMG_WIZARD
public static final String IMG_WIZARD
- See Also:
- Constant Field Values
-
IMG_SET_FILTER_BY_RIGHTS
public static final String IMG_SET_FILTER_BY_RIGHTS
- See Also:
- Constant Field Values
-
IMG_RIGHT_ACTIVE_USERS
public static final String IMG_RIGHT_ACTIVE_USERS
- See Also:
- Constant Field Values
-
IMG_RIGHT_ADMINISTRATION
public static final String IMG_RIGHT_ADMINISTRATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_ALL_FUNCTIONS_MODE
public static final String IMG_RIGHT_ALL_FUNCTIONS_MODE
- See Also:
- Constant Field Values
-
IMG_RIGHT_AUTOMATION
public static final String IMG_RIGHT_AUTOMATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_CONFIGURATION_EXTENSIONS_ADMINISTRATION
public static final String IMG_RIGHT_CONFIGURATION_EXTENSIONS_ADMINISTRATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_COLLABORATION_SYSTEM_INFO_BASE_REGISTRATION
public static final String IMG_RIGHT_COLLABORATION_SYSTEM_INFO_BASE_REGISTRATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_DATA_ADMINISTRATION
public static final String IMG_RIGHT_DATA_ADMINISTRATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_DELETE
public static final String IMG_RIGHT_DELETE
- See Also:
- Constant Field Values
-
IMG_RIGHT_EDIT
public static final String IMG_RIGHT_EDIT
- See Also:
- Constant Field Values
-
IMG_RIGHT_EVENT_LOG
public static final String IMG_RIGHT_EVENT_LOG
- See Also:
- Constant Field Values
-
IMG_RIGHT_EXCLUSIVE_MODE
public static final String IMG_RIGHT_EXCLUSIVE_MODE
- See Also:
- Constant Field Values
-
IMG_RIGHT_EXECUTE
public static final String IMG_RIGHT_EXECUTE
- See Also:
- Constant Field Values
-
IMG_RIGHT_EXTERNAL_CONNECTION
public static final String IMG_RIGHT_EXTERNAL_CONNECTION
- See Also:
- Constant Field Values
-
IMG_RIGHT_GET
public static final String IMG_RIGHT_GET
- See Also:
- Constant Field Values
-
IMG_RIGHT_INPUT_BY_STRING
public static final String IMG_RIGHT_INPUT_BY_STRING
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_ACTIVATE
public static final String IMG_RIGHT_INTERACTIVE_ACTIVATE
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_CHANGE_OF_POSTED
public static final String IMG_RIGHT_INTERACTIVE_CHANGE_OF_POSTED
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_CLEAR_DELETION_MARK
public static final String IMG_RIGHT_INTERACTIVE_CLEAR_DELETION_MARK
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_CLEAR_DELETION_MARK_PREDEFINED_DATA
public static final String IMG_RIGHT_INTERACTIVE_CLEAR_DELETION_MARK_PREDEFINED_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_DELETE
public static final String IMG_RIGHT_INTERACTIVE_DELETE
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_DELETE_MARKED
public static final String IMG_RIGHT_INTERACTIVE_DELETE_MARKED
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_DELETE_MARKED_PREDEFINED_DATA
public static final String IMG_RIGHT_INTERACTIVE_DELETE_MARKED_PREDEFINED_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_DELETE_PREDEFINED_DATA
public static final String IMG_RIGHT_INTERACTIVE_DELETE_PREDEFINED_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_EXECUTE
public static final String IMG_RIGHT_INTERACTIVE_EXECUTE
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_INSERT
public static final String IMG_RIGHT_INTERACTIVE_INSERT
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_OPEN_EXT_DATA_PROCESSORS
public static final String IMG_RIGHT_INTERACTIVE_OPEN_EXT_DATA_PROCESSORS
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_OPEN_EXT_REPORTS
public static final String IMG_RIGHT_INTERACTIVE_OPEN_EXT_REPORTS
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_POSTING
public static final String IMG_RIGHT_INTERACTIVE_POSTING
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_POSTING_REGULAR
public static final String IMG_RIGHT_INTERACTIVE_POSTING_REGULAR
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_SET_DELETION_MARK
public static final String IMG_RIGHT_INTERACTIVE_SET_DELETION_MARK
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_SET_DELETION_MARK_PREDEFINED_DATA
public static final String IMG_RIGHT_INTERACTIVE_SET_DELETION_MARK_PREDEFINED_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_START
public static final String IMG_RIGHT_INTERACTIVE_START
- See Also:
- Constant Field Values
-
IMG_RIGHT_INTERACTIVE_UNDO_POSTING
public static final String IMG_RIGHT_INTERACTIVE_UNDO_POSTING
- See Also:
- Constant Field Values
-
IMG_RIGHT_OUTPUT
public static final String IMG_RIGHT_OUTPUT
- See Also:
- Constant Field Values
-
IMG_RIGHT_POSTING
public static final String IMG_RIGHT_POSTING
- See Also:
- Constant Field Values
-
IMG_RIGHT_READ
public static final String IMG_RIGHT_READ
- See Also:
- Constant Field Values
-
IMG_RIGHT_SAVE_USER_DATA
public static final String IMG_RIGHT_SAVE_USER_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_SESSION_OS_AUTHENTICATION_CHANGE
public static final String IMG_RIGHT_SESSION_OS_AUTHENTICATION_CHANGE
- See Also:
- Constant Field Values
-
IMG_RIGHT_SESSION_STANDARD_AUTHENTICATION_CHANGE
public static final String IMG_RIGHT_SESSION_STANDARD_AUTHENTICATION_CHANGE
- See Also:
- Constant Field Values
-
IMG_RIGHT_SET
public static final String IMG_RIGHT_SET
- See Also:
- Constant Field Values
-
IMG_RIGHT_STANDARD_AUTHENTICATION_CHANGE
public static final String IMG_RIGHT_STANDARD_AUTHENTICATION_CHANGE
- See Also:
- Constant Field Values
-
IMG_RIGHT_START
public static final String IMG_RIGHT_START
- See Also:
- Constant Field Values
-
IMG_RIGHT_THICK_CLIENT
public static final String IMG_RIGHT_THICK_CLIENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_THIN_CLIENT
public static final String IMG_RIGHT_THIN_CLIENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_MOBILE_CLIENT
public static final String IMG_RIGHT_MOBILE_CLIENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_TOTALS_CONTROL
public static final String IMG_RIGHT_TOTALS_CONTROL
- See Also:
- Constant Field Values
-
IMG_RIGHT_UNDO_POSTING
public static final String IMG_RIGHT_UNDO_POSTING
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE
public static final String IMG_RIGHT_UPDATE
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE_DATABASE_CONFIGURATION
public static final String IMG_RIGHT_UPDATE_DATABASE_CONFIGURATION
- See Also:
- Constant Field Values
-
IMG_RIGHT_READ_DATA_HISTORY
public static final String IMG_RIGHT_READ_DATA_HISTORY
- See Also:
- Constant Field Values
-
IMG_RIGHT_VIEW_DATA_HISTORY
public static final String IMG_RIGHT_VIEW_DATA_HISTORY
- See Also:
- Constant Field Values
-
IMG_RIGHT_READ_DATA_HISTORY_OF_MISSING_DATA
public static final String IMG_RIGHT_READ_DATA_HISTORY_OF_MISSING_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE_DATA_HISTORY
public static final String IMG_RIGHT_UPDATE_DATA_HISTORY
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE_DATA_HISTORY_OF_MISSING_DATA
public static final String IMG_RIGHT_UPDATE_DATA_HISTORY_OF_MISSING_DATA
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE_DATA_HISTORY_SETTINGS
public static final String IMG_RIGHT_UPDATE_DATA_HISTORY_SETTINGS
- See Also:
- Constant Field Values
-
IMG_RIGHT_UPDATE_DATA_HISTORY_VERSION_COMMENT
public static final String IMG_RIGHT_UPDATE_DATA_HISTORY_VERSION_COMMENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_EDIT_DATA_HISTORY_VERSION_COMMENT
public static final String IMG_RIGHT_EDIT_DATA_HISTORY_VERSION_COMMENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_SWITCH_TO_DATA_HISTORY_VERSION
public static final String IMG_RIGHT_SWITCH_TO_DATA_HISTORY_VERSION
- See Also:
- Constant Field Values
-
IMG_RIGHT_MAIN_WINDOW_MODE_EMBEDDED_WORKPLACE
public static final String IMG_RIGHT_MAIN_WINDOW_MODE_EMBEDDED_WORKPLACE
- See Also:
- Constant Field Values
-
IMG_RIGHT_MAIN_WINDOW_MODE_KIOSK
public static final String IMG_RIGHT_MAIN_WINDOW_MODE_KIOSK
- See Also:
- Constant Field Values
-
IMG_RIGHT_MAIN_WINDOW_MODE_NORMAL
public static final String IMG_RIGHT_MAIN_WINDOW_MODE_NORMAL
- See Also:
- Constant Field Values
-
IMG_RIGHT_MAIN_WINDOW_MODE_FULLSCREEN_WORKPLACE
public static final String IMG_RIGHT_MAIN_WINDOW_MODE_FULLSCREEN_WORKPLACE
- See Also:
- Constant Field Values
-
IMG_RIGHT_MAIN_WINDOW_MODE_WORKPLACE
public static final String IMG_RIGHT_MAIN_WINDOW_MODE_WORKPLACE
- See Also:
- Constant Field Values
-
IMG_RIGHT_TECHNICAL_SPECIALIST_MODE
public static final String IMG_RIGHT_TECHNICAL_SPECIALIST_MODE
- See Also:
- Constant Field Values
-
IMG_RIGHT_ANALYTICS_SYSTEM_CLIENT
public static final String IMG_RIGHT_ANALYTICS_SYSTEM_CLIENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_EXCLUSIVE_MODE_TERMINATION_AT_SESSION_START
public static final String IMG_RIGHT_EXCLUSIVE_MODE_TERMINATION_AT_SESSION_START
- See Also:
- Constant Field Values
-
IMG_RIGHT_USE
public static final String IMG_RIGHT_USE
- See Also:
- Constant Field Values
-
IMG_RIGHT_VIEW
public static final String IMG_RIGHT_VIEW
- See Also:
- Constant Field Values
-
IMG_RIGHT_WEB_CLIENT
public static final String IMG_RIGHT_WEB_CLIENT
- See Also:
- Constant Field Values
-
IMG_RIGHT_INSERT
public static final String IMG_RIGHT_INSERT
- See Also:
- Constant Field Values
-
IMG_EXPAND_ALL
public static final String IMG_EXPAND_ALL
- See Also:
- Constant Field Values
-
IMG_COLLAPSE_ALL
public static final String IMG_COLLAPSE_ALL
- See Also:
- Constant Field Values
-
IMG_GRAY_CHECKED
public static final String IMG_GRAY_CHECKED
- See Also:
- Constant Field Values
-
IMG_SET_ALL_RIGHTS_AS_PROVIDED
public static final String IMG_SET_ALL_RIGHTS_AS_PROVIDED
- See Also:
- Constant Field Values
-
IMG_CHECKED_BORDERLESS
public static final String IMG_CHECKED_BORDERLESS
- See Also:
- Constant Field Values
-
IMG_UNCHECKED_BORDERLESS
public static final String IMG_UNCHECKED_BORDERLESS
- See Also:
- Constant Field Values
-
IMG_GRAY_CHECKED_BORDERLESS
public static final String IMG_GRAY_CHECKED_BORDERLESS
- See Also:
- Constant Field Values
-
COLOR_SET_FOR_NEW_OBJECTS_ROLE_KEY
public static final String COLOR_SET_FOR_NEW_OBJECTS_ROLE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
createErrorStatus
public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
Creates error status.- Parameters:
msg
- the messagee
- the throw- Returns:
- the status
-
createWarningStatus
public static org.eclipse.core.runtime.IStatus createWarningStatus(String msg)
Creates warning status.- Parameters:
msg
- the message- Returns:
- the status
-
getImage
public static org.eclipse.swt.graphics.Image getImage(String symbolicName)
Gets image- Parameters:
symbolicName
- the name- Returns:
- the image
-
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String symbolicName)
Gets image descriptor.- Parameters:
symbolicName
- the name- Returns:
- the image descriptor
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
Logs status.- Parameters:
status
- the status
-
getColor
public org.eclipse.swt.graphics.Color getColor(String key)
Returns color for given key.- Parameters:
key
- - key to get color. Can't benull
.- Returns:
- color for given key. Returns
null
if given key does not match any color.
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
- Overrides:
initializeImageRegistry
in classorg.eclipse.ui.plugin.AbstractUIPlugin
-
-