I need to create a custom shape like that one on figure
How can I do that?
Thank you.
In Visio 2013 Pro there is a Developer tool tab that allows you to modify existing shapes to create unique ones. You'll find these commands in the Operations drop down list of the Shape Design section on the Developer tab. If the Developer tab isn't in your ribbon bar, you can make it available by going to the Customize Ribbon section of the Visio Options screen.
the "Developer" tool tab exists in Visio 2010 Pro as well. it seems to be turned off out of the box.
go File->Options->Customize Ribbon to turn it on.
it makes a big difference when trying to build custom shapes.
I know how to create custom stencils and shapes....what I haven't been able to find out is if it's possible (and how) to have my custom stencil w/shapes show up by default in the Shapes window/menu.
I would like to avoid having to go to > More Shapes > My Shapes and rather just 'stick' my stencil in that menu by default.
Is this possible?
You can put your application's folder path in Visio's StencilPaths property, either through automation (Application.StencilPaths property) or through the UI (in the Advanced menu in the Options, click the File Locations button).
This won't open your stencil by default in Visio, but it makes it fairly easy to find. I can't tell by your question if this is what you're trying to avoid.
I suppose, you could also modify Visio's template files to add your stencil on, so no matter what your stencil is open for any new file.
Open stencils are something that's saved as part of a document's workspace settings. Ordinarily you would create a template that's saved with your stencil open. If the workspace option is included when saving, then subsequent documents (based on that template) will open with your stencil docked in position. Have a look at these two links for details:
Customizing Visio Templates
Create and use custom templates
The Netbeans GUI Editor offers "New -> JPanel form...", but how do I get a JScrollPane as top level component instead of the JPanel?
Of course, a JScrollPane could be put directly under a JPanel, but why using such an unnecessary level?
Yes! if you can follow these simple steps:
Let come in Tools->Templates->Swing GUI Forms
Duplicate the template "JPanel Form"
Rename the duplicate to "JScrollPane Form"
Open the duplicate in the editor
"javax.swing.JPanel" changed in "javax.swing.JScrollPane" ... save the file
Add a new Swing component to project (Wow! now on the list appear to us our new template file)
Chose this template and enjoy!
I am trying to develop an eclipse plugin that does some documentation check on java code and highlights some lines of code in the editor.
To achieve my goal, I DON'T want to create a new editor in eclipse, I simply want to extend the default java editor to draw a line under (or highlight) the methods that do not satisfy some set of predetermined requirements.
Do I need to create a PresentationReconciler? If yes, how do I make the JDT or workbench use my reconciler.
I have never done plugin development and this is my first attempt.
Several starting points for you:
Annotations are an UI feature of JFace's text editor that allows you to visually mark some places in an open editor.
Markers are a Workbench feature, more high-level. They are generic "objects that may be associated with Workbench resources", and they can display in several places: in text editors (as annotations) or in the Problems view, for example.
Depending on what you want to do, you would plug in your plug-in into extension points related to either of those.
The Eclipse Java editor is located in the org.eclipse.jdt.internal.ui.javaeditor.JavaEditor package.
The "internal" in the package name means that the Eclipse development team can change how the Java editor works with new revisions.
Try this help page: Juno Help on syntax highlighting
At the end of the page, it describes how to dynamically add a PresentationReconciler, which is used for syntax highlighting. See if that fits the problem that you want to solve.
I assume you already have a plugin project.
In your plugin.xml, open the tab Extensions, click Add..., search for org.eclipse.ui.editors, then you should see a template named Editor, which will produce a simple xml editor to experiment and play with. Also, you will be able to see the needed structure to define a custom editor.
Hope this helps...
I don't know if you still have a need for this, but you are going to want to use Annotations to keep track of what parts of the editor you need to highlight.
For actually doing the graphical effect of highlighting, you could do syntax highlighting via a PresentationReconciler, but I have no experience with that.
We used a technique we borrowed from http://editbox.sourceforge.net/, replacing the background image of the editor Shell. Its open source, so check it out. (Our code might also help -- its at https://github.com/IDE4edu/EclipseEditorOverlay )
I'm using UML 2.0 plugin on Eclipse for creating some activity diagrams. I would like to insert some split lines (the horizontal bold lines used for expressing concurrence) but I can't find the relative button in the Palette on the right. Also, I can't find any help on the web.
Thank you for any answer and sorry for my poor english.