Tabnine Logo
ActionViewConverter.getConverter
Code IndexAdd Tabnine to your IDE (free)

How to use
getConverter
method
in
bibliothek.gui.dock.action.view.ActionViewConverter

Best Java code snippets using bibliothek.gui.dock.action.view.ActionViewConverter.getConverter (Showing top 2 results out of 315)

origin: org.opentcs.thirdparty.dockingframes/docking-frames-core

/**
 * Creates and sets up a new view.
 * @param <A> the type of the view
 * @param <D> the type of action to convert
 * @param type the type of action
 * @param action the action for which a view is created
 * @param target the target platform, where the view will be shown
 * @param dockable the Dockable for which the action is used
 * @return the new view or <code>null</code> if nothing should be shown
 * @throws IllegalArgumentException if an unknown argument is used
 */
public <A, D extends DockAction> A createView( ActionType<D> type, D action, ViewTarget<A> target, Dockable dockable ){
  ViewGenerator<D,A> converter = getConverter( type, target );
  if( converter == null )
    throw new IllegalArgumentException( "That combination is not known: " + type + " " + target );
  
  return converter.create( this, action, dockable );
}

origin: xyz.cofe/docking-frames-core

/**
 * Creates and sets up a new view.
 * @param <A> the type of the view
 * @param <D> the type of action to convert
 * @param type the type of action
 * @param action the action for which a view is created
 * @param target the target platform, where the view will be shown
 * @param dockable the Dockable for which the action is used
 * @return the new view or <code>null</code> if nothing should be shown
 * @throws IllegalArgumentException if an unknown argument is used
 */
public <A, D extends DockAction> A createView( ActionType<D> type, D action, ViewTarget<A> target, Dockable dockable ){
  ViewGenerator<D,A> converter = getConverter( type, target );
  if( converter == null )
    throw new IllegalArgumentException( "That combination is not known: " + type + " " + target );
  
  return converter.create( this, action, dockable );
}

bibliothek.gui.dock.action.viewActionViewConvertergetConverter

Javadoc

Searches a converter for the given action and target.

Popular methods of ActionViewConverter

  • createView
    Creates and sets up a new view. This method does nothing more than calling the method DockAction#cre
  • putTheme
  • putDefault
    Registers a new ViewGenerator to this ActionViewConverter. The generator will have the low priority.
  • getEntry
    Searches an entry for the given action and target.
  • <init>
    Creates a new ActionViewConverter

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now