Search in sources :

Example 16 with MyGameSetFeatures

use of jack.rm.data.romset.MyGameSetFeatures in project rom-manager by Jakz.

the class SetInfoPanel method updateFields.

public void updateFields(GameSet set) {
    this.set = set;
    MyGameSetFeatures helper = set.helper();
    Settings settings = helper.settings();
    model.purgeCache();
    model.fireTableDataChanged();
    if (settings.romsPath != null)
        romsPathButton.setPath(settings.romsPath);
    else
        romsPathButton.clear();
}
Also used : MyGameSetFeatures(jack.rm.data.romset.MyGameSetFeatures) Settings(jack.rm.data.romset.Settings)

Aggregations

MyGameSetFeatures (jack.rm.data.romset.MyGameSetFeatures)16 GameSet (com.github.jakz.romlib.data.set.GameSet)8 Settings (jack.rm.data.romset.Settings)7 Dimension (java.awt.Dimension)6 Game (com.github.jakz.romlib.data.game.Game)5 Attribute (com.github.jakz.romlib.data.game.attributes.Attribute)5 GameAttribute (com.github.jakz.romlib.data.game.attributes.GameAttribute)5 Feature (com.github.jakz.romlib.data.set.Feature)5 Main (jack.rm.Main)5 GameSetManager (jack.rm.data.romset.GameSetManager)5 BorderLayout (java.awt.BorderLayout)5 Arrays (java.util.Arrays)5 List (java.util.List)5 JMenuItem (javax.swing.JMenuItem)5 Asset (com.github.jakz.romlib.data.assets.Asset)4 RomAttribute (com.github.jakz.romlib.data.game.attributes.RomAttribute)4 PluginRealType (jack.rm.plugins.PluginRealType)4 Color (java.awt.Color)4 ActionEvent (java.awt.event.ActionEvent)4 ActionListener (java.awt.event.ActionListener)4