Examples of onUpdate()


Examples of lcmc.common.ui.utils.MyMenu.onUpdate()

        for (final VolumeInfo dvi : resourceInfo.getDrbdVolumes()) {
            final MyMenu volumesMenu = menuFactory.createMenu(
                    dvi.toString(),
                    new AccessMode(AccessMode.RO, AccessMode.NORMAL),
                    new AccessMode(AccessMode.RO, AccessMode.NORMAL));
            volumesMenu.onUpdate(new Runnable() {
                @Override
                public void run() {
                    application.isSwingThread();
                    volumesMenu.removeAll();
                    final Collection<UpdatableItem> volumeMenus = new ArrayList<UpdatableItem>();
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenu.onUpdate()

                            }
                        }
                        return null;
                    }
                });
        repMenuItem.onUpdate(new Runnable() {
            @Override
            public void run() {
                repMenuItem.updateMenuComponents();
                final Cluster cluster = getHost().getCluster();
                final Host[] otherHosts = cluster.getHostsArray();
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenu.onUpdate()

                                        }
                                        return null;
                                    }
                                }
                            });
                    hostMenu.onUpdate(new Runnable() {
                        @Override
                        public void run() {
                            hostMenu.updateMenuComponents();
                            hostMenu.removeAll();
                            final Set<BlockDevInfo> blockDevInfos = oHost.getBrowser().getSortedBlockDevInfos();
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenu.onUpdate()

                            return Host.NOT_CONNECTED_MENU_TOOLTIP_TEXT;
                        }
                        return null;
                    }
                });
        hostAdvancedSubmenu.onUpdate(new Runnable() {
            @Override
            public void run() {
                hostAdvancedSubmenu.updateMenuComponents();
                hostDrbdInfo.getBrowser().addAdvancedMenu(hostAdvancedSubmenu);
                hostAdvancedSubmenu.processAccessMode();
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenuItem.onUpdate()

                                break;
                            }
                        }
                    }
                });
            mi.onUpdate(new Runnable() {
                @Override
                public void run() {
                    mi.setText1(LV_CREATE_MENU_ITEM
                             + bdis.iterator().next().getVGName());
                }
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenuItem.onUpdate()

                                break;
                            }
                        }
                    }
                });
        mi.onUpdate(new Runnable() {
            @Override
            public void run() {
                mi.setText1(LV_CREATE_MENU_ITEM + blockDevInfo.getVGName());
            }
        });
View Full Code Here

Examples of me.ashtheking.dragons.meta.Fireball.onUpdate()

        entityfireball.posX = dragonHead.posX + vec3d.xCoord * d8;
        entityfireball.posY = dragonHead.posY - 2;
          //  + (double) (dragonHead.height / 2.0F) + 0.5D;
        entityfireball.posZ = dragonHead.posZ + vec3d.zCoord * d8;
        for (int x = 0; x < 3; x++)
          entityfireball.onUpdate();
       
        entityfireball.motionX *= 2;
        entityfireball.motionY *= 2;
        entityfireball.motionZ *= 2;
     
View Full Code Here

Examples of me.ashtheking.dragons.mob.helper.AshDragonPart.onUpdate()

          * 1.0F;
      float f14 = MathHelper.sin(f13);
      float f15 = MathHelper.cos(f13);
      float f16 = 1.5F;
      float f17 = (float) (j + 1) * 2.0F;
      AshDragonPart.onUpdate();
      AshDragonPart
          .setLocationAndAngles(
              posX - (double) ((f8 * f16 + f14 * f17) * f5),
              ((posY + (ad2[1] - ad[1]) * 1.0D) - (double) ((f17 + f16) * f6)) + 1.5D,
              posZ + (double) ((f9 * f16 + f15 * f17) * f5),
 
View Full Code Here

Examples of net.minecraft.client.particle.EntityFX.onUpdate()

        for (Iterator<CoreParticle> it = particles.iterator(); it.hasNext();)
        {
            EntityFX particle = it.next();

            particle.onUpdate();

            if (particle.isDead) it.remove();
        }
        Minecraft.getMinecraft().mcProfiler.endSection();
    }
View Full Code Here

Examples of net.minecraft.entity.Entity.onUpdate()

          continue;
        }

        try {
          ++weatherEffect.ticksExisted;
          weatherEffect.onUpdate();
        } catch (Throwable t) {
          Log.severe("Failed to tick weather " + Log.toString(weatherEffect), t);
        }

        if (weatherEffect.isDead) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.