com.threerings.opengl
Class GlCanvasTool

java.lang.Object
  extended by com.threerings.expr.DynamicScope
      extended by com.threerings.opengl.GlApp
          extended by com.threerings.opengl.GlCanvasApp
              extended by com.threerings.opengl.GlCanvasTool
All Implemented Interfaces:
EditorContext, Scope, ScopeUpdateListener, AlContext, Enqueueable, GlContext, ActionListener, EventListener
Direct Known Subclasses:
InterfaceTester, ModelTool, TudeyTool

public abstract class GlCanvasTool
extends GlCanvasApp
implements EditorContext, ActionListener

A base class for the OpenGL tool applications.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
GlCanvasTool(String msgs)
          Creates a new tool application.
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 boolean shouldCheckTimestamps()
          Determines whether or not we should check resource file timestamps when we load them from the cache (in other words, whether we expect the files to be modified externally).
 
Methods inherited from class com.threerings.opengl.GlCanvasApp
createRoot, getCanvas, getFrame, getMouseRay, getPickRay, getRunQueue, makeCurrent, shutdown, startup
 
Methods inherited from class com.threerings.opengl.GlApp
createSnapshot, enqueue, getApp, getCameraHandler, getClipProvider, getColorPository, getCompatibilityMode, getCompositor, getConfigManager, getImageCache, getMessageManager, getRenderEffects, getRenderer, getRenderScheme, getResourceManager, getScope, getShaderCache, getSoundManager, getStreamGain, setCameraHandler, setCompatibilityMode, setRenderEffects, setRenderer, setRenderScheme, xlate
 
Methods inherited from class com.threerings.expr.DynamicScope
addListener, dispose, endCompoundUpdate, get, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate, wasUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.threerings.editor.util.EditorContext
getColorPository, getConfigManager, getMessageManager, getResourceManager
 

Constructor Detail

GlCanvasTool

public GlCanvasTool(String msgs)
Creates a new tool application.

Parameters:
msgs - the name of the application message bundle.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener

shouldCheckTimestamps

public boolean shouldCheckTimestamps()
Description copied from class: GlApp
Determines whether or not we should check resource file timestamps when we load them from the cache (in other words, whether we expect the files to be modified externally).



Copyright © 2011. All Rights Reserved.