package org.openflexo.fib.utils; import javax.swing.ImageIcon; import org.openflexo.toolbox.FileResource; import org.openflexo.toolbox.ImageIconResource; /** * Utility class containing all icons used in FIB * * @author sylvain * */ public class FIBIconLibrary { // GUI public static final ImageIcon BROWSER_PLUS_ICON = new ImageIconResource("Icons/GUI/BrowserPlus.gif"); public static final ImageIcon BROWSER_PLUS_DISABLED_ICON = new ImageIconResource("Icons/GUI/BrowserPlusDisabled.gif"); public static final ImageIcon BROWSER_PLUS_SELECTED_ICON = new ImageIconResource("Icons/GUI/BrowserPlusSelected.gif"); public static final ImageIcon BROWSER_MINUS_ICON = new ImageIconResource("Icons/GUI/BrowserMinus.gif"); public static final ImageIcon BROWSER_MINUS_DISABLED_ICON = new ImageIconResource("Icons/GUI/BrowserMinusDisabled.gif"); public static final ImageIcon BROWSER_MINUS_SELECTED_ICON = new ImageIconResource("Icons/GUI/BrowserMinusSelected.gif"); public static final ImageIcon BROWSER_OPTIONS_ICON = new ImageIconResource("Icons/GUI/BrowserOptions.gif"); public static final ImageIcon BROWSER_OPTIONS_DISABLED_ICON = new ImageIconResource("Icons/GUI/BrowserOptionsDisabled.gif"); public static final ImageIcon BROWSER_OPTIONS_SELECTED_ICON = new ImageIconResource("Icons/GUI/BrowserOptionsSelected.gif"); public static final ImageIcon BROWSER_FILTERS_ICON = new ImageIconResource("Icons/GUI/BrowserFilters.gif"); public static final ImageIcon BROWSER_FILTERS_DISABLED_ICON = new ImageIconResource("Icons/GUI/BrowserFiltersDisabled.gif"); public static final ImageIcon BROWSER_FILTERS_SELECTED_ICON = new ImageIconResource("Icons/GUI/BrowserFiltersSelected.gif"); public static final ImageIcon ROUND_PANEL_BORDER = new ImageIconResource("Icons/GUI/RoundPanelBorder.png"); public static final ImageIcon ROUND_PANEL_BORDER_TOP_LEFT = new ImageIconResource("Icons/GUI/RoundPanelBorderTopLeft.png"); public static final ImageIcon ROUND_PANEL_BORDER_TOP_RIGHT = new ImageIconResource("Icons/GUI/RoundPanelBorderTopRight.png"); public static final ImageIcon ROUND_PANEL_BORDER_BOTTOM_LEFT = new ImageIconResource("Icons/GUI/RoundPanelBorderBottomLeft.png"); public static final ImageIcon ROUND_PANEL_BORDER_BOTTOM_RIGHT = new ImageIconResource("Icons/GUI/RoundPanelBorderBottomRight.png"); public static final ImageIcon ROUND_PANEL_BORDER_TOP = new ImageIconResource("Icons/GUI/RoundPanelBorderTop.png"); public static final ImageIcon ROUND_PANEL_BORDER_BOTTOM = new ImageIconResource("Icons/GUI/RoundPanelBorderBottom.png"); public static final ImageIcon ROUND_PANEL_BORDER_RIGHT = new ImageIconResource("Icons/GUI/RoundPanelBorderRight.png"); public static final ImageIcon ROUND_PANEL_BORDER_LEFT = new ImageIconResource("Icons/GUI/RoundPanelBorderLeft.png"); // Icons used in ClassSelector public static final ImageIcon PACKAGE_ICON = new ImageIconResource("Icons/ClassSelector/Package.gif"); public static final ImageIcon CLASS_ICON = new ImageIconResource("Icons/ClassSelector/Class.gif"); public static final ImageIcon INTERFACE_ICON = new ImageIconResource("Icons/ClassSelector/Interface.gif"); public static final ImageIcon ENUM_ICON = new ImageIconResource("Icons/ClassSelector/Enumeration.gif"); // Icons used in BindingSelector public static final ImageIcon ARROW_RIGHT_ICON = new ImageIcon( new FileResource("Icons/BindingSelector/SmallArrowRight.gif").getAbsolutePath()); public static final ImageIcon CONNECTED_ICON = new ImageIcon(new FileResource("Icons/BindingSelector/Connected.gif").getAbsolutePath()); public static final ImageIcon METHOD_ICON = new ImageIconResource("Icons/BindingSelector/Method.gif"); public static final ImageIcon TOGGLE_ARROW_BOTTOM_ICON = new ImageIconResource("Icons/BindingSelector/toggleArrowBottom.gif"); public static final ImageIcon TOGGLE_ARROW_BOTTOM_SELECTED_ICON = new ImageIconResource( "Icons/BindingSelector/toggleArrowBottomSelected.gif"); public static final ImageIcon TOGGLE_ARROW_TOP_ICON = new ImageIconResource("Icons/BindingSelector/toggleArrowTop.gif"); public static final ImageIcon TOGGLE_ARROW_TOP_SELECTED_ICON = new ImageIconResource("Icons/BindingSelector/toggleArrowTopSelected.gif"); public static final ImageIcon OK_ICON = new ImageIconResource("Icons/BindingSelector/OK.gif"); public static final ImageIcon WARNING_ICON = new ImageIconResource("Icons/BindingSelector/Warning.gif"); public static final ImageIcon ERROR_ICON = new ImageIconResource("Icons/BindingSelector/Error.gif"); // (expression editor) public static final ImageIcon IF_ICON = new ImageIconResource("Icons/BindingSelector/Operators/If.png"); public static final ImageIcon DIVISION_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Divider.gif"); public static final ImageIcon MULTIPLICATION_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Multiplication.gif"); public static final ImageIcon ADDITION_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Addition.gif"); public static final ImageIcon SUBSTRACTION_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Substraction.gif"); public static final ImageIcon EQUALS_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Equals.gif"); public static final ImageIcon NOT_EQUALS_ICON = new ImageIconResource("Icons/BindingSelector/Operators/NotEquals.gif"); public static final ImageIcon LESS_THAN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/LessThan.gif"); public static final ImageIcon LESS_THAN_OR_EQUALS_ICON = new ImageIconResource("Icons/BindingSelector/Operators/LessThanOrEquals.gif"); public static final ImageIcon GREATER_THAN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/GreaterThan.gif"); public static final ImageIcon GREATER_THAN_OR_EQUALS_ICON = new ImageIconResource( "Icons/BindingSelector/Operators/GreaterThanOrEquals.gif"); public static final ImageIcon AND_ICON = new ImageIconResource("Icons/BindingSelector/Operators/AND.gif"); public static final ImageIcon OR_ICON = new ImageIconResource("Icons/BindingSelector/Operators/OR.gif"); public static final ImageIcon NOT_ICON = new ImageIconResource("Icons/BindingSelector/Operators/NOT.gif"); public static final ImageIcon SIN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Sin.gif"); public static final ImageIcon ASIN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/ASin.gif"); public static final ImageIcon COS_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Cos.gif"); public static final ImageIcon ACOS_ICON = new ImageIconResource("Icons/BindingSelector/Operators/ACos.gif"); public static final ImageIcon TAN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Tan.gif"); public static final ImageIcon EXP_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Exp.gif"); public static final ImageIcon LOG_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Log.gif"); public static final ImageIcon ATAN_ICON = new ImageIconResource("Icons/BindingSelector/Operators/ATan.gif"); public static final ImageIcon POWER_ICON = new ImageIconResource("Icons/BindingSelector/Operators/Power.gif"); public static final ImageIcon SQRT_ICON = new ImageIconResource("Icons/BindingSelector/Operators/SQRT.gif"); // Misc public static final ImageIconResource LOCALIZATION_ICON = new ImageIconResource("Icons/Model/VPM/LocalizationIcon.png"); public static final ImageIcon DROP_OK_CURSOR = new ImageIconResource("Icons/Cursors/DropOKCursor.gif"); public static final ImageIcon DROP_KO_CURSOR = new ImageIconResource("Icons/Cursors/DropKOCursor.gif"); }