-
- All Known Subinterfaces:
PluginAccess
,PluginProxy
- All Known Implementing Classes:
AbstractPluginProxy
,BeanShellPluginProxy
,DummyPlugin
,JavaPluginProxy
,Plugin
,ReminderPluginProxy
public interface Marker
Objects which wants to mark programs must implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getId()
javax.swing.Icon
getMarkIcon()
javax.swing.Icon[]
getMarkIcons(Program p)
default int[]
getMarkPrioritiesForProgram(Program p)
int
getMarkPriorityForProgram(Program p)
Deprecated.since 4.2.2default int
getMarkPriorityMaxForProgram(Program p)
-
-
-
Method Detail
-
getId
java.lang.String getId()
- Returns:
- The id of this Marker.
-
getMarkIcon
javax.swing.Icon getMarkIcon()
- Returns:
- The default mark icon for this Marker
-
getMarkIcons
javax.swing.Icon[] getMarkIcons(Program p)
- Parameters:
p
- The program to check.- Returns:
- An array with icon to use for marking of the given program
or
null
if this Marker doesn't sets icons for the program. - Since:
- 2.5
-
getMarkPriorityForProgram
@Deprecated(since="4.2.2") int getMarkPriorityForProgram(Program p)
Deprecated.since 4.2.2Gets the mark priority that this Marker uses for the given program.The mark priority can be
- Parameters:
p
- The program to check.- Returns:
- The mark priority for the given program.
- Since:
- 2.5.1
-
getMarkPriorityMaxForProgram
default int getMarkPriorityMaxForProgram(Program p)
-
getMarkPrioritiesForProgram
default int[] getMarkPrioritiesForProgram(Program p)
-
-