Package editor

Class GosuPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GosuPanel extends JPanel
See Also:
  • Constructor Details

    • GosuPanel

      public GosuPanel(JFrame frame)
  • Method Details

    • getTabSelectionHistory

      public NavigationHistory getTabSelectionHistory()
    • getExperimentView

      public ExperimentView getExperimentView()
    • getMessagesPanel

      public MessagesPanel getMessagesPanel()
    • getSearchPanel

      public SearchPanel getSearchPanel()
    • getConsolePanel

      public SystemPanel getConsolePanel()
    • getDebugPanel

      public DebugPanel getDebugPanel()
    • showMessages

      public MessagesPanel showMessages(boolean bShow)
    • showSearches

      public SearchPanel showSearches(boolean bShow)
    • showConsole

      public SystemPanel showConsole(boolean bShow)
    • showTab

      public <P extends JComponent> P showTab(boolean bShow, String title, Icon icon, P panel, Supplier<P> creator)
    • clearTabs

      public void clearTabs()
    • getExperiment

      public Experiment getExperiment()
    • restoreExperimentState

      public void restoreExperimentState(Experiment experiment)
    • setStatus

      public void setStatus(String status)
    • getCurrentGosuEditor

      public GosuEditor getCurrentGosuEditor()
    • getCurrentEditor

      public EditorHost getCurrentEditor()
    • getRunConfig

      public IRunConfig getRunConfig()
    • shipIt

      public void shipIt()
    • make

      public boolean make()
    • compile

      public boolean compile(Set<IType> types)
    • rebuild

      public boolean rebuild()
    • exit

      public void exit()
    • setEditorSplitPosition

      public void setEditorSplitPosition(int iPos)
    • setExperimentSplitPosition

      public void setExperimentSplitPosition(int iPos)
    • getGosuEditor

      public EditorHost getGosuEditor()
    • openFile

      public void openFile()
    • openFile

      public void openFile(Path file, boolean bFocus)
    • openType

      public boolean openType(String fqn, boolean bFocus)
    • makePartId

      public static IScriptPartId makePartId(Path file)
    • openInitialFile

      public void openInitialFile(IScriptPartId partId, Path file)
    • findTab

      public EditorHost findTab(Path file)
    • getCurrentFile

      public Path getCurrentFile()
    • save

      public boolean save()
    • save

      public boolean save(Path file, EditorHost editor)
    • saveIfDirty

      public boolean saveIfDirty()
    • refresh

      public void refresh(Path file)
      This should only be called when either the file's contents change externally, or when the file saves to disk.
    • newExperiment

      public void newExperiment()
    • openExperiment

      public void openExperiment()
    • openExperiment

      public void openExperiment(Path experimentDir)
    • saveAs

      public void saveAs()
    • dumpBytecode

      public void dumpBytecode()
    • execute

      public void execute(IRunConfig runConfig)
    • debug

      public void debug(IRunConfig runConfig)
    • isRunning

      public boolean isRunning()
    • isDebugging

      public boolean isDebugging()
    • getTypeNamesCache

      public TypeNameCache getTypeNamesCache()
    • addBusySignal

      public void addBusySignal(RunState runState)
    • pipeInput

      public void pipeInput()
    • killProcess

      public void killProcess()
    • getDebugger

      public Debugger getDebugger()
    • clearDebugger

      public void clearDebugger()
    • makeDebugger

      public void makeDebugger(com.sun.jdi.VirtualMachine vm)
    • jumptToBreakpoint

      public void jumptToBreakpoint(com.sun.jdi.Location location, boolean bFocus)
    • showDebugger

      public void showDebugger(boolean bShow)
    • getBreakpointManager

      public BreakpointManager getBreakpointManager()
    • getEditorTabPane

      public TabPane getEditorTabPane()
    • getOpenFilesInProject

      public List<FileTree> getOpenFilesInProject()
    • removeBusySignal

      public void removeBusySignal()
    • clearOutput

      public void clearOutput()
    • getUndoManager

      public AtomicUndoManager getUndoManager()
    • selectTab

      public void selectTab(Path file)
    • closeTab

      public void closeTab(Path file)
    • goBackward

      public void goBackward()
    • canGoBackward

      public boolean canGoBackward()
    • goForward

      public void goForward()
    • canGoForward

      public boolean canGoForward()
    • displayRecentViewsPopup

      public void displayRecentViewsPopup()
    • isDirty

      public boolean isDirty(EditorHost editor)
    • setDirty

      public void setDirty(EditorHost editor, boolean bDirty)
    • getClipboard

      public Clipboard getClipboard()