Home
last modified time | relevance | path

Searched refs:recentTextures (Results 1 – 4 of 4) sorted by relevance

/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/viewcontroller/
H A DTextureChoiceController.java168 …List<TextureImage> recentTextures = new ArrayList<TextureImage>(this.preferences.getRecentTextures… in addRecentTexture() local
169 for (int i = 0; i < recentTextures.size(); i++) { in addRecentTexture()
170 TextureImage recentTexture = recentTextures.get(i); in addRecentTexture()
175 recentTextures.remove(i); in addRecentTexture()
180 recentTextures.add(0, texture); in addRecentTexture()
182 while (recentTextures.size() > MAX_RECENT_TEXTURES) { in addRecentTexture()
183 recentTextures.remove(recentTextures.size() - 1); in addRecentTexture()
185 this.preferences.setRecentTextures(recentTextures); in addRecentTexture()
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/model/
H A DUserPreferences.java130 private List<TextureImage> recentTextures; field in UserPreferences
144 this.recentTextures = Collections.emptyList(); in UserPreferences()
1244 return Collections.unmodifiableList(this.recentTextures);
1251 public void setRecentTextures(List<TextureImage> recentTextures) {
1252 if (!recentTextures.equals(this.recentTextures)) {
1253 List<TextureImage> oldRecentTextures = this.recentTextures;
1254 this.recentTextures = new ArrayList<TextureImage>(recentTextures);
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/swing/
H A DTextureChoiceComponent.java617 List<TextureImage> recentTextures = preferences.getRecentTextures(); in updateRecentTextures() local
619 for (int i = 0; i < recentTextures.size(); i++) { in updateRecentTextures()
620 final TextureImage recentTexture = recentTextures.get(i); in updateRecentTextures()
645 this.recentTexturesPanel.setVisible(!recentTextures.isEmpty()); in updateRecentTextures()
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/io/
H A DFileUserPreferences.java708 List<TextureImage> recentTextures = new ArrayList<TextureImage>(); in readRecentTextures() local
719 recentTextures.add(new CatalogTexture(null, textureName, image, width, height, creator)); in readRecentTextures()
723 setRecentTextures(recentTextures); in readRecentTextures()