Class ResourceChoiceBox

java.lang.Object
org.dawnsci.common.widgets.file.ResourceChoiceBox

public class ResourceChoiceBox extends Object
  • Constructor Details

    • ResourceChoiceBox

      public ResourceChoiceBox()
    • ResourceChoiceBox

      public ResourceChoiceBox(String path, boolean isDirectory)
  • Method Details

    • createContents

      public void createContents(org.eclipse.swt.widgets.Composite parent)
    • getFileLabel

      public String getFileLabel()
    • setFileLabel

      public void setFileLabel(String fileLabel)
    • isDirectory

      public boolean isDirectory()
    • setDirectory

      public void setDirectory(boolean directory)
    • isPathEditable

      public boolean isPathEditable()
    • setPathEditable

      public void setPathEditable(boolean pathEnabled)
    • pathChanged

      protected void pathChanged()
      Call to update, override to do custom update things.
    • getPath

      public String getPath()
    • getAbsoluteFilePath

      public String getAbsoluteFilePath()
    • setPath

      public void setPath(String path)
    • getIResource

      protected org.eclipse.core.resources.IResource getIResource()
    • setButtonsEnabled

      public void setButtonsEnabled(boolean enabled)
    • isNewFile

      public boolean isNewFile()
    • setNewFile

      public void setNewFile(boolean newFile)
    • handleResourceBrowse

      protected void handleResourceBrowse()
    • handleFileBrowse

      protected void handleFileBrowse()
    • setResource

      public void setResource(org.eclipse.core.resources.IResource res)