#778 Updates Icon Manager to JavaFX. Resolves issue with displaying custom icons in alias editor. (#796)

Co-authored-by: Denny <denny@denny-desktop>
This commit is contained in:
Denny Sheirer
2020-05-06 08:08:05 +00:00
committed by GitHub
parent 2aff9ee817
commit 2723926f83
36 changed files with 1129 additions and 1051 deletions

View File

@@ -45,8 +45,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.ListIterator;
import java.util.Map;
/**
@@ -94,7 +92,7 @@ public class UserPreferencesEditor extends BorderPane
/**
* Shows the editor specified in the request by scrolling the editor view tree to the selected item.
*/
public void process(UserPreferenceEditorViewRequest request)
public void process(ViewUserPreferenceEditorRequest request)
{
if(request.getPreferenceType() != null)
{

View File

@@ -16,10 +16,12 @@
package io.github.dsheirer.gui.preference;
import io.github.dsheirer.gui.JavaFxWindowRequest;
/**
* Request to launch the preferences editor and scroll to a specific editor view
*/
public class UserPreferenceEditorViewRequest
public class ViewUserPreferenceEditorRequest extends JavaFxWindowRequest
{
private PreferenceEditorType mPreferenceType;
@@ -27,7 +29,7 @@ public class UserPreferenceEditorViewRequest
* Request to show the preference editor and focus the specified editor type control
* @param preferenceEditorType to focus
*/
public UserPreferenceEditorViewRequest(PreferenceEditorType preferenceEditorType)
public ViewUserPreferenceEditorRequest(PreferenceEditorType preferenceEditorType)
{
mPreferenceType = preferenceEditorType;
}
@@ -35,7 +37,7 @@ public class UserPreferenceEditorViewRequest
/**
* Request to simply show the preference editor without focusing any of the components
*/
public UserPreferenceEditorViewRequest()
public ViewUserPreferenceEditorRequest()
{
}